Q.A company has two grades of inspectors, I and II to undertake quality control inspection. At least 1,500 pieces must be inspected in an 8-hour day. Grade I inspector can check 20 pieces in an hour with an accuracy of 96%. Grade II inspector checks 14 pieces an hour with an accuracy of 92%. Wages of grade I Inspector are Rs. 5 per hour while those of Grade II Inspector are Rs. 4 per hour. Any error made by Inspector costs Rs. 3 to the company. If there are, in all, 10 grade I inspectors and 15 Grade II inspectors in the company, find the optimal assignment of inspectors that minimizes the daily inspection cost. Formulate the above problem as linear programming problem.
You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
Start your 14-day free trial to unlock the full solution →We model the inspector-assignment problem by defining decision variables for the number of inspectors of each grade, then minimize total cost (wages + error penalties) subject to minimum inspection throughput and availability constraints. The LPP has two variables (, ), one objective function combining wage and error costs, and three constraints (inspection requirement, grade I availability, grade II availability).
Why Linear Programming Captures This Problem
The company faces a resource-allocation decision: how many inspectors of each grade should work to meet the inspection quota while keeping costs down. Costs come from two sources—wages paid and penalties for errors—and both scale linearly with the number of inspectors assigned. The constraints (minimum pieces inspected, maximum inspectors available) are also linear inequalities. This structure is exactly what linear programming handles: optimize a linear objective over a feasible region defined by linear constraints.
The key insight is to express the total daily cost per inspector type as the sum of wage cost and expected error cost, then multiply by the number of inspectors assigned.
Step-by-Step Formulation
1. Define the decision variables
Let = number of Grade I inspectors assigned for the day.
Let = number of Grade II inspectors assigned for the day.
Both and must be non-negative and, in practice, integers (though the LPP formulation itself treats them as continuous; integer constraints would make it an ILP).
2. Calculate the inspection throughput constraint
Each Grade I inspector works 8 hours and checks 20 pieces/hour, so one Grade I inspector inspects pieces per day.
Each Grade II inspector works 8 hours and checks 14 pieces/hour, so one Grade II inspector inspects pieces per day.
The company requires at least 1,500 pieces inspected daily:
3. Determine the cost structure
Wage cost:
Grade I: Rs. 5/hour 8 hours = Rs. 40 per inspector per day.
Grade II: Rs. 4/hour 8 hours = Rs. 32 per inspector per day.
Error cost:
Grade I has 96% accuracy, so 4% of pieces are incorrectly inspected. Each error costs Rs. 3.
One Grade I inspector inspects 160 pieces/day, so expected errors = pieces.
Error cost per Grade I inspector per day = .
Grade II has 92% accuracy, so 8% error rate.
One Grade II inspector inspects 112 pieces/day, so expected errors = pieces.
Error cost per Grade II inspector per day = .
Total daily cost per inspector:
Grade I:
Grade II:
Notice that although Grade II inspectors have lower wages, their higher error rate nearly equalizes the total cost with Grade I inspectors. The optimization will balance throughput efficiency (Grade I checks more pieces) against marginal cost differences.
4. Write the objective function
We want to minimize the total daily inspection cost:
5. State the availability constraints
The company has at most 10 Grade I inspectors:
The company has at most 15 Grade II inspectors:
--- …
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.