A POLYNOMIAL COMBINATORIAL ALGORITHM FOR GENERALIZED MINIMUM COST FLOW, KEVIN D. WAYNE Eyal Dushkin – 03.06.13.

Slides:



Advertisements
Similar presentations
and 6.855J Cycle Canceling Algorithm. 2 A minimum cost flow problem , $4 20, $1 20, $2 25, $2 25, $5 20, $6 30, $
Advertisements

Maximum Flow and Minimum Cut Problems In this handout: Duality theory Upper bounds for maximum flow value Minimum Cut Problem Relationship between Maximum.
Min Cost Flow: Polynomial Algorithms. Overview Recap: Min Cost Flow, Residual Network Potential and Reduced Cost Polynomial Algorithms Approach Capacity.
Outline LP formulation of minimal cost flow problem
C&O 355 Lecture 23 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A A A A A A A A.
1 Maximum flow sender receiver Capacity constraint Lecture 6: Jan 25.
EMIS 8374 Vertex Connectivity Updated 20 March 2008.
Chapter 6 Maximum Flow Problems Flows and Cuts Augmenting Path Algorithm.
Max Flow: Shortest Augmenting Path
Network Optimization Models: Maximum Flow Problems
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.
1 COMMONWEALTH OF AUSTRALIA Copyright Regulations 1969 WARNING This material has been reproduced and communicated to you by or on behalf.
Complexity 16-1 Complexity Andrei Bulatov Non-Approximability.
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
Network Optimization Problems: Models and Algorithms This handout: Minimum Spanning Tree Problem.
1 Vertex Cover Problem Given a graph G=(V, E), find V' ⊆ V such that for each edge (u, v) ∈ E at least one of u and v belongs to V’ and |V’| is minimized.
Network Optimization Models: Maximum Flow Problems In this handout: The problem statement Solving by linear programming Augmenting path algorithm.
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.
Approximation Algorithms for the Traveling Salesperson Problem.
Job Scheduling Lecture 19: March 19. Job Scheduling: Unrelated Multiple Machines There are n jobs, each job has: a processing time p(i,j) (the time to.
Minimum Cost Flow Lecture 5: Jan 25. Problems Recap Bipartite matchings General matchings Maximum flows Stable matchings Shortest paths Minimum spanning.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Steiner trees Algorithms and Networks. Steiner Trees2 Today Steiner trees: what and why? NP-completeness Approximation algorithms Preprocessing.
1 IOE/MFG 543 Chapter 7: Job shops Sections 7.1 and 7.2 (skip section 7.3)
Minimum Spanning Trees. Subgraph A graph G is a subgraph of graph H if –The vertices of G are a subset of the vertices of H, and –The edges of G are a.
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.
Networks and the Shortest Path Problem.  Physical Networks  Road Networks  Railway Networks  Airline traffic Networks  Electrical networks, e.g.,
Design Techniques for Approximation Algorithms and Approximation Classes.
Approximating Minimum Bounded Degree Spanning Tree (MBDST) Mohit Singh and Lap Chi Lau “Approximating Minimum Bounded DegreeApproximating Minimum Bounded.
Modeling and Evaluation with Graph Mohammad Khalily Dermany Islamic Azad University, Khomein branch.
Approximating the Minimum Degree Spanning Tree to within One from the Optimal Degree R 陳建霖 R 宋彥朋 B 楊鈞羽 R 郭慶徵 R
© B.Raghavachari & J.Veerasamy, UTD 1 Euler tours, postman tours and mixed graphs Jeyakesavan Veerasamy* * Joint work with Balaji Raghavachari Samsung.
Approximation Algorithms for Knapsack Problems 1 Tsvi Kopelowitz Modified by Ariel Rosenfeld.
Maximization of Network Survivability against Intelligent and Malicious Attacks (Cont’d) Presented by Erion Lin.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
The minimum cost flow problem. Simplifying assumptions Network is connected (as an undirected graph). – We can consider each connected component separately.
1 COMMONWEALTH OF AUSTRALIA Copyright Regulations 1969 WARNING This material has been reproduced and communicated to you by or on behalf.
Partitioning Graphs of Supply and Demand Generalization of Knapsack Problem Takao Nishizeki Tohoku University.
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)
Graphs A ‘Graph’ is a diagram that shows how things are connected together. It makes no attempt to draw actual paths or routes and scale is generally inconsequential.
15.082J and 6.855J March 4, 2003 Introduction to Maximum Flows.
15.082J & 6.855J & ESD.78J September 30, 2010 The Label Correcting Algorithm.
Prof. Swarat Chaudhuri COMP 382: Reasoning about Algorithms Fall 2015.
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
CSCI-256 Data Structures & Algorithm Analysis Lecture Note: Some slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved. 11.
1 Maximum Flows CONTENTS Introduction to Maximum Flows (Section 6.1) Introduction to Minimum Cuts (Section 6.1) Applications of Maximum Flows (Section.
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.
::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.
Steiner trees: Approximation Algorithms
Cycle Canceling Algorithm
Submodularity Reading Group Minimum Cut, Dinic’s Algorithm
Lectures on Network Flows
1.3 Modeling with exponentially many constr.
James B. Orlin Presented by Tal Kaminker
Solving maximum flows on distribution networks:
Analysis of Algorithms
1.3 Modeling with exponentially many constr.
Algorithms (2IL15) – Lecture 7
Flow Feasibility Problems
Lecture 28 Approximation of Set Cover
Constructing a m-connected k-Dominating Set in Unit Disc Graphs
Vertex Covers and Matchings
Presentation transcript:

A POLYNOMIAL COMBINATORIAL ALGORITHM FOR GENERALIZED MINIMUM COST FLOW, KEVIN D. WAYNE Eyal Dushkin –

REMINDER – GENERALIZED FLOWS u 10 v V received 8 units of flow!

REMINDER - GENERALIZED MINIMUM COST FLOWS

PROBLEM HISTORY

POLYNOMIAL COMBINATORIAL ALGORITHM FOR GENERALIZED MINIMUM COST FLOW (2003) We solve the generalized minimum cost circulation problem, in which all supplies and demands are zero We present combinatorial algorithms which solve the problem in a polynomial time These algorithms are strongly polynomial approximation schemes for the minimum cost circulation problem

GENERALIZED MINIMUM COST CIRCULATION

ASSUMPTIONS

RESIDUAL NETWORKS u v u v 4020

CIRCULATION DECOMPOSITION The gain of a cycle is the product of the gain factors of arcs participating in that cycle A unit-gain cycle is a cycle whose gain is equal to one A flow-generating cycle is a cycle whose gain is greater than one A flow-absorbing cycle is a cycle whose gain is less than one

CIRCULATION DECOMPOSITION A unit-gain cycle is a cycle whose gain is equal to one A flow-generating cycle is a cycle whose gain is greater than one A flow-absorbing cycle is a cycle whose gain is less than one

CIRCULATION DECOMPOSITION A bicycle is a flow-generating cycle, a flow-absorbing cycle, and a (possibly trivial) path from the first to the second

CIRCULATION DECOMPOSITION

CIRCUITS AND COSTS

CIRCUIT CANCELING ALGORITHM We start with a feasible circulation g = 0 and then repeatedly cancel a negative cost residual circuit Klein's cycle-canceling (in non-generalized networks):  Initialize g = 0  Repeat:  Cancel a negative cost circuit in Gg  Update g  until optimal Complexity: Very bad! NP-hard even to detect a unit-gain cycle …

CIRCUIT CANCELING ALGORITHM (2 ND TRY) u v u Cost = = -45 Mean Cost = ( )/3 = -15

CIRCUIT CANCELING ALGORITHM (3 RD TRY) u v u

CIRCUIT CANCELING ALGORITHM

ALGORITHM CORRECTNESS

MINIMUM RATIO CIRCUIT ALGORITHM In this section we discuss 3 matters: 1. Detecting a circuit 2. Detecting a negative cost circuit 3. Finding a minimum ratio circuit

DETECTING A CIRCUIT A circuit is either a bicycle or a unit-gain cycle Recall: a bicycle is a flow-generating cycle and a flow-absorbing cycle connected by a path from the first to the second Detecting a circuit: Step 1 - Detecting a bicycle Step 2 - Remove the bicycles and detect unit-gain cycles

STEP1 - DETECTING A BICYCLE First find a subset of nodes that leads to a flow-absorbing cycle or participate in such one

STEP1 - DETECTING A BICYCLE /2 61 3/4 1

STEP1 - DETECTING A BICYCLE 3/ / /4 1

STEP1 - DETECTING A BICYCLE 3/ / /4 1

STEP1 - DETECTING A BICYCLE 3/4 1 1/ /4 1

STEP1 - DETECTING A BICYCLE 9/16 1 1/ /4 1 nth-step

STEP1 - DETECTING A BICYCLE / /4 1 (2n-1)th-step

STEP1 - DETECTING A BICYCLE / /4 1 (2n)th-step

STEP1 - DETECTING A BICYCLE

STEP2 - DETECTING A UNIT-GAIN CYCLE 1. Detect unit-gain cycles in the subgraph induced by V\N – On Board 2. Detect unit-gain cycles in the subgraph induced by N – On Board

MINIMUM RATIO CIRCUIT ALGORITHM

DETECTING A NEGATIVE COST CIRCUIT

2VPI (2 Variables Per Inequality) Feasibility

2VPI Feasibility

MINIMUM RATIO CIRCUIT ALGORITHM

FINDING A MINIMUM RATIO CIRCUIT

FINDING A MINIMUM RATIO CIRCUIT – ANAYLSIS (NO PROOF)

MINIMUM RATIO CIRCUIT ALGORITHM

ALGORITHM CORRECTNESS

SCALING VERSION The bottleneck computation in the former was detecting min ratio circuits Idea: Cancel approximately min ratio circuits Improvement: Cancel negative cost circuits instead of min ratio circuits (factor n speeds up)

SCALING VERSION

ALGORITHMS SUMMARY Approximation Algorithms 1 st AlgorithmFaster Scaling Version What About Exact Algorithms ?

ROUNDING TO A VERTEX

ALGORITHMS SUMMARY Approximation Algorithms 1 st AlgorithmFaster Scaling Version Exact Algorithms 1 st AlgorithmFaster Scaling Version

QUESTIONS? Eyal Dushkin –