Transportation Problems: Shadow Costs, Improvement Indices and Stepping Stones | Edexcel A Level Further Maths notes

Free preview: Transportation Problems: Shadow Costs, Improvement Indices and Stepping Stones

Can We Do Better? Shadow Costs

Year 2 (A level): this is on Edexcel's A level Decision Mathematics 2 paper (9FM0/4D). Check your own specification if you are unsure when it is taught.

We continue the warehouse problem. The north-west corner solution cost 1000, but it ignored costs completely. Some empty routes are cheap. Would it pay to use them? We need a way to price every empty route before we try it.

XYZ
A (25)8: 25610
B (30)9: 512: 257
C (35)149: 1516: 20

Each cell shows cost: units. Demands: X 30, Y 40, Z 20.

The idea behind shadow costs

  • Imagine splitting the cost of each route into a "leaving" charge at the source and an "arriving" charge at the destination.
  • Give each row a number Ri and each column a number Kj so that, for every occupied cell, Ri+Kj=Cij (the cost). These numbers are the shadow costs.
  • There is one more unknown than equations (6 unknowns, 5 occupied cells), so set RA=0.

The recipe: shadow costs

  1. Set the first row's R to 0. Why: only sums R + K matter, so one value can be chosen freely.
  2. Find an occupied cell in a row or column you know. Use R+K=C to find the unknown one.
  3. Repeat until every R and K is known. Why: with m+n−1 occupied cells, the chain always reaches every row and column.

๐Ÿ‘€ Watch me do it: shadow costs for the warehouses

What I writeWhy I do it
RA=0Free choice.
AX: 0+KX=8⇒KX=8Row A is known, so find column X.
BX: RB+8=9⇒RB=1Column X is known, so find row B.
BY: 1+KY=12⇒KY=11Row B known, find column Y.
CY: RC+11=9⇒RC=−2Shadow costs can be negative. That's fine.
CZ: −2+KZ=16⇒KZ=18All six found.

๐Ÿ’ก In plain words

  • Shadow costs split each used route's cost into a row part and a column part.
  • They let you predict what an unused route "should" cost under the current plan.

โœ๏ธ YOUR TURN 1

Try this first:

Sources P, Q, R supply 15, 25, 20; destinations X, Y, Z demand 20, 15, 25. Costs per unit: P (4, 7, 5), Q (6, 3, 8), R (9, 4, 6). The north-west corner solution is PX 15, QX 5, QY 15, QZ 5, RZ 20, cost 295. Find the shadow costs.

Answer:

  • RP=0. PX: KX=4. QX: RQ=6−4=2.
  • QY: KY=3−2=1. QZ: KZ=8−2=6. RZ: RR=6−6=0.

Improvement Indices

Iij=Cij−Ri−Kjfor each empty cell

  • The improvement index is the change in total cost for each unit moved into that empty cell (with the other cells adjusted to keep the totals right).
  • A negative index means using that route would save money. If no index is negative, the solution is optimal.
  • The cell with the most negative index is the entering cell.

๐Ÿ’ก In plain words

  • R + K is what the route would cost if it were "in line" with the current plan.
  • If the real cost C is less than that, the route is a bargain: index negative.

๐Ÿ‘€ Watch me do it: indices for the four empty cells

What I writeWhy I do it
AY: 6−0−11=−5Cost 6, minus R_A and K_Y.
AZ: 10−0−18=−8
BZ: 7−1−18=−12The most negative so far.
CX: 14−(−2)−8=8Subtracting a negative R adds 2.
Most negative: BZ (โˆ’12). BZ enters.Each unit sent along BZ saves ยฃ12.

Diagram: The blue cells are the occupied cells. In each one the cost equals R + K, which fixes all six shadow costs once R_A = 0.

What the picture shows

  • The blue cells are the occupied cells. In each one the cost equals R + K, which fixes all six shadow costs once RA=0.
  • Each empty cell gets the index C โˆ’ R โˆ’ K. Watch the brackets when R is negative: 14−(−2)−8=8.
  • Red cells have negative indices: those routes would save money.
  • BZ has the most negative index, โˆ’12, so BZ is the entering cell.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in ยท Subscribe ยท Start free trial

All notes in Transportation and Allocation Problems

  1. Transportation Problems: Balancing, North-West Corner and Degeneracy
  2. Transportation Problems: Shadow Costs, Improvement Indices and Stepping Stones
  3. Allocation Problems: The Hungarian Algorithm and LP Formulations

What's inside for this topic

3 teacher notes, 94 practice questions, 49 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp ยท Try one live lesson

Previous note: Transportation Problems: Balancing, North-West Corner and Degeneracy Next note: Allocation Problems: The Hungarian Algorithm and LP Formulations

All Edexcel A Level Further Maths topics ยท A Level Further Maths