Beruflich Dokumente
Kultur Dokumente
Math 1010
The linear programming model can be used in everyday life. Besides sales, it can be used
“In order to ensure optimal health (and thus accurate test results), a lab technician needs
to feed the rabbits a daily diet containing a minimum of 24 grams (g) of fat, 36 g of
carbohydrates, and 4 g of protein. But the rabbits should be fed no more than five ounces of food
a day. Rather than order rabbit food that is custom-blended, it is cheaper to order Food X and
Food Y, and blend them for an optimal mix. Food X contains 8 g of fat, 12 g of carbohydrates,
and 2 g of protein per ounce, and costs $0.20 per ounce. Food Y contains 12 g of fat, 12 g of
carbohydrates, and 1 g of protein per ounce, at a cost of $0.30 per ounce. What is the optimal
blend?” (Stapel). We cannot have negative amounts of food, so the two obvious constraints are
𝑥 ≥ 0 and 𝑦 ≥ 0. Another constraint is the maximum amount of food that the rabbits can eat,
which is 5 ounces (𝑥 + 𝑦 ≥ 5). The remaining constraints are from the fat (8𝑥 + 12𝑦 ≥ 24),
carbs (12𝑥 + 12𝑦 ≥ 36), and protein (2𝑥 + 𝑦 ≥ 4) per ounce. The optimization equation would
be 𝐶 (𝑐𝑜𝑠𝑡) = 0.2𝑥 + 0.3𝑦. Once graphed, we are looking for the minimum value, which would
Another way we can use the linear programming model is for investments. For example,
“you have $12,000 to invest, and three different funds from which to choose. The municipal
bond fund has a 7% return, the local bank's CDs have an 8% return, and the high-risk account
has an expected (hoped-for) 12% return. To minimize risk, you decide not to invest any more
than $2,000 in the high-risk account. For tax reasons, you need to invest at least three times as
much in the municipal bonds as in the bank CDs. Assuming the year-end yields are as expected,
what are the optimal investment amounts?” (Stapel). We aren’t able to invest negative amounts
of money, so the first two constraints are 𝑥 ≥ 0 and 𝑦 ≥ 0. The amount (in thousands) that we
can invest in a high-risk account is 12 − 𝑥 − 𝑦. This amount cannot be negative, so that gives us
𝑦 ≤ −𝑥 + 12. The max we can invest in the high-risk is $2,000, which would give us the
constraint of 𝑦 ≥ −𝑥 + 10. The last constraint is the tax requirement, 𝑦 ≤ (1/3)𝑥. The
simplified would be 𝑌 = 1.44 − 0.05𝑥 − 0.04𝑦. Once graphed, and tested, we would find that
we would get the best return of $965 when investing $7,500 in municipal bonds $2,500 in CDs,
We can use the linear programming model in something as simple as maximizing storage
space as well. “You need to buy some filing cabinets. You know that Cabinet X costs $10 per
unit, requires six square feet of floor space, and holds eight cubic feet of files. Cabinet Y costs
$20 per unit, requires eight square feet of floor space, and holds twelve cubic feet of files. You
have been given $140 for this purchase, though you don't have to spend that much. The office
has room for no more than 72 square feet of cabinets. How many of which model should you
buy, in order to maximize storage volume?” (Stapel). The easiest and most obvious constraints,
1
as always, are 𝑥 ≥ 0 and 𝑦 ≥ 0. Then we have the cost (𝑦 ≤ − (2) 𝑥 + 7, when simplified), and
3
space (𝑦 ≤ − ( ) 𝑥 + 9, when simplified). The optimization equation will be 𝑉 (𝑣𝑜𝑙𝑢𝑚𝑒) =
4
8𝑥 + 12𝑦. Once graphed, we can find that we get the maximum volume of 100 cubic feet with
https://www.purplemath.com/modules/linprog3.htm.