15.082 and 6.855J The Goldberg-Tarjan Preflow Push Algorithm for the Maximum Flow Problem Obtain a network, and use the same network to illustrate the.

Slides:



Advertisements
Similar presentations
Min Cost Flow: Polynomial Algorithms. Overview Recap: Min Cost Flow, Residual Network Potential and Reduced Cost Polynomial Algorithms Approach Capacity.
Advertisements

Max Flows 2: The Excess Scaling Algorithm and Variants. James Orlin.
Chapter 6 Maximum Flow Problems Flows and Cuts Augmenting Path Algorithm.
Network Optimization Models: Maximum Flow Problems
1 Maximum Flow Networks Suppose G = (V, E) is a directed network. Each edge (i,j) in E has an associated ‘capacity’ u ij. Goal: Determine the maximum amount.
1 Maximum flow: The preflow/push method of Goldberg and Tarjan (87)
A New Approach to the Maximum-Flow Problem Andrew V. Goldberg, Robert E. Tarjan Presented by Andrew Guillory.
and 6.855J The Capacity Scaling Algorithm.
15.082J and 6.855J and ESD.78J October 19, 2010 Max Flows 3 Preflow-Push Algorithms.
Maximum Flow Algorithms —— ACM 黄宇翔. 目录 Max-flow min-cut theorem 12 Augmenting path algorithms 3 Push-relabel maximum flow algorithm.
& 6.855J & ESD.78J Algorithm Visualization The Ford-Fulkerson Augmenting Path Algorithm for the Maximum Flow Problem.
The Ford-Fulkerson Augmenting Path Algorithm for the Maximum Flow Problem Thanks to Jim Orlin & MIT OCW.
and 6.855J The Goldberg-Tarjan Preflow Push Algorithm for the Maximum Flow Problem.
and 6.855J March 6, 2003 Maximum Flows 2. 2 Network Reliability u Communication Network u What is the maximum number of arc disjoint paths from.
EMIS 8374 The Ford-Fulkerson Algorithm (aka the labeling algorithm) Updated 4 March 2008.
Preflow Push Algorithm M. Amber Hassaan. Preflow Push Algorithm2 Max Flow Problem Given a graph with “Source” and “Sink” nodes we want to compute:  The.
Cycle Canceling Algorithm
Network Simplex Animations
Lecture 21 Primal-Dual in Algorithms
Edmunds-Karp Algorithm: Choosing Good Augmenting Paths
Dijkstra’s Algorithm with two levels of buckets
Maximum flow: The preflow/push method of Goldberg and Tarjan (87)
The Shortest Augmenting Path Algorithm for the Maximum Flow Problem
Introduction to Maximum Flows
Introduction to Maximum Flows
15.082J & 6.855J & ESD.78J Visualizations
15.082J & 6.855J & ESD.78J Visualizations
Lecture 6 Shortest Path Problem.
Dijkstra’s Algorithm for the Shortest Path Problem
Breadth first search animation
Lecture 4 Graph Search.
3.4 Push-Relabel(Preflow-Push) Maximum Flow Alg.
Introduction to Minimum Cost Flows
Not Always Feasible 2 (3,5) 1 s (0,2) 3 (, u) t.
Spanning Tree Algorithms
and 6.855J Flow Decomposition
Primal-Dual Algorithm
Complexity of Ford-Fulkerson
Successive Shortest Path Algorithm
Successive Shortest Path Algorithm
and 6.855J March 6, 2003 Maximum Flows 2
15.082J & 6.855J & ESD.78J Radix Heap Animation
Network Optimization Depth First Search
Introduction to Algorithms
Min Global Cut Animation
Dijkstra’s Algorithm for Shortest Paths
The Shortest Augmenting Path Algorithm for the Maximum Flow Problem
Reading before Lecture 13
The Shortest Augmenting Path Algorithm for the Maximum Flow Problem
MAXIMUM flow by Eric Wengert.
Network Optimization Topological Ordering
and 6.855J Dijkstra’s Algorithm
Visualizations Dijkstra’s Algorithm
Introduction to Maximum Flows
Network Simplex Animations
and 6.855J The Goldberg-Tarjan Preflow Push Algorithm for the Maximum Flow Problem Obtain a network, and use the same network to illustrate the.
Eulerian Cycles in directed graphs
and 6.855J Topological Ordering
7. Preflow-Push Demo.
15.082J & 6.855J & ESD.78J Visualizations
The Minimum Cost Spanning Tree Problem
and 6.855J Depth First Search
Maximum flow: The preflow/push method of Goldberg and Tarjan (87)
Breadth first search animation
Introduction to Maximum Flows
Not Always Feasible 2 (3,5) 1 s (0,2) 3 (, u) t.
Max Flows 3 Preflow-Push Algorithms
Class 11 Max Flows Obtain a network, and use the same network to illustrate the shortest path problem for communication networks, the max flow.
15.082J & 6.855J & ESD.78J Visualizations
Excess Scaling Approach Algorithm
Presentation transcript:

15.082 and 6.855J The Goldberg-Tarjan Preflow Push Algorithm for the Maximum Flow Problem Obtain a network, and use the same network to illustrate the shortest path problem for communication networks, the max flow problem, the minimum cost flow problem, and the multicommodity flow problem. This will be a very efficient way of introducing the four problems. (Perhaps under 10 minutes of class time.)

Preflow Push 4 2 5 1 3 1 1 2 4 s 4 t 3 2 1 3 This is the original network, and the original residual network.

