A diet is to contain atleast 80 units of vitamin A and 100 units of minerals. Two foods F1 and F2 are available. Food F1 costs Rs. 4 per unit and food F2 costs Rs. 6 per unit. One units of food F1 contains at 3 units of vitamin A and 4 units of minerals. One unit of food F2 contains 6 units of vitamin A and 3 units of minerals. Formulate this as a linear programming problem. Find the minimum cost for diet that consists of mixture of these two foods and also meets the minimal nutritional requirements.
Let the diet contains x unit of food F1 and y units of food F2.
We construct the following table :
TypeNumberVitamin A perMinerals per unitCostunit(in Rs.)F1x3x4x4xF2y6y3y6yTotalx+y3x+6y4x+3y4x+6y
The cost of food F1 is Rs. 4 per unit and of food F2 is Rs. 6 per unit.
So, our problem is to minimize Z = 4x + 6y .....(i)
Subject to constraints 3x+6y≥80 ........(ii)
4x+3y≥100 .........(iii)
x≥0, y≥0 .........(iv)
Firstly, draw the graph of the line 3x + 6y = 80
x0803y4030
Putting (0, 0) in the inequality 3x+6y≥80, we have 3×0+6×0≥80⇒0≥80 (which is false)
So, the half plane is away from the origin.
Since, x, y ≥ 0
So, the feasible region lies in the first quadrant.
Secondly, draw the graph of the line 4x+3y=100
x025y10030
Putting (0, 0) in the inequality 4x + 3y ≥ 100, we have
4×0+3×0≥100⇒0≥100 (which is false)
So, the half plane is away from the origin.
On solving the equations 3x+6y=80 and 4x + 3y = 100, we get B(24,43)
It can be seen that the feasible region is unbounded.
The corner points of the feasible region are A(803,0), B(24,43) and (0,1003). The values of Z at these points are as follows :
Corner pointZ=4x+6yA(803,0)3203=106.67B(24, 43)104→MinimumC(0, 1003)200
As the feasible is unbounded therefore, 104 may or may not be the minimum value of Z.
For this, we draw a graph of the inequality, 4x+6y<104 or 2x+3y<52 and check, whether the resulting half plane has points in common with the feasible region or not.
It can be seen that the feasible region has no common point with 2x+2y<52
Therefore, the minimum cost of the mixture will be Rs. 104.