Transportation problem
At a Glance
- Frequency: 5 sub-parts across 5 of 13 years (2014, 2017, 2020, 2022, 2025)
- Priority tier: T2
- Marks (count): 15 (1), 20 (4)
- Average solve time: ~22 min
- Difficulty mix: hard 4, medium 1
- Section: A | Dominant type: computation
Why This Chapter Matters
Transportation questions appear in 5 of the last 13 years and are consistently 20 marks — the single highest-mark question in Paper 2’s linear-programming cluster. Every question follows the same two-phase algorithm: find an initial basic feasible solution (IBFS) by Vogel’s Approximation Method (VAM), then test and achieve optimality by the MODI () method. The algorithm is long but entirely procedural; the challenge is accuracy across many small arithmetic steps. A student who internalises the VAM and MODI templates can reliably score all 20 marks here.
Minimum Theory
Balanced transportation problem. sources with supplies , destinations with demands , cost per unit shipped on route . Balanced means ; if unbalanced, add a dummy row or column with zero costs.
Basic feasible solution (BFS). A solution with exactly allocated cells (non-degenerate). Fewer allocations = degenerate; handle by adding a tiny allocation in an unoccupied cell.
Vogel’s Approximation Method (VAM) — IBFS.
- For each row/column, compute the penalty = (2nd smallest cost) (smallest cost).
- Identify the row or column with the maximum penalty.
- In that row/column, allocate as much as possible to the cheapest cell: allocate .
- Cross out the exhausted row or column. Recompute penalties (ignoring crossed-out rows/columns).
- Repeat until all supply and demand are fulfilled.
MODI / - optimality test.
- For each allocated cell , set . Fix and solve for all .
- For each unallocated cell, compute the opportunity cost .
- If all : the current BFS is optimal.
- If any : bring the cell with the most negative into the basis via a closed loop reallocation; repeat.
Question Archetypes
One pattern covers every transportation question in the corpus.
| Archetype | You are seeing this when… |
|---|---|
| transportation-problem | find IBFS by VAM, test optimality by MODI, state minimum cost |
transportation-problem (5 question(s); 2014, 2017, 2020, 2022, 2025)
Recognition Cues
- A table of costs with row supply and column demand totals; “find IBFS by Vogel’s method.”
- “Hence find the optimal solution and the minimum transportation cost.”
- Sometimes: “Only find the IBFS by VAM” (no MODI step).
Solution Template
Phase 1: VAM
- Write the cost table with supply and demand.
- Compute row and column penalties. Record them next to each row/column.
- Mark the maximum penalty; allocate to the cheapest cell in that row/column; update supply/demand; cross out the exhausted row/column.
- Repeat. If a tie in penalties, break it arbitrarily (or choose the allocation that gives a smaller cost).
- Stop when all supply and demand are met. Count allocations: must be .
Phase 2: MODI
- Label allocated cells. Set ; solve for all allocated cells.
- Compute for all unallocated cells.
- If all : current solution is optimal; compute and state total cost.
- If any : enter the most-negative cell via a loop (trace a path of alternating horizontal and vertical moves through allocated cells); redistribute along the loop by adding/subtracting minimum allocation on the minus-sign cells.
Worked Example(s)
2014 Paper 2, 2014-P2-Q2c (20 marks)
Transportation problem (3 sources × 4 destinations); find IBFS by VAM; test and achieve optimality by MODI.
| Supply | |||||
|---|---|---|---|---|---|
| 6 | 4 | 1 | 5 | 14 | |
| 8 | 9 | 2 | 7 | 16 | |
| 4 | 3 | 6 | 2 | 5 | |
| Demand | 6 | 10 | 15 | 4 |
VAM iterations (penalties in parentheses):
Iter 1: Row penalties :3, :5, :1; Col penalties :2, :1, :1, :3. Max penalty 5 at . Cheapest cell in : cost 2. Allocate . Eliminate .
Iter 2: Max penalty 3 at . Cheapest in : cost 2. Allocate 4. Eliminate .
Iter 3: Max penalty 2 at . Cheapest in : cost 4. Allocate 10. Eliminate .
Iter 4: Only remains (demand 6). Fill: , , .
IBFS allocations and cost: .
MODI check: Set . From allocated cells: (), ().
Opportunity costs for unallocated cells: :; :; :; :; :; :. All .
2020 Paper 2, 2020-P2-Q4c (20 marks)
Costs , , ; demands .
Note: cost 0 entries are legitimate (no cost on that route). Run VAM and MODI following the same template; the zero entries are the cheapest cells and will be allocated first in the penalty step.
Common Traps
- allocations: a table requires allocations for a non-degenerate BFS. If VAM gives only 5, add a small to one unoccupied cell adjacent to an already-used row and column before applying MODI.
- Penalty recomputation: after eliminating a row or column, recompute penalties from the surviving rows/columns only. Using stale penalties is the most common error.
- MODI system: set (not for the row with the most allocations — any starting point works, but is simplest). Solve by propagating from allocated cells.
- Loop direction: in the MODI loop reallocation, alternate and around the closed path. The quantity shifted is the minimum of all current allocations on the corners; one of those cells will drop to zero (leaves the basis).
Practice Set
- 2017-P2-Q4b (15 m) — — IBFS only by VAM for a 3×5 table; straightforward penalty application.
- 2022-P2-Q4c (20 m) — — balanced 3×4; VAM+MODI; a good full-algorithm practice.