3 5-5
3 5-5
Required:
a. Formulate a linear programming model
b. Display the model on an Excel Spreadsheet
c. Use the spreadsheet to check if (x1, x2, x3) = (1, 2, 2) is a feasible solution and, if so,
what daily cost would be for this diet. How many units of each nutritional ingredient
would this diet provide daily?
d. Take a few minutes to use a trial and error approach with the spreadsheet to develop
your best guess for the optimal solution. What is the daily cost for your solution?
Solution:
a. Linear Programming Model
Let x1 = quantities of corn feed
Subject to constraints:
90x1 + 20x 2 + 40x 3 200
x1 , x 2 , x 3 0
As shown in the result of the Excel Solver, the quantities of corn, tankage and alfafa
feed types needed were 1.143, 0, and 2.429, respectively. Since the optimal value is the
largest or smallest value of the objective function, it constitutes an optimal solution, which
is $241.714.
c. (x1, x2, x3) = (1, 2, 2) is a feasible solution with a daily cost of $348. This diet provide
210 kg of carbohydrates, 310 kg of protein, and 170 kg of vitamins daily.