Skip to content
Worked Examples · Example 5

Q.A company has two groups of inspectors, namely, group A and B, who are assigned to do a quality inspection work. It is required that at least 1800 pieces are inspected per 8-hour day. It is known that inspectors of group A can check pieces at the rate of 25 per hour with an accuracy of 98%, while inspectors of group B can check at the rate of 15 pieces per hour with an accuracy of 95%. The inspectors of group A and B are paid Rs. 40 and Rs. 30 per hour respectively to do the work. Each time an error is caused by any inspector, it costs a loss of Rs. 20 to the company. The company has 8 inspectors in group A and 10 in group B. The company wants to determine the optimal assignment of inspectors to minimise total inspection cost. Formulate an LPP.

Lakshadweep CbseNCERTSubjective· 3mImportance★★★★★
23% · 5/22 Questions
🔒 Locked · start free trial →

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 →

This is a linear programming problem where we minimise total cost (wages + error penalty) subject to meeting the daily inspection target of 1800 pieces and the available inspectors in groups A and B. The LPP has two decision variables, a linear objective, and three constraints.

Why Linear Programming Works Here

The company faces a resource allocation problem with clear trade-offs. Group A inspectors are faster (25 pieces/hour) and more accurate (98%), but cost more per hour (Rs. 40). Group B inspectors are slower (15 pieces/hour), less accurate (95%), but cheaper per hour (Rs. 30). Each error costs Rs. 20.

The goal is to decide how many inspectors from each group to assign per 8-hour day so that:

  • At least 1800 pieces are inspected daily.
  • We don't exceed the available inspectors (8 in A, 10 in B).
  • The total cost (wages + penalty for errors) is as low as possible.

Since all relationships are linear (costs add up, inspection rates multiply linearly with hours, error costs are proportional to pieces inspected), this is a textbook linear programming problem.

Step-by-Step Formulation

1. Define the decision variables

Let:

  • xx = number of inspectors from group A assigned per day
  • yy = number of inspectors from group B assigned per day

Both xx and yy must be non-negative integers in reality, but for an LPP we treat them as continuous variables (the integer restriction can be handled later if needed).

2. Express the inspection capacity constraint

Each group A inspector works 8 hours at 25 pieces/hour, so one inspector inspects 8×25=2008 \times 25 = 200 pieces per day.

Each group B inspector works 8 hours at 15 pieces/hour, so one inspects 8×15=1208 \times 15 = 120 pieces per day.

Total pieces inspected per day = 200x+120y200x + 120y.

We need at least 1800 pieces:

200x+120y≥1800200x + 120y \geq 1800

Divide through by 40 to simplify:

5x+3y≥455x + 3y \geq 45

3. Express the availability constraints

Group A has 8 inspectors: x≤8x \leq 8

Group B has 10 inspectors: y≤10y \leq 10

Also, x≥0x \geq 0, y≥0y \geq 0.

4. Build the cost function (objective)

Cost has two components: wages and error penalty.

Wages per day:

Group A: Rs. 40/hour × 8 hours = Rs. 320 per inspector per day

Group B: Rs. 30/hour × 8 hours = Rs. 240 per inspector per day

Total wages = 320x+240y320x + 240y

Error penalty per day:

Group A accuracy = 98%, so error rate = 2%. Each inspector inspects 200 pieces/day, so errors per inspector = 200×0.02=4200 \times 0.02 = 4 pieces. Each error costs Rs. 20, so penalty per A inspector = 4×20=Rs. 804 \times 20 = \text{Rs. }80 per day.

Group B accuracy = 95%, so error rate = 5%. Errors per inspector = 120×0.05=6120 \times 0.05 = 6 pieces. Penalty per B inspector = 6×20=Rs. 1206 \times 20 = \text{Rs. }120 per day.

Total error penalty = 80x+120y80x + 120y

Total cost (to minimise):

Z=(320x+240y)+(80x+120y)=400x+360yZ = (320x + 240y) + (80x + 120y) = 400x + 360y

Tip

Notice that the error penalty effectively adds to the per-inspector daily cost. Group A's effective daily cost becomes Rs. 400 (320+80) and group B's becomes Rs. 360 (240+120). So B is cheaper per inspector, but also inspects fewer pieces — the trade-off is captured by the constraints.

5. Write the complete LPP

Minimise:

Z=400x+360yZ = 400x + 360y

Subject to:

5x+3y≥455x + 3y \geq 45

x≤8x \leq 8

y≤10y \leq 10

x≥0, y≥0x \geq 0, \ y \geq 0 …

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.