Janet Terwilliger is a college student and has set a budget of $120 per month for food. She wants to get a certain level of nutritional benefits from the food she has selected to buy. The following table lists the types of food she may buy, along with the nutritional information per serving of that food.
|
Carbohydrates |
Protein |
Potassium |
Calories |
Cost |
|
|
Pizza |
38 g. |
10 g. |
0 |
500 |
$3.99 |
|
Tuna |
1 g. |
13 g. |
0 |
60 |
1.29 |
|
Cereal |
35 g. |
7 g. |
120 mg. |
190 |
0.93 |
|
Macaroni & cheese |
23 g. |
3 g. |
110 mg. |
110 |
2.12 |
|
Spaghetti |
42 g. |
8 g. |
100 mg. |
210 |
3.42 |
|
Recommended daily allowance |
50 g. |
10 g. |
100 mg. |
2,000 |
Write the objective function and constraints to minimize the cost and yet meet the recommended daily nutritional allowances.