If the demands at B, C, D, and E are 600, 400, 800, and 700 units, respectively, in a week, how many units will be distributed along the pipeline from B to C in that week?
Answer: 0
- Pipes (cost per unit): A→B 1, A→C 4, A→D 8, B→C 2, B→E 6, C→E 5, C→D 3, D→E 7. Every pipe carries at most 1000 units a week.
- Cheapest route to each centre (ignoring capacity): B via A–B (1); C via A–B–C (3, cheaper than A–C 4); D via A–B–C–D (6, cheaper than A–C–D 7 and A–D 8); E via A–B–E (7, cheaper than A–B–C–E 8 and A–C–E 9).
- Total demand \(600 + 400 + 800 + 700 = 2500\), so pipes A→B and A→C (1000 each) are not enough and A→D must also be used. All 600 units for B must come through A→B, leaving 400 units of A→B capacity.
- Use of the spare 400 units of A→B: sending them to E (A–B–E, 7) instead of A–C–E (9) saves 2 per unit; sending them to C or D saves only 1 per unit (3 vs 4, 6 vs 7). So 400 units go A–B–E and B→C carries nothing.
- A→C (1000 units) then serves C 400 (cost 4), the remaining 300 of E via A–C–E (9, far cheaper than A–D–E 15), and 300 of D via A–C–D (7, cheaper than A–D 8).
- The remaining 500 units of D come directly along A→D (8).
- Optimality check (node prices A 0, B 4, C 5, D 8, E 10): every used pipe has a price difference equal to its cost, the unused pipes B→C (4 + 2 = 6 > 5) and D→E (8 + 7 = 15 > 10) would cost more, and the full pipes A→B and A→C are cheaper than the price difference they carry, so no cheaper plan exists.
| Route | Units | Cost per unit | Cost |
|---|---|---|---|
| A–B (to B) | 600 | 1 | 600 |
| A–B–E | 400 | 7 | 2800 |
| A–C (to C) | 400 | 4 | 1600 |
| A–C–E | 300 | 9 | 2700 |
| A–C–D | 300 | 7 | 2100 |
| A–D | 500 | 8 | 4000 |
| Total | 2500 | 13800 |
Pipe flows: A→B 1000, A→C 1000, A→D 500, B→E 400, B→C 0, C→E 300, C→D 300, D→E 0.
Pipe B→C carries 0 units.
Hence, the answer is 0.
