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. Each shop (one column of the table) gives one constraint.
Step 1 — Choose the decision variables.
Let the firm produce x gadgets of type A and y gadgets of type B per week.
Step 2 — Write the objective function.
The profit is ₹ 30 on each A and ₹ 20 on each B, so the weekly profit (in ₹) is
Z=30x+20y
This profit is to be maximized.
Step 3 — Write the foundry constraint.
In the foundry each A needs 10 man-hours and each B needs 6, and 1000 man-hours are available per week.
10x+6y≤1000
Step 4 — Write the machine-shop constraint.
In the machine shop each A needs 5 man-hours and each B needs 4, and 600 man-hours are available per week.
5x+4y≤600
Step 5 — Add the non-negativity conditions.
The numbers of gadgets cannot be negative.
x≥0,y≥0
Step 6 — Collect the LPP.
We write the objective function and the constraints together.
Maximize Zsubject to 10x+6y5x+4yx≥0, y=30x+20y≤1000≤600≥0
Therefore, the LPP is: maximize Z=30x+20y subject to 10x+6y≤1000, 5x+4y≤600, x≥0 and y≥0.