A furniture manufacture makes two products: chairs and tables. Processing of these products is done on two machines A and B. A chair requires 2 hours on machine A and 6 hours on machine B. A table requires 5 hours on machine A and no time on machine B. There are 16 hours per day available on machine A and 30 hours on machine B. Profit gained by the manufacturer from a chair and a table is Rs. 2 and Rs. 10, respectively. Formulate this problem as a linear programming problem to maximize the total profit of the manufacturer.
The data can be tabulated as follows:
| Machine | Chair | Table | Available time |
|---|---|---|---|
| A | 2 hours | 5 hours | 16 hours |
| B | 6 hours | 0 | 30 hours |
| Profit per unit | Rs. 2 | Rs. 10 |
This is a resource-allocation linear programming problem. We define variables (chairs) and (tables), write the objective as , and impose constraints from machine hours: (machine A), (machine B), with . The formulation is complete.
The core idea here is that a manufacturer has limited machine hours (resources) and wants to decide how many chairs and tables to produce so that profit is as large as possible. Linear programming gives us a mathematical way to express this: we choose non-negative quantities of each product, subject to the time limits on each machine, to maximize a linear profit function.
Let’s build it step by step.
-
Define the decision variables.
Let = number of chairs produced per day.
Let = number of tables produced per day.
These are the quantities we can control. They cannot be negative, so , .
-
Write the objective function.
Profit from one chair is Rs. 2, from one table is Rs. 10.
Total profit (in Rs.) is:
We want to maximize .
- Formulate the constraints from machine A. Each chair uses 2 hours on machine A, each table uses 5 hours. Total hours used on A cannot exceed 16.
- Formulate the constraints from machine B. Each chair uses 6 hours on machine B, each table uses 0 hours. Total hours on B cannot exceed 30.
This simplifies to .
- Non-negativity constraints. Already noted: , .
A common mistake is to forget that tables use zero hours on machine B — that’s fine, it just means machine B doesn’t limit table production. Also, do not write as without keeping the original form; either is acceptable, but the original form is clearer for the LPP.
- Assemble the complete LPP. Maximize
subject to
Notice that the profit per table is five times that per chair, but a table uses more of machine A and none of machine B. The optimal solution will likely involve making as many tables as machine A allows, then using remaining A-time and all of B for chairs. This intuition is exactly what the graphical method or simplex will confirm later.
The linear programming problem is: maximize subject to , , , .
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.