A housewife wishes to mix two types of food and in such a way that the vitamins contents of mixture contain at least 8 units of vitamin and 11 units of vitamin , food costs ₹ 60/kg and food costs ₹ 80/kg. Food contains 3 units/kg of vitamin and 5 units/kg of vitamin while food contains 4 units/kg of vitamin and 2 units/kg of vitamin . Formulate the above problem as a linear programming problem to minimize the cost of mixture.
Linear Programming · Question 10 of 47
A housewife wishes to mix two types of food F₁ and F₂ in such a way that the vitamins contents of mixture contain at…
Solution:
Key idea: A linear programming problem (LPP) has three parts: the decision variables (the quantities we choose), a linear objective function to be maximized or minimized, and linear constraints (the restrictions, including non-negativity). We build each part from the words of the question. Since the prices and vitamin contents are per kg, we measure both foods in kg.
Step 1 — Choose the decision variables.
Let the mixture contain kg of food and kg of food .
Step 2 — Write the objective function.
Food costs ₹ 60 per kg and costs ₹ 80 per kg, so the cost of the mixture (in ₹) is
This cost is to be minimized.
Step 3 — Write the vitamin A constraint.
The mixture gives units of vitamin , and at least 8 units are needed.
Step 4 — Write the vitamin B constraint.
The mixture gives units of vitamin , and at least 11 units are needed.
Step 5 — Add the non-negativity conditions.
The amounts of food cannot be negative.
Step 6 — Collect the LPP.
We write the objective function and the constraints together.
Therefore, the LPP is: minimize subject to , , and .
