The doctor advises a patient visited him that the patient is weak in his health due to shortage of two vitamins, i.e., vitamin A and vitamin D. He advises him to take at least 40 units of vitamin A and 50 units of Vitamin D every day. He also advises that these vitamins are available in two tonics X and Y. Each unit of tonic X consists of two units of vitamin A and three units of vitamin D. Each unit of tonic Y consists of four units of vitamin A and two units of vitamin D. Tonic X and Y are available in the medical shop at a cost of Birr three per unit of X and Birr 2.50 per unit of Y. The patient has to fulfill the need of vitamin by consuming X and Y at a minimum cost.
a. Formulate the primal linear programming model for the patient’s problem and solve the problem using the simplex method
b. Indicate the range over which objective function coefficient of basic decision variables can change without changing their optimal values.
Answer
Let us first add the table
Let the variables and represent units of tonic and respectively.
The total cost of diet consisting of units of and units of is given by,
Since, the tonics and cost Rs 5 per unit and Rs. 3 per unit respectively.
Now, total amount of vitamin A required for the tonic and is .
Total amount of vitamin D required for the tonic and is .
Again, Since, the minimum daily requirement of vitamin A is 40 units and that of vitamin B is 50 units, therefore must have,
and
Also since, and are either positive or zero, we should have
Hence, the formulation of the L.P.P. is
minimize
Subjected to
Comments