The minimum cost flow problem. Simplifying assumptions Network is connected (as an undirected graph). – We can consider each connected component separately.

Slides:



Advertisements
Similar presentations
Maximum flow Main goals of the lecture:
Advertisements

Outline LP formulation of minimal cost flow problem
1 Maximum flow sender receiver Capacity constraint Lecture 6: Jan 25.
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)
Prof. Swarat Chaudhuri COMP 482: Design and Analysis of Algorithms Spring 2012 Lecture 19.
1 Chapter 7 Network Flow Slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved.
Lectures on Network Flows
1 Chapter 7 Network Flow Slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved.
Network Optimization Models: Maximum Flow Problems In this handout: The problem statement Solving by linear programming Augmenting path algorithm.
The max flow problem
Maximum Flows Lecture 4: Jan 19. Network transmission Given a directed graph G A source node s A sink node t Goal: To send as much information from s.
1 The Min Cost Flow Problem. 2 Flow Networks with Costs Flow networks with costs are the problem instances of the min cost flow problem. A flow network.
CSE 421 Algorithms Richard Anderson Lecture 22 Network Flow.
1 The Min Cost Flow Problem. 2 The Min Cost Flow problem We want to talk about multi-source, multi-sink flows than just “flows from s to t”. We want to.
15.082J, 6.855J, and ESD.78J September 21, 2010 Eulerian Walks Flow Decomposition and Transformations.
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.
Lecture 5: Network Flow Algorithms Single-Source Shortest-Path (SSSP) (Dijkstra's Algorithm) Max Flow - Min Cut (Ford-Fulkerson) Job Sequencing.
Lecture 16 Maximum Matching. Incremental Method Transform from a feasible solution to another feasible solution to increase (or decrease) the value of.
1 COMMONWEALTH OF AUSTRALIA Copyright Regulations 1969 WARNING This material has been reproduced and communicated to you by or on behalf.
CS 4407, Algorithms University College Cork, Gregory M. Provan Network Optimization Models: Maximum Flow Problems In this handout: The problem statement.
Max Flow – Min Cut Problem. Directed Graph Applications Shortest Path Problem (Shortest path from one point to another) Max Flow problems (Maximum material.
Maximum Flow Problem (Thanks to Jim Orlin & MIT OCW)
Maximum Flow Chapter 26. Flow Concepts Source vertex s – where material is produced Sink vertex t – where material is consumed For all other vertices.
& 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.
CS223 Advanced Data Structures and Algorithms 1 Maximum Flow Neil Tang 3/30/2010.
15.082J & 6.855J & ESD.78J October 7, 2010 Introduction to Maximum Flows.
15.082J and 6.855J March 4, 2003 Introduction to Maximum Flows.
CSCI-256 Data Structures & Algorithm Analysis Lecture Note: Some slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved. 25.
10/11/10 A. Smith; based on slides by E. Demaine, C. Leiserson, S. Raskhodnikova, K. Wayne Adam Smith Algorithm Design and Analysis L ECTURE 21 Network.
1 EE5900 Advanced Embedded System For Smart Infrastructure Static Scheduling.
Network Analysis Maxflow. What is a Network? Directed connected graph Source node Sink (destination node) Arcs are weighted (costs) Represent a system.
CSEP 521 Applied Algorithms Richard Anderson Lecture 8 Network Flow.
CSE 421 Algorithms Richard Anderson Lecture 22 Network Flow.
The minimum cost flow problem. Solving the minimum cost flow problem.
::Network Optimization:: Minimum Spanning Trees and Clustering Taufik Djatna, Dr.Eng. 1.
Minimum Cost Flow Algorithms and Networks. Algorithms and Networks: Minimum Cost Flow2 This lecture The minimum cost flow problem: statement and applications.
The minimum cost flow problem
CS4234 Optimiz(s)ation Algorithms
Lectures on Network Flows
Richard Anderson Lecture 23 Network Flow
Algorithms and Networks
Lecture 22 Network Flow, Part 2
James B. Orlin Presented by Tal Kaminker
Lecture 16 Maximum Matching
Network Flow 2016/04/12.
Edmonds-Karp Algorithm
7. Ford-Fulkerson Demo.
7. Ford-Fulkerson Demo.
Lecture 19-Problem Solving 4 Incremental Method
Richard Anderson Lecture 21 Network Flow
EMIS 8373 Complexity of Linear Programming
Algorithms and Networks
Lecture 21 Network Flow, Part 1
7. Ford-Fulkerson Demo.
7. Ford-Fulkerson Algorithm with multiple optimal solutions
The Ford-Fulkerson Algorithm
Introduction to Maximum Flows
Maximum Flow Neil Tang 4/8/2008
7. Ford-Fulkerson Demo.
7. Ford-Fulkerson Demo.
7. Ford-Fulkerson Demo.
7. Ford-Fulkerson Demo.
Lecture 22 Network Flow, Part 2
Introduction to Maximum Flows
7. Ford-Fulkerson Demo.
7. Ford-Fulkerson Demo.
Maximum Flow Problems in 2005.
Presentation transcript:

The minimum cost flow problem

Simplifying assumptions Network is connected (as an undirected graph). – We can consider each connected component separately. Network is uncapacitated (no arc constraints). – We can transform any network to an equivalent uncapacitated network. – Alternatively: The network simplex algorithm can be extended to handle upper and lower bounds. The network has no 2-cycles – Only simplifies the exposition. The algorithm works also with 2-cycles.

Klein’s cycle cancelling algorithm

Cycle flows

Observations

Augmenting cycles

Klein’s algorithm.

The residual network Like the residual network used in the Ford- Fulkerson max-flow algorithm – represents possible changes to flow on arcs maintaining feasibility. Here the residual network will: – Have the same set of nodes. – Specify that feasible flows must be circulations. – Have upper bounds (a.k.a. residual capacities) and costs, but no lower bounds.

Definition of the residual network

Observations

Difference between feasible flows.

Adding feasible residual flow.

Finding a negative cycle

Partial correctness

Proof of partial correctness

Termination Like the Ford-Fulkerson max-flow algorithm, Klein’s cycle cancelling algorithm is not guaranteed to terminate! However if all balances, lower bounds, and upper bounds are integers and we start with an integer feasible flow we must terminate. Proof: Only finitely many feasible integer flows and we improve in each iteration.

Complexity Each iteration may be done efficiently. Even when guaranteed termination by integer input the algorithm may take exponential time. There exists a choice for selecting an augmenting cycle leading to a polynomial worst case running time! In practice: Hard to compete with optimized network simplex algorithm.

Finding the first feasible flow