Worked Examples · Example 4
Q.
Four workers are to be assigned to four jobs , one job each. The cost (in hundreds) is:
| Worker | ||||
|---|---|---|---|---|
| 10 | 25 | 15 | 20 | |
| 15 | 30 | 5 | 15 | |
| 35 | 20 | 12 | 24 | |
| 17 | 25 | 24 | 20 |
Determine the minimum-cost assignment.
Maharashtra MsbshseTextbookSubjectiveImportance★★★★★
25% · 8/32 Questions
✓ Free question
Step 1 — Row reduction. Row minima: .
| Worker | ||||
|---|---|---|---|---|
| 0 | 15 | 5 | 10 | |
| 10 | 25 | 0 | 10 | |
| 23 | 8 | 0 | 12 | |
| 0 | 8 | 7 | 3 |
Step 2 — Column reduction. Column minima: .
| Worker | ||||
|---|---|---|---|---|
| 0 | 7 | 5 | 7 | |
| 10 | 17 | 0 | 7 | |
| 23 | 0 | 0 | 9 | |
| 0 | 0 | 7 | 0 |
Step 3 — Assign the zeros.
- has a single zero at assign ; cross .
- has a single zero at assign ; cross .
- now has a single zero at assign ; cross .
- now has a single uncrossed zero at assign .
Four independent zeros are boxed — the assignment is optimal (a -line cover exists).
Total cost (original matrix):
Dual-solve (independent check). Verify no swap improves it:
- Swap jobs: vs current — worse.
- Swap jobs: vs current — worse.
- Swap jobs: vs current — worse. No pairwise exchange reduces the total, confirming is optimal.
✓Final answer
; minimum total cost hundred .
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.