Skip to content
Worked Examples · Example 5
Q.

A firm has three salesmen S1,S2,S3S_1, S_2, S_3 and three territories T1,T2,T3T_1, T_2, T_3. The expected monthly profit (in ₹₹ thousands) from each salesman in each territory is:

SalesmanT1T_1T2T_2T3T_3
S1S_1161014
S2S_2141115
S3S_3151513

Assign salesmen to territories to maximise total profit.

Maharashtra MsbshseTextbookSubjectiveImportance★★★★★
28% · 9/32 Questions
✓ Free question

Step 0 — Convert to minimisation. Largest profit M=16M = 16. Replace each entry by 16−pij16 - p_{ij} (the opportunity-loss matrix):

SalesmanT1T_1T2T_2T3T_3
S1S_1062
S2S_2251
S3S_3113

Step 1 — Row reduction. Row minima 0,1,10, 1, 1:

SalesmanT1T_1T2T_2T3T_3
S1S_1062
S2S_2140
S3S_3002

Step 2 — Column reduction. Column minima are 0,0,00, 0, 0 — no change.

Step 3 — Assign the zeros.

  • S1S_1 single zero at T1T_1 →\to assign S1→T1S_1 \to T_1; cross S3T1S_3T_1.
  • S2S_2 single zero at T3T_3 →\to assign S2→T3S_2 \to T_3.
  • S3S_3 now single zero at T2T_2 →\to assign S3→T2S_3 \to T_2.

Three independent zeros — optimal.

Maximum profit (from the original profit matrix):

S1T1+S2T3+S3T2=16+15+15=46 (thousand)=₹ 46,000.S_1T_1 + S_2T_3 + S_3T_2 = 16 + 15 + 15 = 46 \text{ (thousand)} = ₹\,46{,}000.

Dual-solve (independent check). All 3!=63! = 6 one-to-one assignments' profits:

16+11+13=40,16+15+15=46,10+14+13=37,16{+}11{+}13 = 40,\quad 16{+}15{+}15 = 46,\quad 10{+}14{+}13 = 37,

10+15+15=40,14+14+15=43,14+11+15=40.10{+}15{+}15 = 40,\quad 14{+}14{+}15 = 43,\quad 14{+}11{+}15 = 40.

The largest total is 4646 (from S1T1,S2T3,S3T2S_1T_1, S_2T_3, S_3T_2), confirming the Hungarian result.

✓Final answer

S1→T1, S2→T3, S3→T2S_1 \to T_1,\ S_2 \to T_3,\ S_3 \to T_2; maximum total profit =₹ 46,000= ₹\,46{,}000.

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.