Network Optimization Flow Decomposition.

Slides:



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

15.082J & 6.855J & ESD.78J Shortest Paths 2: Bucket implementations of Dijkstra’s Algorithm R-Heaps.
ENGM 732 Formalization of Network Flows Network Flow Models.
Chapter 6 Maximum Flow Problems Flows and Cuts Augmenting Path Algorithm.
15.082J, 6.855J, and ESD.78J Sept 16, 2010 Lecture 3. Graph Search Breadth First Search Depth First Search Intro to program verification Topological Sort.
Management Science 461 Lecture 2b – Shortest Paths September 16, 2008.
The Out of Kilter Algorithm in Introduction The out of kilter algorithm is an example of a primal-dual algorithm. It works on both the primal.
15.082J and 6.855J and ESD.78J November 4, 2010 The Network Simplex Algorithm.
& 6.855J & ESD.78J Algorithm visualizations Modified Label Correcting Algorithm.
15.082J, 6.855J, and ESD.78J September 21, 2010 Eulerian Walks Flow Decomposition and Transformations.
and 6.855J The Capacity Scaling Algorithm.
15.082J and 6.855J and ESD.78J November 30, 2010 The Multicommodity Flow Problem.
Minimum Cost Flows. 2 The Minimum Cost Flow Problem u ij = capacity of arc (i,j). c ij = unit cost of shipping flow from node i to node j on (i,j). x.
EMIS 8373: Integer Programming “Easy” Integer Programming Problems: Network Flow Problems updated 11 February 2007.
15.082J and 6.855J and ESD.78J October 19, 2010 Max Flows 3 Preflow-Push Algorithms.
1 Network Models Transportation Problem (TP) Distributing any commodity from any group of supply centers, called sources, to any group of receiving.
EMIS 8374 Network Flow Models updated 29 January 2008.
& 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 & 6.855J & ESD.78J October 7, 2010 Introduction to Maximum Flows.
Network Simplex Animations Network Simplex Animations.
15.082J and 6.855J and ESD.78J The Successive Shortest Path Algorithm and the Capacity Scaling Algorithm for the Minimum Cost Flow Problem.
EMIS 8374 The Ford-Fulkerson Algorithm (aka the labeling algorithm) Updated 4 March 2008.
15.082J and 6.855J and ESD.78J Network Simplex Animations.
Tuesday, March 19 The Network Simplex Method for Solving the Minimum Cost Flow Problem Handouts: Lecture Notes Warning: there is a lot to the network.
Representing Graphs Depth First Search Breadth First Search Graph Searching Algorithms.
Cycle Canceling Algorithm
Max-flow, Min-cut Network flow.
School of Computing Clemson University Fall, 2012
Network Optimization J.B. Orlin
The minimum cost flow problem
Network Flow Problems – Shortest Path Problem
ENGM 535 Optimization Networks
Dijkstra’s Algorithm with two levels of buckets
The Network Simplex Method
Max-flow, Min-cut Network flow.
EMIS 8374 Node Splitting updated 27 January 2004
Network Flow 2016/04/12.
The Shortest Augmenting Path Algorithm for the Maximum Flow Problem
15.082J & 6.855J & ESD.78J Visualizations
Dijkstra’s Algorithm for the Shortest Path Problem
15.082J & 6.855J & ESD.78J Visualizations
Breadth first search animation
Not Always Feasible 2 (3,5) 1 s (0,2) 3 (, u) t.
and 6.855J Flow Decomposition
Chapter 6 Network Flow Models.
Successive Shortest Path Algorithm
Advanced LP models column generation.
15.082J & 6.855J & ESD.78J Radix Heap Animation
Network Optimization Depth First Search
Introduction to Algorithms
Min Global Cut Animation
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
Network Optimization Topological Ordering
Visualizations Dijkstra’s Algorithm
Network Simplex Animations
Eulerian Cycles in directed graphs
and 6.855J Topological Ordering
15.082J & 6.855J & ESD.78J Visualizations
and 6.855J Depth First Search
Introduction to Minimum Cost Flows
The Successive Shortest Path Algorithm
Not Always Feasible 2 (3,5) 1 s (0,2) 3 (, u) t.
15.082J & 6.855J & ESD.78J Visualizations
EMIS 8374 Search Algorithms: DFS Updated 12 February 2004
Presentation transcript:

Network Optimization Flow Decomposition

The initial flow 7 2 4 4 3 3 8 2 -2 1 6 4 4 2 3 5 5 9 A deficit node (more flow leaving than entering). An excess node (more flow entering than leaving) A balanced node (flow in = flow out)

Find a Path or Cycle W Select a node with deficit if there is one. 7 2 4 4 3 3 8 2 1 1 6 -2 4 4 2 Carry out a depth first search. Stop when a node with excess is reached or when there is a cycle. 3 5 5 9 2 4 5 3 1 Determine the capacity of the walk W. The capacity of 1-2-4-5-3-1 is 2.

Updates Add the flow in W to the decomposition. 7 5 2 4 4 2 3 3 6 8 2 1 1 6 -2 4 4 Subtract the flow in W from the current flow. 2 3 5 5 9 7 2 units around 1-2-4-5-3-1 cycle flows path flows

Find a path or cycle W Select a node with deficit if there is one. 5 2 4 2 3 3 6 2 1 1 6 -2 4 4 Carry out a dfs. Determine the capacity of W. 3 5 5 7 2 4 5 3 The capacity of 2-4-5-3-2 is 3.

Updates Add the cycle flow to the decomposition 2 5 2 4 2 3 3 6 3 2 1 6 3 2 1 1 6 -2 4 4 update the current flow 3 5 5 4 7 2 units around 1-2-4-5-3-1 3 units around 2-4-5-3-2 cycle flows path flows

Find a path or cycle using dfs Select a node with deficit if there is one. 2 2 4 2 3 3 2 1 1 6 -2 4 4 Carry out a dfs. Determine the capacity of W. 3 5 5 4 6 2 3 -2 1 4 capacity of a path = min {arc capacity, excess, deficit} = 2

Updates Add the path flow to the decomposition 2 2 4 2 1 3 3 2 1 1 6 6 2 2 4 2 1 3 3 2 1 1 6 6 -2 4 4 update the current flow 3 5 5 4 2 units around 1-2-4-5-3-1 2 units in 1-2-4-6 3 units around 2-4-5-3-2 cycle flows path flows

Find a path or cycle using dfs Select a node with deficit if there is one. Otherwise, select any node with flow leaving. 2 4 1 3 1 1 6 6 4 4 3 3 5 5 4 Carry out a dfs. 5 4 6 3 Determine the capacity of W. The capacity is 1

Updates Add the cycle flow to the decomposition 2 4 1 3 1 1 6 6 3 4 4 3 1 1 6 6 3 4 4 update the current flow 3 5 4 5 4 3 2 units around 1-2-4-5-3-1 2 units in 1-2-4-6 3 units around 2-4-5-3-2 1 unit around 3-4-6-5-3 cycle flows path flows

Find a path or cycle using dfs Select a node with deficit if there is one. Otherwise, select any node with flow leaving. 2 4 3 1 1 6 6 3 4 3 3 5 4 3 Carry out a dfs. Determine the capacity of W. The capacity of 3-4-5-3 is 3

Updates Add the cycle flow to the decomposition 2 4 3 1 1 6 6 3 4 update the current flow 3 5 4 3 2 units around 1-2-4-5-3-1 3 units around 2-4-5-3-2 2 units in 1-2-4-6 1 unit around 3-4-6-5-3 3 units around 3-4-5-3 cycle flows path flows

Find a path or cycle using dfs Select a node with deficit if there is one. Otherwise, select any node with flow leaving. 2 4 1 1 6 6 4 3 5 5 4 Carry out a dfs. Determine the capacity of W.

Updates and the final flow decomposition Add the cycle flow to the decomposition 2 4 1 1 6 6 4 update the current flow 3 5 2 units around 1-2-4-5-3-1 3 units around 2-4-5-3-2 2 units in 1-2-4-6 1 unit around 3-4-6-5-3 3 units around 3-4-5-3 4 units around 5-6-5 cycle flows path flows

15.082J / 6.855J / ESD.78J Network Optimization MITOpenCourseWare http://ocw.mit.edu 15.082J / 6.855J / ESD.78J Network Optimization Fall 2010 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.