Initialize Distances 2 2 1 5 2 s 1 4 t 1 3 4 5 4 3 2 1 1 3 1 1 2 4 3 2 5 4 3 2 1 1 3 1 1 2 4 2 s 1 4 t 3 2 2 s 1 3 4 5 1 3 t The node label henceforth will be the distance label. d(j) is at most the distance of j to t in G(x)

Saturate Arcs out of node s 3 s 4 2 2 2 5 1 5 4 3 2 1 1 3 1 1 2 4 6 2 s 1 4 1 t 3 2 2 2 s s 2 1 3 3 4 4 5 1 3 1 t 3 Saturate arcs out of node s. Move excess to the adjacent arcs Relabel node s after all incident arcs have been saturated.

Select, then relabel/push 3 s 4 2 2 2 1 5 5 4 3 2 1 1 3 1 1 2 4 6 2 s 1 4 1 t 3 2 2 s s 2 1 3 4 5 3 1 1 1 t 1 3 Select an active node, that is, one with excess Push/Relabel Update excess after a push

Select, then relabel/push 3 s 4 2 2 2 1 5 5 4 3 2 1 1 3 1 1 2 4 2 6 s 4 1 1 t 3 2 s s 3 2 1 3 3 4 5 2 1 1 3 1 2 t 1 Select an active node, that is, one with excess No arc incident to the selected node is admissible. So relabel.

Select, then relabel/push 3 s 4 2 2 2 1 5 5 4 3 2 1 1 3 1 1 2 4 2 s 6 1 1 4 t 3 2 s 3 3 s 3 2 1 4 5 2 2 2 2 t 1 1 Select an active node, that is, one with excess Push/Relabel

Select, then relabel/push 3 3 s 1 4 2 2 2 2 2 1 1 5 5 4 3 2 1 3 1 3 1 1 2 4 6 2 s 4 1 1 t 3 2 2 3 s s 3 2 1 4 5 5 2 2 2 t 1 1 Select an active node. Push/Relabel

Select, then relabel/push 3 2 s 1 4 2 2 2 2 5 1 1 5 4 3 2 1 3 1 3 1 1 2 4 s 2 6 1 4 1 t 3 2 s 3 s 3 2 1 4 5 2 2 2 t 1 1 Select an active node. Push/Relabel

Select, then relabel/push 2 3 s 4 1 2 2 2 2 5 2 1 1 5 4 3 2 1 3 1 3 1 1 2 4 6 2 s 4 1 1 t 3 2 3 s s 5 2 3 1 4 5 5 2 2 2 t 1 1 Select an active node. There is no incident admissible arc. So Relabel.

Select, then relabel/push 3 1 2 s 4 1 2 2 2 2 5 2 2 1 5 4 3 2 1 3 1 3 1 1 2 4 6 2 s 4 1 1 t 3 2 3 s s 5 3 4 2 1 4 2 2 2 t 1 1 Select an active node. Push/Relabel

Select, then relabel/push 3 1 2 s 4 1 2 2 2 2 2 2 1 5 3 5 4 3 2 1 3 1 3 1 1 2 4 5 s 2 6 1 1 4 t 3 2 3 s s 5 5 4 2 3 1 4 2 2 2 t 1 1 Select an active node. There is no incident admissible arc. So relabel.

Select, then relabel/push 1 2 3 s 4 1 2 2 2 2 2 2 1 5 3 3 5 4 3 2 1 3 1 3 1 1 2 4 5 6 2 s 1 1 4 t 3 2 s s 3 3 4 2 1 4 5 5 2 2 2 t 1 1 Select an active node. Push/Relabel

Select, then relabel/push 1 s 2 4 2 2 2 2 2 3 3 2 5 1 5 4 3 2 1 2 1 3 1 1 2 4 5 s 2 6 1 4 1 1 1 t 3 2 s 3 s 4 3 4 2 1 4 4 5 5 2 2 2 t 1 1 Select an active node. Push/Relabel

Select, then relabel/push 1 s 4 2 2 2 2 2 4 2 3 2 2 1 3 5 5 4 3 2 1 2 1 3 1 2 1 2 4 5 6 s 2 1 4 1 t 3 2 2 s s 3 4 4 2 3 1 4 5 5 2 2 2 t 1 1 Select an active node. Push/Relabel

Select, then relabel/push 1 s 4 2 2 4 2 2 4 2 3 2 2 1 3 5 5 4 3 2 1 2 1 3 1 2 1 2 4 5 6 s 2 4 1 1 t 3 3 s s 4 4 2 3 1 4 5 5 2 2 2 t 1 1 Select an active node. Push/Relabel

Select, then relabel/push 1 s 1 4 4 2 4 2 2 2 5 3 3 5 2 1 2 3 5 4 3 2 1 5 3 1 3 1 2 1 2 4 5 5 6 2 s 1 4 1 t 3 3 s s 4 3 4 2 1 4 5 5 2 2 2 t 1 1 Select an active node. Push/Relabel

Select, then relabel/push 1 s 1 4 4 2 4 2 2 2 5 3 3 5 2 1 2 3 5 4 3 2 1 5 3 1 3 1 2 1 2 4 5 5 6 2 s 1 4 1 t 3 3 s s 4 3 4 2 1 4 5 5 2 2 2 t 1 1 One can keep pushing flow between nodes 2 and 5 until eventually all flow returns to node s. There are no paths from nodes 2 and 5 to t, and there are ways to speed up the last iterations.