The Residual Network Given a flow x, the residual capacity rij of arc (i, j) is the maximum additional flow that can be sent from i to j using arcs (i,

Slides:



Advertisements
Similar presentations
Outline LP formulation of minimal cost flow problem
Advertisements

Max Flow Problem Given network N=(V,A), two nodes s,t of V, and capacities on the arcs: uij is the capacity on arc (i,j). Find non-negative flow fij for.
EMIS 8374 Vertex Connectivity Updated 20 March 2008.
Chapter 6 Maximum Flow Problems Flows and Cuts Augmenting Path Algorithm.
Network Optimization Models: Maximum Flow Problems
MAXIMUM FLOW Max-Flow Min-Cut Theorem (Ford Fukerson’s Algorithm)
1 Augmenting Path Algorithm s t G: Flow value = 0 0 flow capacity.
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 Augmenting Path Algorithm s t G: Flow value = 0 0 flow capacity.
Network Optimization Models: Maximum Flow Problems In this handout: The problem statement Solving by linear programming Augmenting path algorithm.
3 t s the black numbers next to an arc is its capacity.
A network is shown, with a flow f. v u 6,2 2,2 4,1 5,3 2,1 3,2 5,1 4,1 3,3 Is f a maximum flow? (a) Yes (b) No (c) I have absolutely no idea a b c d.
and 6.855J The Capacity Scaling Algorithm.
CS 4407, Algorithms University College Cork, Gregory M. Provan Network Optimization Models: Maximum Flow Problems In this handout: The problem statement.
& 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.
15.082J and 6.855J March 4, 2003 Introduction to Maximum Flows.
3 t s2s2 s1s the black number next to an arc is its capacity.
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.
Cycle Canceling Algorithm
Lecture 5 – Integration of Network Flow Programming Models
Lecture 5 – Integration of Network Flow Programming Models
EMIS 8374 Node Splitting updated 27 January 2004
Greedy Technique.
The Shortest Augmenting Path Algorithm for the Maximum Flow Problem
Solving maximum flows on distribution networks:
Introduction to Maximum Flows
7. Ford-Fulkerson Demo.
7. Ford-Fulkerson Demo.
Introduction Basic formulations Applications
EMIS 8374 Arc-Path Formulation Updated 2 April 2008
Vertex Covers, Matchings, and Independent Sets
Not Always Feasible 2 (3,5) 1 s (0,2) 3 (, u) t.
Max Flow Application: Precedence Relations
Augmenting Path Algorithm
Primal-Dual Algorithm
Complexity of Ford-Fulkerson
Max Flow Problem Given network N=(V,A), two nodes s,t of V, and capacities on the arcs: uij is the capacity on arc (i,j). Find non-negative flow fij for.
Successive Shortest Path Algorithm
and 6.855J March 6, 2003 Maximum Flows 2
7. Ford-Fulkerson Demo.
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 problems II.
The Ford-Fulkerson Algorithm
Augmenting Path Algorithm
Introduction to Maximum Flows
7. Edmonds-Karp Algorithm
EMIS 8374 Maximum Concurrent Flow Updated 3 April 2008
7. Edmonds-karp Demo.
7. Ford-Fulkerson Demo.
7. Ford-Fulkerson Demo.
7. Ford-Fulkerson Demo.
7. Ford-Fulkerson Demo.
Introduction to Minimum Cost Flows
Introduction to Maximum Flows
7. Ford-Fulkerson Demo.
The Successive Shortest Path Algorithm
Not Always Feasible 2 (3,5) 1 s (0,2) 3 (, u) t.
Network Optimization Models: Maximum Flow Problems
7. Ford-Fulkerson Demo.
Max Flows 3 Preflow-Push Algorithms
Maximum Flow Problems in 2005.
Vertex Covers and Matchings
EMIS 8374 Max-Flow in Undirected Networks Updated 18 March 2008
EMIS The Maximum Flow Problem: Flows and Cuts Updated 6 March 2008
Lecture 12 Network Models.
Presentation transcript:

EMIS 8374 The Maximum Flow Problem: Residual Flows and Networks Updated 3 March 2008

The Residual Network Given a flow x, the residual capacity rij of arc (i, j) is the maximum additional flow that can be sent from i to j using arcs (i, j) and (j, i) rij = uij – xij + xji The residual network is G(x) = (N, A) with the capacity of arc (i, j) = rij

The Residual Network rij = (uij – xij) + xji (uij – xij) = unused capacity on (i, j) xji = flow from j to i that can be reduced to increase the net flow from i to j

Residual Capacity Example xij = 8, uij = 10 i j xji = 2, uji = 5 Net flow from i to j = 8 – 2 = 6 Net flow from j to i = 2 – 8 = -6 rij = (10 – 8) + 2= 4 i j rji = (5 – 2) + 8 = 11

Residual Network Example: Feasible Flow x (2,2) 2 4 (4,5) (2,4) 1 (2,4) 6 t s (5,6) (7,7) 3 5 (5,5) (xij, uij > 0) i j

Residual Network for flow x 2 2 4 2 1 2 4 2 1 6 t s 2 1 7 3 5 5 5 rij i j

Residual Capacity of an s-t Cut Consider an s-t cut [S, T] An arc (i, j) with i in S and j in T is called a forward arc An arc (i, j) with i in T and j in S is called a backwards arc Residual capacity r[S, T] = sum of the residual capacities of the forward arcs in the cut.

Residual Capacity of Example Cut 1: S = {1}, T = {2, 3, 4, 5, 6} 7 3 5 5 5 r[S, T] = 1 + 1 = 2

Residual Capacity of Example Cut 2: S = {1, 3, 5}, T = {2, 4, 6} 7 3 5 5 5 r[S, T] = 1

Residual Capacity of Example Cut 3: S = {1, 2, 3, 5}, T = {4, 6} 2 4 2 1 6 t s 2 1 7 3 5 5 5 r[S, T] = 0