← 2014 Paper 2

UPSC 2014 Maths Optional Paper 2 Q2c — Step-by-Step Solution

20 marks · Section A

Transportation problem · Linear Programming · asked 5× in 13 yrs · Read the full method →

Question

Find the initial basic feasible solution to the following transportation problem by Vogel’s approximation method. Also, find its optimal solution and the minimum transportation cost:

D1D2D3D4SupplyO1641514O2892716O343625Demand610154\begin{array}{c|cccc|c} & D_1 & D_2 & D_3 & D_4 & \text{Supply}\\\hline O_1 & 6 & 4 & 1 & 5 & 14\\ O_2 & 8 & 9 & 2 & 7 & 16\\ O_3 & 4 & 3 & 6 & 2 & 5\\\hline \text{Demand} & 6 & 10 & 15 & 4 & \end{array}

Technique

Vogel’s approximation method (VAM) for IBFS; MODI/u,vu,v method for optimality testing.

Solution

Step 1 — Balance check

Total supply =14+16+5=35=14+16+5=35, total demand =6+10+15+4=35=6+10+15+4=35. Balanced ✓.

Step 2 — VAM iterations

Iteration 1. Penalties (difference between two smallest costs in each row/column):

Row penaltiesCol penalties
O1O_1: 41=34-1=3D1D_1: 64=26-4=2
O2O_2: 72=57-2=\mathbf{5}D2D_2: 43=14-3=1
O3O_3: 32=13-2=1D3D_3: 21=12-1=1
D4D_4: 52=35-2=3

Max penalty: O2O_2 (=5=5). Cheapest cell in O2O_2: D3D_3 (cost 2). Allocate min(16,15)=15\min(16,15)=15, i.e., x23=15x_{23}=15. Eliminate column D3D_3 (demand met).

Iteration 2. Updated supply for O2O_2: 1. New penalties (without D3D_3):

RowCol
O1O_1: 54=15-4=1D1D_1: 64=26-4=2
O2O_2: 87=18-7=1D2D_2: 43=14-3=1
O3O_3: 32=13-2=1D4D_4: 52=35-2=\mathbf{3}

Max penalty: D4D_4 (=3=3). Cheapest in D4D_4: O3O_3 (cost 2). Allocate min(5,4)=4\min(5,4)=4, i.e., x34=4x_{34}=4. Eliminate D4D_4.

Iteration 3. Updated supply for O3O_3: 1. New penalties (without D3,D4D_3, D_4):

RowCol
O1O_1: 64=26-4=\mathbf{2}D1D_1: 64=26-4=2
O2O_2: 98=19-8=1D2D_2: 43=14-3=1
O3O_3: 43=14-3=1

Tie max penalty: O1O_1 vs D1D_1 (both 2). Pick O1O_1. Cheapest in O1O_1: D2D_2 (cost 4). Allocate min(14,10)=10\min(14,10)=10, i.e., x12=10x_{12}=10. Eliminate D2D_2.

Iteration 4. Updated O1O_1 supply: 4. Only D1D_1 left (demand 6). Allocate vertically: x11=4,  x21=1,  x31=1x_{11}=4,\;x_{21}=1,\;x_{31}=1 (filling remaining supply at each origin against D1D_1‘s demand).

Step 3 — Initial BFS

CellAllocationCost contribution
x11x_{11}4446=244\cdot 6=24
x12x_{12}1010104=4010\cdot 4=40
x21x_{21}1118=81\cdot 8=8
x23x_{23}1515152=3015\cdot 2=30
x31x_{31}1114=41\cdot 4=4
x34x_{34}4442=84\cdot 2=8

Number of allocations: 6=m+n1=3+416=m+n-1=3+4-1non-degenerate.

Total cost (IBFS): 24+40+8+30+4+8=11424+40+8+30+4+8=\mathbf{114}.

Step 4 — Optimality check (MODI / u,vu,v method)

For each allocated cell, ui+vj=ciju_i+v_j=c_{ij}. Set u1=0u_1=0:

For non-allocated cells, compute Δij=cijuivj\Delta_{ij}=c_{ij}-u_i-v_j:

Cellcijc_{ij}ui+vju_i+v_jΔij\Delta_{ij}
(1,3)(1,3)110011
(1,4)(1,4)554411
(2,2)(2,2)996633
(2,4)(2,4)776611
(3,2)(3,2)332211
(3,3)(3,3)662-288

All Δij0\Delta_{ij}\ge 0optimal.

Answer

  IBFS = Optimal solution; minimum cost = 114.  \boxed{\;\text{IBFS = Optimal solution; minimum cost = }114.\;}
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.