Vitamins and are found in foods and . One unit of food contains 20 units of vitamin and 30 units of vitamin . One unit of food contains 60 units of vitamin and 40 units of vitamin . 1 unit of each of foods and cost ₹ 3 and ₹ 4, respectively. The minimum daily requirement (for a person) of vitamins and is 80 units and 100 units, respectively. Assuming that anything in excess of daily minimum requirements of vitamin and is not harmful, find out the optimum mixture of foods and at the minimum cost which meets the daily minimum requirements of vitamins and . Formulate the above problem as a LP problem.
Linear Programming · Question 9 of 47
Vitamins A and B are found in foods F₁ and F₂ .
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. A minimum daily requirement gives a "" constraint.
Step 1 — Choose the decision variables.
Let the mixture contain units of food and units of food .
Step 2 — Write the objective function.
One unit of costs ₹ 3 and one unit of costs ₹ 4, so the cost (in ₹) is
This cost is to be minimized.
Step 3 — Write the vitamin A constraint.
The mixture gives units of vitamin , and at least 80 units are needed.
Dividing by 20 gives the same condition in a simpler form.
Step 4 — Write the vitamin B constraint.
The mixture gives units of vitamin , and at least 100 units are needed.
Dividing by 10 gives the simpler form.
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 (that is, ), (that is, ), and .
