Assignment3_LP_with solution_
Assignment3_LP_with solution_
5) Decreasing the right-hand side value of a constraint will always change the optimal
solution.
As a result of this change, the feasible region got smaller. Profit decreased by $20.
If the right hand side of constraint 1 goes below 6, the new optimal X2 will stay at 0, and optimal X1 will be smaller than 6.
In addition, the other constraint, X1 <=6, becomes redundant.
Problem 5 (College Mean Plan)
(Use Excel Solver) Kathy Roniger, campus dietitian for a small Idaho college, is responsible for
formulating a nutritious meal plan for students. For an evening meal, she feels that the following five
meal-content requirements should be met: (1) between 900 and 1,500 calories; (2) at least 4 miligrams
of iron; (3) no more than 50 grams of fat; (4) at least 26 grams of protein; and (5) no more than 50
grams of carbohydrates. On a particular day, Roniger’s food stock includes seven items that can be
prepared and served for supper to meet these requirements. The cost per pound for each food item
and the contribution to each of the five nutritional requirements are given in the table below.
What combination and amounts of food items will provide the nutrition Roniger requires at the least
total food cost?
(a) Formulate this as an LP problem, put it in Excel and use the Solver to solve it.
(c) Generate the sensitivity report in excel and explain how would an increase in milk price by 10
cents/lb impact your decision.
(d) How much can you change the milk price before the optimal solution changes?
Solutions:
(a) Minimize total cost = $0.60X1 + 2.35X2 + 1.15X3 + 2.25X4 + 0.58X5 + 1.17X6 + 0.33X7
subject to
295X1 + 1,216X2 + 394X3 +358X4 + 128X5+ 118X6 + 279X7 1,500
295X1 + 1,216X2 + 394X3 +358X4 + 128X5+ 118X6 + 279X7 900
.2X1 + .2X2 + .4.3X3 + 3.2X4 + 3.2X5 + 14.1X6 + 2.2X7 4
16X1 + 96X2 + 9X3 + 0.5X4 + 0.8X5+ 1.4X6 + 0.5X7 50
16X1 + 81X2 + 74X3 + 83X4 + 7X5+ 14X6 + 8X7 26
22X1 + 28X5 + 19X6 + 63X7 50
All Xi 0
Solutions from computer:
The meal plan for the evening is
No milk (X1 = 0)
0.499 pound of ground meat (X2)
0.173 pound of chicken (X3)
No fish (X4 = 0)
No beans (X5 = 0)
0.105 pound of spinach (X6)
0.762 pound of white potatoes (X7)
(b) Each meal has a cost of $1.75.
(c) Milk increases 10 cents/lb: no change in price or diet.
(d) Decrease the coefficient by $0.14