Reading before Lecture 13

Slides:



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

NetworkModel-1 Network Optimization Models. NetworkModel-2 Network Terminology A network consists of a set of nodes and arcs. The arcs may have some flow.
15.082J, 6.855J, and ESD.78J September 21, 2010 Eulerian Walks Flow Decomposition and Transformations.
and 6.855J The Capacity Scaling Algorithm.
Modeling and Evaluation with Graph Mohammad Khalily Dermany Islamic Azad University, Khomein branch.
EMIS 8373: Integer Programming “Easy” Integer Programming Problems: Network Flow Problems updated 11 February 2007.
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.
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.
Cycle Canceling Algorithm
Network Simplex Animations
Algorithms and Networks
Lecture 5 – Integration of Network Flow Programming Models
Dijkstra’s Algorithm with two levels of buckets
Lecture 5 – Integration of Network Flow Programming Models
The Shortest Augmenting Path Algorithm for the Maximum Flow Problem
Solving maximum flows on distribution networks:
Introduction to Maximum Flows
Transportation, Assignment and Network Models
Introduction to Maximum Flows
15.082J & 6.855J & ESD.78J Visualizations
Dijkstra’s Algorithm for the Shortest Path Problem
15.082J & 6.855J & ESD.78J Visualizations
Lecture 6 Shortest Path Problem.
Dijkstra’s Algorithm for the Shortest Path Problem
Breadth first search animation
Introduction Basic formulations Applications
Lecture 4 Graph Search.
Introduction to Minimum Cost Flows
Not Always Feasible 2 (3,5) 1 s (0,2) 3 (, u) t.
EMIS 8374 Shortest Path Problems: Introduction Updated 9 February 2008
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
Algorithms and Networks
15.082J & 6.855J & ESD.78J Radix Heap Animation
Network Optimization Depth First Search
Introduction to Algorithms
Min Global Cut Animation
Network Optimization Flow Decomposition.
Dijkstra’s Algorithm for Shortest Paths
The Shortest Augmenting Path Algorithm for the Maximum Flow Problem
The Shortest Augmenting Path Algorithm for the Maximum Flow Problem
The Ford-Fulkerson Algorithm
Network Optimization Topological Ordering
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.
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
15.082J & 6.855J & ESD.78J Visualizations
Shortest Path Solutions
The Minimum Cost Spanning Tree Problem
and 6.855J Depth First Search
Breadth first search animation
Slides on Network Optimization based on slides prepared by J.B. Orlin
OPIM 915 Fall 2010 Data Structures 23-38,
Introduction to Minimum Cost Flows
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.
EMIS 8374 Max-Flow in Undirected Networks Updated 18 March 2008
15.082J & 6.855J & ESD.78J Visualizations
Presentation transcript:

Reading before Lecture 13 Network Flow

Flow Decomposition and Transformations

j

The Flow Decomposition Algorithm 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.)

begin Initialize while y   do Select(s, y) Search(s, y) if a cycle C is found then do let D = Capacity(C, y) Add Flow(D, C) to cycle flows Subtract Flow(D, C) from y. end if a path P is found then do let D = Capacity(P, y) Add Flow(D, P) to path flows Subtract Flow(D, P) from y.

The initial flow 7 2 4 4 3 3 8 2 1 6 -2 4 4 2 3 5 5 9 A supply node The flow x A demand node A balanced node

Find a Path or Cycle 7 2 4 4 3 3 8 2 1 1 6 -2 4 4 Carry out a depth first search until a cycle C or a path P is found Select a supply node 2 3 5 5 9 Determine the capacity The capacity is 2.

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

Find the next path or cycle 5 2 4 3 2 3 6 Start at a supply node and find the next cycle or path 2 1 1 6 -2 4 4 3 5 5 7 2 units around 1-2-4-5-3-1 cycle flows path flows

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

Find the next flow or cycle 2 2 4 3 2 start with a supply node and find the next flow or cycle. 3 2 1 1 6 -2 4 4 3 5 5 4 The capacity of 4-5-3-4 is 3 2 units around 1-2-4-5-3-1 3 units around 2-4-5-3-2 cycle flows path flows

update the current flow and decomposition 2 1 1 6 -2 4 1 4 3 2 3 update the current flow and decomposition 2 1 1 6 -2 4 1 4 3 5 5 1 4 2 units around 1-2-4-5-3-1 3 units around 2-4-5-3-2 3 units around 4-5-3-4 cycle flows path flows

Find the next flow or cycle start with a supply node and find the next flow or cycle. 2 2 4 3 2 2 1 1 6 -2 1 4 The capacity of 1-2-4-6 is 2 3 5 5 1 4 2 units around 1-2-4-5-3-1 3 units around 2-4-5-3-2 3 units around 4-5-3-4 cycle flows path flows

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

Find the next path or cycle start with any node incident to an arc with flow and find the next flow or cycle. 2 4 1 1 6 -2 1 4 3 3 5 5 4 1 2 units around 1-2-4-5-3-1 3 units around 2-4-5-3-2 2 units in 1-2-4-6 3 units around 4-5-3-4 cycle flows path flows

Update 2 4 1 1 6 -2 1 4 3 3 5 5 4 4 1 cycle flows path flows 2 4 1 1 6 -2 1 4 3 3 5 5 4 4 1 2 units around 1-2-4-5-3-1 3 units around 2-4-5-3-2 2 units in 1-2-4-6 3 units around 4-5-3-4 1 units around 3-4-6-5-3 cycle flows path flows

The Final Decomposition 2 4 1 6 -2 4 3 5 4 2 units around 1-2-4-5-3-1 3 units around 2-4-5-3-2 3 units around 4-5-3-4 2 units in 1-2-4-6 1 units around 3-4-6-5-3 4 units around 5-6-5 cycle flows path flows

(yki + lki)

bi 1 1 bj+uij -uij -1 -1 -uij -1 -1 -uij xij xij sij bi bj+uij bj bi

Exercise Transform the following network for removing arc capacities. (5,10) (6,30) (cij, uij) (4,20) (1,10)

Homework Readings Section 2.4 Section 3.5 Exercises Exercise 2.42