← 2013 Paper 2

UPSC 2013 Maths Optional Paper 2 Q4a — Step-by-Step Solution

15 marks · Section A

Assignment problem (Hungarian method) · Linear Programming · asked 6× in 13 yrs · Read the full method →

Question

Solve the minimum time assignment problem:

M1M2M3M4J1312514J279812J35111012J4614411\begin{array}{c|cccc} & M_1 & M_2 & M_3 & M_4\\\hline J_1 & 3 & 12 & 5 & 14\\ J_2 & 7 & 9 & 8 & 12\\ J_3 & 5 & 11 & 10 & 12\\ J_4 & 6 & 14 & 4 & 11\end{array}

Technique

Threshold (parametric) approach to bottleneck matching; binary search over threshold TT for smallest feasible value.

Solution

Interpretation. The “minimum time” assignment problem (Hindi: न्यूनतम समय नियतन समस्या) — also called the bottleneck assignment problem — minimises the maximum time among the chosen assignments, on the assumption that jobs run in parallel and the total elapsed time is determined by the slowest job. (This is distinct from the standard sum-minimisation Hungarian assignment problem.)

Strategy. Find the smallest threshold TT such that the bipartite graph with edges {(Ji,Mj):cijT}\{(J_i,M_j):c_{ij}\le T\} admits a perfect matching.

Step 1 — Distinct cost values (sorted)

The cost matrix entries (deduplicated, ascending): 3,4,5,6,7,8,9,10,11,12,143,\,4,\,5,\,6,\,7,\,8,\,9,\,10,\,11,\,12,\,14.

Step 2 — Test thresholds from low to high

Threshold T=10T=10: Cells cij10c_{ij}\le 10:

M1M_1M2M_2M3M_3M4M_4
J1J_1✓(3)✓(5)
J2J_2✓(7)✓(9)✓(8)
J3J_3✓(5)✓(10)
J4J_4✓(6)✓(4)

No row has access to M4M_4 (column max = 11). So at most 3 machines {M1,M2,M3}\{M_1,M_2,M_3\} are reachable, but 4 jobs need distinct machines. No perfect matching at T=10T=10.

Threshold T=11T=11: Cells cij11c_{ij}\le 11:

M1M_1M2M_2M3M_3M4M_4
J1J_1✓(3)✓(5)
J2J_2✓(7)✓(9)✓(8)
J3J_3✓(5)✓(11)✓(10)
J4J_4✓(6)✓(4)✓(11)

Now J4J_4 can take M4M_4. Try J4M4J_4\to M_4; remaining bipartite graph on {J1,J2,J3}×{M1,M2,M3}\{J_1,J_2,J_3\}\times\{M_1,M_2,M_3\}:

M1M_1M2M_2M3M_3
J1J_1✓(3)✓(5)
J2J_2✓(7)✓(9)✓(8)
J3J_3✓(5)✓(11)✓(10)

Try J1M1,  J2M2,  J3M3J_1\to M_1,\;J_2\to M_2,\;J_3\to M_3:

Maximum cost = 11. Feasible at T=11T=11.

Step 3 — Optimal solution

Since T=10T=10 is infeasible and T=11T=11 is feasible, the minimum maximum time is 11.

Answer

  Optimal: J1M1,  J2M2,  J3M3,  J4M4;  maximum time=11 (at J4-M4).  \boxed{\;\text{Optimal: }J_1\to M_1,\;J_2\to M_2,\;J_3\to M_3,\;J_4\to M_4;\;\text{maximum time}=11\text{ (at }J_4\text{-}M_4\text{).}\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 13 years, mapped. Get the take-away PDF free.