A dealer wishes to purchase a number of geysers and fans. He has only ₹ 57,600 to invest and has space for at most 20 items. A geyser costs him ₹ 3600 and a fan ₹ 2400. His expectation is that he can sell a geyser at a profit of ₹ 220 and a fan at a profit of ₹ 180. Assuming that he can sell all the items he can buy, formulate it as an LPP to maximize his profit?
Linear Programming · Question 1 of 47
A dealer wishes to purchase a number of geysers and fans.
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.
Step 1 — Choose the decision variables.
Let the dealer buy geysers and fans. These are the two numbers the dealer is free to choose.
Step 2 — Write the objective function.
Each geyser gives a profit of ₹ 220 and each fan a profit of ₹ 180, so the total profit (in ₹) is
The dealer wants this profit to be as large as possible, so is to be maximized.
Step 3 — Write the money constraint.
The geysers cost ₹ 3600 each and the fans ₹ 2400 each, and the dealer has only ₹ 57,600, so the total cost cannot exceed 57,600.
Dividing every term by 1200 (a positive number, so the inequality sign stays the same) gives smaller numbers.
Step 4 — Write the space constraint.
There is space for at most 20 items in all, so the total number of geysers and fans is at most 20.
Step 5 — Add the non-negativity conditions.
The dealer cannot buy a negative number of items, so both variables are at least zero.
Step 6 — Collect the LPP.
We now write the objective function and all the constraints together.
Therefore, the LPP is: maximize subject to , , and .
