Transportation problemsEdexcel A-Level Further Maths: Revision notes
Section 1
The transportation problem
A transportation problem moves a single product from sources (supplies) to destinations (demands) at a unit cost for each route, to minimise the total cost. Everything is shown in a transportation tableau: one row per source, one column per destination, with each cell showing the cost and the quantity sent. The problem is balanced when total supply equals total demand. A solution is a set of non-negative quantities satisfying every supply and demand. The cells that carry a quantity are occupied; the others are unoccupied. If the problem is not balanced add a dummy location (see below). A non-degenerate basic solution has exactly occupied cells.
Check totals first: if supply and demand differ, balance the problem before doing anything else.
Section 2
The north-west corner method
This gives an initial basic feasible solution without looking at costs. Start at the top-left (north-west) cell and send as much as possible, the smaller of the supply and the demand. Cross out the row or column that is used up, and move to the next cell (right if the row has stock left over, down if the column still needs stock). Repeat until everything is allocated. Example: supplies 20, 30, 25 and demands 15, 35, 25. W1S1 , W1S2 , W2S2 , W3S3 . With costs 4, 6, 3 and 2 per unit, the cost is . Check each row and column total, and that the solution has occupied cells.
Choosing cells by cost. The north-west corner method ignores costs; it only gives a start.
Tick off each row and column total as you go.
Section 3
Degeneracy and dummy locations
Degeneracy: if a solution has fewer than occupied cells, it is degenerate. In the example above only 4 cells are occupied, because W2 and S2 ran out at the same time. To continue, place a quantity of 0 (sometimes written ) in an unoccupied cell, chosen so that shadow costs can still be found (no closed loop of occupied cells), until there are cells. Dummy locations: if supply exceeds demand, add a dummy destination taking the surplus; if demand exceeds supply, add a dummy source supplying the shortfall. All costs to or from a dummy are 0. A quantity sent to or from a dummy is not real: it is unused stock or an unmet demand.
Giving dummy routes a cost other than 0.
Section 4
Shadow costs and improvement indices
To test whether a solution is optimal, find shadow costs (one per source) and (one per destination) so that for every occupied cell The improvement index of each unoccupied cell is It is the change in total cost per unit if that cell is brought in. If every the solution is optimal. If some are negative, the most negative cell is the entering cell. Example: occupied costs S1D1 4, S1D2 3, S2D2 5, S2D3 6, S3D3 4 give and . For S2D1 (cost 5): , so it should enter.
Using (the opposite sign) and so choosing the wrong cell.
Fill in shadow costs in order, starting from and following the occupied cells.
Section 5
The stepping-stone method
To bring a cell in, trace a closed loop that starts and ends at the entering cell and turns only at occupied cells, with alternating and signs starting with at the entering cell. Let be the smallest quantity in a cell: it is added to the cells and subtracted from the cells. A cell that falls to 0 is the exiting cell. Example: quarries A, B, C and sites X, Y, Z. Entering cell CX has . Loop: CX , CZ , BZ , BY , AY , AX . The minus cells hold 30, 35 and 20, so and AX exits. The cost falls by from £540 to £500. Then recalculate shadow costs and indices. Repeat until no index is negative.
Taking from a cell. It is always the smallest quantity in the cells.
Check that each row and column total is unchanged after the move.
Section 6
Formulating as a linear program
Let be the amount sent from source to destination . For a balanced problem:
- Objective: minimise .
- Supply constraints: for each source, (row sums).
- Demand constraints: for each destination, (column sums). For two depots P, Q and a dummy D supplying 30, 40, 10 to shops X, Y, Z needing 20, 25, 35: minimise with and so on. There are variables and constraints, but only are independent, which is why a basic solution has occupied cells.
Dummy cells carry zero cost, so they vanish from the objective but stay in the constraints.
That's the notes covered.
Carry on to the next subtopic.
Exam questions on Transportation problems
- A company has three warehouses W1, W2 and W3 holding 20, 30 and 25 units of stock, and three shops S1, S2 and S3 needing 15, 35 and 25 units. The cost (£ per unit) of sending stock is: from W1, S1 £4, S2 £6, S3 £8; from W2, S1 £5, S2 £3, S3 £7; from W3, S1 £9, S2 £6, S3 £2. The north-west corner method is used to find an initial solution.Calculate the total cost of the north-west corner solution.2 marks
- In a transportation problem the sources are S1, S2 and S3 and the destinations are D1, D2 and D3. The occupied cells have unit costs S1D1 £4, S1D2 £3, S2D2 £5, S2D3 £6 and S3D3 £4. The unoccupied cells have unit costs S1D3 £8, S2D1 £5, S3D1 £9 and S3D2 £8. Shadow costs (sources) and (destinations) are found from for occupied cells with , and the improvement index of an unoccupied cell is .Find the improvement indices of the other three unoccupied cells. State whether the current solution is optimal and, if not, which cell should enter.2 marks
- Three quarries A, B and C supply 25, 45 and 30 tonnes of gravel to three building sites X, Y and Z, which need 20, 40 and 40 tonnes. The cost (£ per tonne) is: from A, X £3, Y £4, Z £9; from B, X £6, Y £6, Z £7; from C, X £2, Y £6, Z £6. The current solution sends 20 tonnes from A to X, 5 from A to Y, 35 from B to Y, 10 from B to Z and 30 from C to Z, at a total cost of £540.Using , find the shadow costs , , , and , and hence find the improvement index of the unoccupied cell CX.3 marks
Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).