capacityscalingalgorithm

capacityscalingalgorithm - 15.082 and 6.855J The Capacity...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
1 15.082 and 6.855J The Capacity Scaling Algorithm
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 The Original Costs and Node Potentials 1 2 3 5 4 4 1 2 2 5 6 7 0 0 0 0 0
Background image of page 2
3 The Original Capacities and Supplies/Demands 1 2 3 5 4 10 20 20 25 25 20 30 23 5 -2 -7 -19
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 Set = 16. This begins the -scaling phase. 1 2 3 5 4 10 20 20 25 25 20 30 23 5 -2 -7 -19 We send flow from nodes with excess to nodes with deficit . We ignore arcs with capacity .
Background image of page 4
5 Select a supply node and find the shortest paths 1 2 3 5 4 4 1 2 2 5 6 7 7 0 6 8 8 shortest path distance The shortest path tree is marked in bold and blue.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6 Update the Node Potentials and the Reduced Costs 2 3 5 4 4 1 2 2 5 6 7 0 -7 -8 -8 -6 0 0 0 0 6 3 1 To update a node potential, subtract the shortest path distance.
Background image of page 6
7 Send Flow Along a Shortest Path in G(x, 16) 2 3 5 4 1 Send flow from node 1 to node 5. 20 20 25 25 20 30 23 5 -2 -7 -19 How much flow should be sent? 10
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
8 Update the Residual Network 2 3 5 4 1 19 units of flow were sent from node 1 to node 5.
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 27

capacityscalingalgorithm - 15.082 and 6.855J The Capacity...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online