D2 1.2 - Stepping-stone method and improvement indices
You will calculate shadow costs and improvement indices, make stepping-stone improvements with explicit entering and exiting cells, recognise optimality, and handle degenerate and unbalanced transportation problems.
Shadow costs and the sign of an improvement
Can two different sets of shadow costs describe exactly the same shipments and total cost? Yes: a degenerate solution can have different valid choices of zero basic cell. First learn what the numbers measure and how they guide an improvement.
You already know
A feasible transportation allocation meets each supply and demand, with non-negative quantities. North-west corner supplies a starting allocation. Total cost multiplies each allocated quantity by its unit cost.
Use the following unit costs, with supplies and demands :
The starting non-zero allocations are , of cost pounds. These five cells are basic. An empty non-basic cell is a candidate to enter the allocation.
Pearson shadow costs and improvement indices
For a basic cell with unit cost , choose row shadow costs and column shadow costs satisfying
Set the first row shadow cost to zero to begin. For each non-basic cell, calculate
This is the cost change per extra unit sent around its valid adjustment cycle. For a minimisation problem, a negative index is an improving direction; choose a most negative index unless an entering cell is specified.
Not in the formula booklet: learn it.
Use unit costs, not allocated quantities, in these equations. Shadow costs can be negative even when every actual shipping cost is positive. They are computational row and column values, not extra charges added to the bill.
Worked example 1: calculate every index
Question. Find the shadow costs and improvement indices for the starting allocation. State an entering cell.
Plan. Set , use each basic cell to determine the remaining row and column values, then test every non-basic cell.
| Non-basic cell | Index calculation | Index |
|---|---|---|
Why choose , not the cost- cell ? is already basic; entering choices are made by non-basic improvement indices, not the smallest unit cost.
Answer. Row shadows are ; column shadows are . Choose , with most negative index .
Check. Every basic cell satisfies its cost equation, including .
Worked example 2 changes only the non-basic unit cost , from to .
Worked example 2: changing a non-basic cost
Question. Recalculate the shadows, indices and entering choice when , retaining the same allocation.
Plan. The basic costs have not changed, so retain their shadow equations and update the affected index.
The shadows remain
The indices are
Why do the shadow costs stay fixed? They are determined by basic-cell costs; the altered cell is currently non-basic.
Answer. remains the entering choice, now with index .
Check. Its index increased by exactly one, matching the one-pound increase in that unit cost.
[DIAGRAM: asset_name: Shadow costs around an improvement-index table; asset_slug: 9fm0-d2-181-shadow-indices; caption: For the cost-3 CP case, a basic cell is marked X and every other entry is an improvement index.; description: Pearson-style table with row shadow costs0,1,-2 and column shadows8,6,4; body cells AP,AQ,BQ,CQ,CR marked X, and AR6,BP0,BR-1,CP-3.]

If indices tie for most negative, either tied cell may be chosen unless the question specifies one. State the choice so the next route can be checked.
Watch out
Wrong: calculate , or use shipment quantities in the shadow equations. Right: use ; negative means a possible cost reduction.
Raise the same non-basic cost once more.
The route, adjustment amount and exiting cell
Adding stock to one cell alone would upset its row and column totals. Instead, use a closed route of horizontal and vertical moves, alternating additions and subtractions at its corner cells.
Stepping-stone adjustment
Start at the non-basic entering cell with . Form a closed horizontal-and-vertical route whose other corner cells are basic, alternating . The entering cell is the only non-basic corner.
Choose as the least allocation at the minus corners. At least one becomes zero; identify a specific exiting cell and remove it from the basis. Every row and column total is preserved.
Only the signed corners change. A route may pass across another cell without turning there; that cell is not part of the adjustment. The cost change is , which provides a useful arithmetic check.
Not in the formula booklet: learn it.
[DIAGRAM: asset_name: The first stepping-stone rectangle; asset_slug: 9fm0-d2-181-adjustment-route; caption: CP enters; the signed corners give a maximum adjustment of5 and CQ exits.; description: Allocation table showing cycle CP positive, AP negative, AQ positive, CQ negative, with theta5 and a distinct label that only signed corners change; other basic allocations BQ25 and CR25 stay unchanged.]

Worked example 3: the first improvement
Question. For the starting allocation and costs with , use entering cell to obtain an improved solution. State the route, adjustment and exiting cell.
Plan. Close a route through basic cells, then find the limiting minus allocation.
The minus allocations are , so
Update the corner cells:
The other allocations remain .
Why stop at ? Any larger adjustment would make negative.
Answer. Entering cell ; exiting cell . The new non-zero allocations are , of cost pounds.
Check. Row and column totals are unchanged. The cost falls by , giving . Leave the ordinary exiting cell blank.
Worked example 4 changes only , from to ; the starting quantities and route remain the same.
Worked example 4: a smaller saving on the same route
Question. Use as entering cell when its cost is , with the same starting allocation.
Plan. Use the same signed route and quantity limit, but the revised improvement index.
The route is . Thus , and exits. The new allocations are
Since ,
Why is the starting cost still ? The changed cost belongs to a cell with zero initial shipment.
Answer. The same cell enters and exits, with new cost pounds.
Check. Direct costing gives .
The entering choice and limiting quantity have different jobs. The index describes saving per unit; the minus corners determine how many units can move while preserving non-negativity.
Watch out
Wrong: put the smallest allocation anywhere in the table into , or omit the exiting cell. Right: take the minimum only over minus corners and name which zero cell leaves the basis.
Use the next unit-cost variation and one of its tied entering choices.
Recalculate after every improvement
After a cell enters and another exits, the basic equations change. Recalculate all shadow costs and indices before choosing another entering cell.
Optimality test for a minimum-cost solution
With a valid basis and its shadow costs, if every non-basic improvement index satisfies
the feasible allocation is optimal.
Not in the formula booklet: learn it.
Why does this prove optimality? Non-negative indices mean for every route. Any feasible plan therefore costs at least , where are the fixed supplies and demands. The current basic shipments achieve equality, so no feasible plan can cost less.
Negative indices guide further pivots. In a non-degenerate case, a positive adjustment along a negative-index route lowers cost. In a degenerate case the limiting adjustment can be zero, changing the basis without changing shipments or cost; continue from the resulting valid basis.
Worked example 5: the first improvement is not yet optimal
Question. Use costs with . Starting from , test optimality and, if needed, perform the next improvement.
Plan. Rebuild shadows from these five basic cells, identify the most negative index and adjust its route.
| Non-basic cell | ||||
|---|---|---|---|---|
| Index |
Enter along
Thus , and exits.
Why not use the old index at ? Its column shadow has changed from to , so its current index is .
Answer. The previous allocation was not optimal. The next allocation is , of cost .
Check. It still has row totals and column totals .
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account