プリンキピア

第5章代数

5.11 Linear Programming5.11 線形計画法

The debris of destroyed buildings after an earthquake and tsunami.
Figure 5.98図5.98
The aftermath of an earthquake and tsunami. (credit: modification of work "Earthquake and Tsunami Japan" by Climate and Ecosystems Change Adaptation Research University Network/Flickr, CC BY 2.0)
英語のヒント
地震と津波の爪あと。(出典:Climate and Ecosystems Change Adaptation Research University Network/Flickr の “Earthquake and Tsunami Japan” を改変、CC BY 2.0)

Learning Objectives学習目標

After completing this section, you should be able to:
英語のヒント
この節を終えると、次のことができるようになる。
  1. Compose an objective function to be minimized or maximized.
    英語のヒント
    最小化または最大化する目的関数を立てる。
  2. Compose inequalities representing a system application.
    英語のヒント
    連立の応用問題を表す不等式を立てる。
  3. Apply linear programming to solve application problems.
    英語のヒント
    線形計画法を当てはめて応用問題を解く。
Imagine you hear about some natural disaster striking a far-away country; it could be an earthquake, a fire, a tsunami, a tornado, a hurricane, or any other type of natural disaster. The survivors of this disaster need help—they especially need food, water, and medical supplies. You work for a company that has these supplies, and your company has decided to help by flying the needed supplies into the disaster area. They want to maximize the number of people they can help. However, there are practical constraints that need to be taken into consideration; the size of the airplanes, how much weight each airplane can carry, and so on. How do you solve this dilemma? This is where linear programming comes into play. Linear programming is a mathematical technique to solve problems involving finding maximums or minimums where a linear function is limited by various constraints.
英語のヒント
遠い国を自然災害が襲ったと聞いたとしよう。それは地震かもしれないし、火事、津波、竜巻、ハリケーン、そのほかどんな種類の自然災害でもありうる。この災害の生存者は助けを必要としている。とくに食料、水、医療用品が必要である。あなたはこれらの物資をもつ会社で働いていて、会社は必要な物資を被災地に空輸して助けることに決めた。会社は、助けられる人の数を最大にしたい。しかし、考慮しなければならない実際的な制約がある。飛行機の大きさ、それぞれの飛行機がどれだけの重さを運べるかなどである。この難題をどう解くか。ここで線形計画法の出番になる。線形計画法とは、一次関数がさまざまな制約で制限されているときに、最大値や最小値を求めることにかかわる問題を解く、数学の技法である。
As a field, linear programming began in the late 1930s and early 1940s. It was used by many countries during World War II; countries used linear programming to solve problems such as maximizing troop effectiveness, minimizing their own casualties, and maximizing the damage they could inflict upon the enemy. Later, businesses began to realize they could use the concept of linear programming to maximize output, minimize expenses, and so on. In short, linear programming is a method to solve problems that involve finding a maximum or minimum where a linear function is constrained by various factors.
英語のヒント
分野としての線形計画法は、1930年代の終わりから1940年代の初めに始まった。第二次世界大戦中には多くの国が使った。各国は、部隊の効果を最大にする、自国の死傷者を最小にする、敵に与えられる損害を最大にするといった問題を解くのに線形計画法を使った。その後、企業が、生産量を最大にしたり、出費を最小にしたりするのに線形計画法の考え方を使えることに気づき始めた。要するに、線形計画法とは、一次関数がさまざまな要因で制約されているときに、最大値や最小値を求めることにかかわる問題を解く方法である。

Compose an Objective Function to Be Minimized or Maximized最小化または最大化する目的関数を立てる

An objective function is a linear function in two or more variables that describes the quantity that needs to be maximized or minimized.
英語のヒント
目的関数とは、最大化または最小化する必要がある量を表す、2つ以上の変数の一次関数である。
Example 5.96例題 5.96

Composing an Objective Function for Selling Two Products2つの製品を売るための目的関数を立てる

Miriam starts her own business, where she knits and sells scarves and sweaters out of high-quality wool. She can make a profit of $8 per scarf and $10 per sweater. Write an objective function that describes her profit.
英語のヒント
ミリアムは、上質のウールでスカーフとセーターを編んで売る自分の商売を始める。スカーフ1枚あたり8ドル、セーター1枚あたり10ドルの利益を出せる。利益を表す目的関数を書け。
Solution解答
Let x represent the number of scarves sold, and let y represent the number of sweaters sold. Let P represent profit. Since each scarf has a profit of $8 and each sweater has a profit of $10, the objective function is P=8x+10y.
英語のヒント
売れたスカーフの数をx、売れたセーターの数をyで表す。利益をPで表す。スカーフ1枚の利益は8ドル、セーター1枚の利益は10ドルなので、目的関数はP=8x+10yである。
Example 5.97例題 5.97

Composing an Objective Function for Production生産のための目的関数を立てる

William’s factory produces two products, widgets and wadgets. It takes 24 minutes for his factory to make 1 widget, and 32 minutes for his factory to make 1 wadget. Write an objective function that describes the time it takes to make the products.
英語のヒント
ウィリアムの工場は、ウィジェットとワジェットという2つの製品を生産する。工場がウィジェットを1個作るのに24分、ワジェットを1個作るのに32分かかる。製品を作るのにかかる時間を表す目的関数を書け。
Solution解答
Let x equal the number of widgets made; let y equal the number of wadgets made; let T represent total time. The objective function is T=24x+32y.
英語のヒント
xを作ったウィジェットの数、yを作ったワジェットの数とし、Tで合計の時間を表す。目的関数はT=24x+32yである。