Past exam of the mathematics course of the University of Cambridge 2022 ib Paper 3 19H b Solution Created 2026-09-24 Updated 2026-09-25
The stated plan isIts six positive cells form a spanning tree of the supplier--consumer bipartite graph, so it is basic and feasible. Taking , the basic-cell equations giveThe complete matrix of reduced costs isThe negative entry proves that the plan is not optimal.
Enter cell . The alternating cycle isand the step is . The new plan iswhose cost is , down from . New potentials areand the reduced-cost matrix isEvery reduced cost is nonnegative, so the transportation optimality criterion shows thatThe zero reduced cost in cell also indicates an alternative optimum.
Past exam of the mathematics course of the University of Cambridge 2025 ib Paper 4 18H c Solution Created 2026-09-24 Updated 2026-09-25
The northwest-corner rule constructs an initial basic feasible solution: fill the current cell with the smaller remaining supply and demand, delete the exhausted row or column, and continue.
For a current spanning-tree basis, solve on its occupied cells, fixing one potential to zero. The reduced cost of an unoccupied cell isIf all reduced costs are nonnegative, part (a) proves optimality. Otherwise choose a cell with negative reduced cost. Adding its edge to the tree creates a unique even cycle. Mark its cells alternately and , starting with at the entering cell, and setAdd on the plus cells and subtract it on the minus cells. Row and column totals are unchanged, the entering cell becomes positive, and a minimizing minus cell leaves the basis. In the nondegenerate case the objective decreases strictly. There are finitely many bases, so no basis repeats and the algorithm terminates at a basis with no negative reduced cost, which is optimal.