The math optional, made finite.

← 2025 Paper 2

UPSC Maths 2025 Paper 2 Q4c — Solution

20 marks · Section A

Question

The following table shows all the necessary information on the available supply to each warehouse, the requirement of each market and the unit transportation cost from each warehouse to each market:

IIIIIIIVSupply
A524322
B481615
C46758
Requirement712179

The shipping clerk has worked out the following schedule from experience: 12 units from AA to II, 1 unit from AA to III, 9 units from AA to IV, 15 units from BB to III, 7 units from CC to I and 1 unit from CC to III. Find the optimal schedule and minimum total shipping cost.

Technique

Start from the given basic feasible solution and apply the MODI (u–v / modified distribution) method: compute dual potentials, opportunity costs dij=cij(ui+vj)d_{ij}=c_{ij}-(u_i+v_j), identify the entering cell, trace the closed loop, and reallocate.

Solution

Balance check. Total supply =22+15+8=45=22+15+8=45; total requirement =7+12+17+9=45=7+12+17+9=45. The problem is balanced, so a feasible transportation plan exists.

A note on the data: the clerk’s “experience” schedule given in the problem is not optimal — it costs 105, whereas the true optimum costs 104. One MODI iteration corrects it, as shown below.

Step 1 — The given (initial) basic feasible solution.

IIIIIIIVSupply
A121922
B1515
C718
Req712179

Occupied (basic) cells: AII,AIII,AIV,BIII,CI,CIIIA_{II},A_{III},A_{IV},B_{III},C_{I},C_{III} — that is 6=m+n1=3+416 = m+n-1 = 3+4-1 cells (non-degenerate). Initial cost: Z0=2(12)+4(1)+3(9)+1(15)+4(7)+7(1)=24+4+27+15+28+7=105.Z_0 = 2(12)+4(1)+3(9)+1(15)+4(7)+7(1) = 24+4+27+15+28+7 = 105.

Step 2 — Dual potentials (MODI). For each basic cell set ui+vj=ciju_i+v_j = c_{ij}, with uA=0u_A=0:

So u=(0,3,3)u=(0,-3,3), v=(1,2,4,3)v=(1,2,4,3).

Step 3 — Opportunity costs dij=cij(ui+vj)d_{ij}=c_{ij}-(u_i+v_j) for non-basic cells.

cellcijc_{ij}ui+vju_i+v_jdijd_{ij}
AIA_I51+4
BIB_I4-2+6
BIIB_{II}8-1+9
BIVB_{IV}60+6
CIIC_{II}65+1
CIVC_{IV}56−1

The only negative entry is dCIV=1d_{C_{IV}} = -1, so the current solution is not optimal. The entering cell is CIVC_{IV}.

Step 4 — Closed loop and reallocation. Form the closed loop on basic cells starting at CIVC_{IV}: CIV(+)CIII()AIII(+)AIV()CIV.C_{IV}(+) \to C_{III}(-) \to A_{III}(+) \to A_{IV}(-) \to C_{IV}. The minus cells carry CIII=1C_{III}=1 and AIV=9A_{IV}=9; the reallocation amount is θ=min(1,9)=1.\theta = \min(1,9) = 1. Adjust: CIV ⁣1C_{IV}\!\uparrow1, CIII ⁣1(0)C_{III}\!\downarrow1\,(\to0), AIII ⁣1(2)A_{III}\!\uparrow1\,(\to2), AIV ⁣1(8)A_{IV}\!\downarrow1\,(\to8). Cell CIIIC_{III} leaves the basis.

Step 5 — New solution.

IIIIIIIVSupply
A122822
B1515
C718
Req712179

Cost: Z1=Z0+θdCIV=105+1(1)=104Z_1 = Z_0 + \theta\cdot d_{C_{IV}} = 105 + 1(-1) = 104. Directly: Z1=2(12)+4(2)+3(8)+1(15)+4(7)+5(1)=24+8+24+15+28+5=104.Z_1 = 2(12)+4(2)+3(8)+1(15)+4(7)+5(1) = 24+8+24+15+28+5 = 104.

Step 6 — Optimality check. Recompute potentials: u=(0,3,2)u=(0,-3,2), v=(2,2,4,3)v=(2,2,4,3). All non-basic opportunity costs are now 0\ge 0: dAI=3, dBI=5, dBII=9, dBIV=6, dCII=2, dCIII=1.d_{A_I}=3,\ d_{B_I}=5,\ d_{B_{II}}=9,\ d_{B_{IV}}=6,\ d_{C_{II}}=2,\ d_{C_{III}}=1. All 0\ge 0 \Rightarrow the solution is optimal. Since every reduced cost is strictly positive, the optimum is unique.

Answer

Optimal schedule:

  Minimum total shipping cost=104.  \boxed{\;\text{Minimum total shipping cost} = 104.\;}

We've mapped all 13 years of this exam. Get new solutions, tools, and guides as we release them — free.