Skip to content
Worked Examples · Example 7
Q.

Three machines A,B,CA, B, C are to be assigned to three jobs J1,J2,J3J_1, J_2, J_3. Machine BB cannot process job J3J_3 (it lacks the required attachment). The costs (in ₹₹) are:

MachineJ1J_1J2J_2J3J_3
AA91114
BB615∞\infty
CC12136

Here ∞\infty marks the forbidden pairing. Find the minimum-cost assignment.

Maharashtra MsbshseTextbookSubjectiveImportance★★★★★
34% · 11/32 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 →

Step 1 — Row reduction. Treat ∞\infty as untouchable (it never reduces to 00). Row minima: A: 9, B: 6, C: 6A{:}\,9,\ B{:}\,6,\ C{:}\,6.

MachineJ1J_1J2J_2J3J_3
AA025
BB09∞\infty
CC670

Step 2 — Column reduction. Column minima: 0,2,00, 2, 0.

MachineJ1J_1J2J_2J3J_3
AA005
BB07∞\infty
CC650

Step 3 — Assign the zeros.

  • CC single zero at J3J_3 →\to assign C→J3C \to J_3.
  • BB single zero at J1J_1 →\to assign B→J1B \to J_1; cross AJ1AJ_1.
  • AA now single zero at J2J_2 →\to assign A→J2A \to J_2.

Three independent zeros — optimal. The forbidden cell BJ3BJ_3 (cost ∞\infty) is never chosen.

Total cost (original matrix):

AJ2+BJ1+CJ3=11+6+6=₹ 23.AJ_2 + BJ_1 + CJ_3 = 11 + 6 + 6 = ₹\,23. …

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.