u = 50 u = 30 Generalized Maximum Flow Problem s u = 00 2 u = 00 u = 50 4 = 3=4 u = 00 t capacity u = 20 3 u = 20 = =2 5 u = 00 gain/loss factor Max o

Size: px
Start display at page:

Download "u = 50 u = 30 Generalized Maximum Flow Problem s u = 00 2 u = 00 u = 50 4 = 3=4 u = 00 t capacity u = 20 3 u = 20 = =2 5 u = 00 gain/loss factor Max o"

Transcription

1 Generalized Max Flows Kevin Wayne Cornell University = 3=4 40 v w 30 advisor: Eva Tardos

2 u = 50 u = 30 Generalized Maximum Flow Problem s u = 00 2 u = 00 u = 50 4 = 3=4 u = 00 t capacity u = 20 3 u = 20 = =2 5 u = 00 gain/loss factor Max ow sent to t capacity constraints ow conservation constraints (generalized) = 3=4 u = v w 30 Kevin Wayne

3 u = 50 u = 30 Generalized Maximum Flow Problem s u = 00 2 u = 00 u = 50 4 = 3=4 u = 00 t capacity u = 20 3 u = 20 = =2 5 u = 00 gain/loss factor Max ow sent to t capacity constraints ow conservation constraints (generalized) = 3=4 u = v w 30

4 u = 50 u = 30 Generalized Maximum Flow Problem s u = 00 2 u = 00 u = 50 4 = 3=4 u = 00 t capacity u = 20 3 u = 20 = =2 5 u = 00 gain/loss factor Max ow sent to t capacity constraints ow conservation constraints (generalized) = 3=4 u = v w 30 Kevin Wayne

5 Organization of Talk. Applications 2. Previous work 3. Combinatorial structure and optimality conditions 4. Exponential-time augmenting path algorithm 5. Polynomial-time variant using gain-scaling 6. Polynomial-time variant using gain-scaling {z } main part of talk Kevin Wayne 2

6 Applications \generalized networks are coming to be appreciated as rivaling or even surpassing pure networks in their practical signicance." - Glover and Klingman Physical transformations: leaky pipes, theft, evaporation, attrition, spoilage, taxes, interest Administrative transformations: currency conversion, production yields, energy blending, machine scheduling Kevin Wayne 3

7 = 68 = =70 Optimal Currency Conversion Convert $,000 to maximum number of French Francs through sequence of currency conversions exchange rates limits on trading capacity DM exchange rate u = 400 = 9=5 = 0=3 = 25 = =2,000 $ Y= F = 5 u = 800 capacity limit Kevin Wayne 4

8 Scheduling Unrelated Parallel Machines Assign jobs to machines to maximize total prot machines have speeds and capacities prot for completing each job requested can split jobs between machines machine i capacity job j requests 60 hrs 50 units s i j $ 0 units/hr $20/unit Machines ij = production rate of job j on machine i Jobs job j prot Kevin Wayne 5

9 General Approach Combinatorial approach (Ford and Fulkerson '50s) Exploit underlying network structure Superior algorithms for traditional network problems { shortest path { max ow { min cost ow { matching { minimum spanning tree Not so much known about combinatorial algorithms for { multicommodity ow { generalized ow Can also be solved by general purpose LP techniques simplex, ellipsoid, interior point Kevin Wayne 6

10 Combinatorial Approach Why generalized ows are harder: supply 6= demand no integrality theorem no max ow - min cut theorem Can still use: linear programming duality New bit-scaling technique: gain-scaling Kevin Wayne 7

11 Problem History Linear programming Dantzig '62 network simplex Onaga '66, Jewell '62 augmenting path Goldberg, Plotkin, Tardos '88 Fat-Path, MCF rst polynomial-time combinatorial algorithms developed combinatorial machinery Goldfarb, Jin, Orlin '96 best worst-case complexity - O (m 3 log B) m = # arcs n = # nodes O = hides polylog(m) factors B = biggest gain/capacity integer Kevin Wayne 8

12 Approximate Problem History Can nd provably good ows faster than optimal ows Approximate ows An -optimal ow is a ow with value at least (, ) OPT Cohen, Meggido '92 strongly polynomial approximation algorithm (# operations depends on size of network only) Radzik '93a, '93b Fat-Path original Fat-Path is strongly polynomial approximation algorithm Fat-Path variant { O (m 2 +mn log log B) approximation algorithm { complicated Kevin Wayne 9

13 My Work Gain-scaling technique provides: this talk Cleanest and simplest polynomial-time algorithm { variant of primal-dual method of Truemper '77 First polynomial-time preow-push algorithm for generalized ows { Goldberg-Tarjan preow-push is most practical traditional max ow algorithm { practical implementation Fat-Path variant { matches best running time for approximate ows { much simpler than Radzik's variant Kevin Wayne 0

14 Organization of Talk. Applications 2. Previous work 3. Combinatorial structure and optimality conditions 4. Exponential-time augmenting path algorithm 5. Polynomial-time variant using gain-scaling Kevin Wayne

15 Residual Network Produces equivalent but potentially simpler problem Original network: G = (V; E;u) = =2 u = $ $ 20 g = 40 ow sent u = capacity; = gain Residual network: G g = (V; E g ; u g ) = =2 u g = 60 $ $ = 2 u g = 20 can undo transaction Kevin Wayne 2

16 u = 50 u = 30 Augmenting Paths Residual network G g : s u = 00 2 u = 00 u = 50 4 = 3=4 u = 00 t u = 20 3 u = 20 = =2 5 u = 00 Augmenting path: residual path from s to t Send unit Q from s to t along path P then (P ) = e2p (e) arrive at t Kevin Wayne 3

17 u = 50 u = 30 Generalized Augmenting Paths optimality () no augmenting paths? No. G g : s u = 00 u = u = 00 u = 50 u = 60 = = 4=3 u = 75 u = 40 u = 60 t Flow-generating cycle: cycle, with (,) > arbitrage opportunity GAP: Residual ow-generating cycle + path to t Kevin Wayne 4

18 u = 50 u = 30 Generalized Augmenting Paths optimality () no augmenting paths? No. G g : s u = 00 u = u = 00 u = 50 u = 60 = = 4=3 u = 75 u = 40 u = 60 t Flow-generating cycle: cycle, with (,) > arbitrage GAP: Residual ow-generating cycle + path to t

19 u = 50 u = 30 Generalized Augmenting Paths optimality () no augmenting paths? No. G g : s u = 00 u = u = 00 u = 50 u = 60 = = 4=3 u = 75 u = 40 u = 60 t Flow-generating cycle: cycle, with (,) > arbitrage GAP: Residual ow-generating cycle + path to t Kevin Wayne 4

20 Optimality Conditions For generalized max ow: Theorem. [Onaga '66] generalized ow g optimal i no augmenting paths or GAPs in G g. For min cost max-ow: Theorem. [Negative Cost Cycle] ow f optimal i no augmenting paths or negative cost cycles in G g. ow-generating cycle () negative cost cycle using cost function c(v; w) =, log (v; w) Kevin Wayne 5

21 Organization of Talk. Applications 2. Previous work 3. Combinatorial structure and optimality conditions 4. Exponential-time augmenting path algorithm 5. Polynomial-time variant using gain-scaling Kevin Wayne 6

22 Onaga's Algorithm '66 Analog to successive shortest path algorithm for min cost ows Assumes no arbitrage initially (i.e., no residual owgenerating cycles) Repeatedly augment ow along some highest-gain (most ecient) augmenting path Can nd with shortest path computation using costs c(v; w) =, log (v; w) Correctness: Does not create ow-generating cycles if augmentations along highest gain path Complexity: Very bad! Kevin Wayne 7

23 Relabeled Network Node labels (dual variables): (v) 0; (t) = Changes local units in which ow is measured Example: Node v changed from dollars to pennies (v) = 00 = # new units per old unit Original network: G = (V; E;u; ) = 0:5 $ $ u = 00 Relabeled network: G = (V; E;u ; ) = 0:005 6c $ u = 0; 000 relabeled gain relabeled capacity Kevin Wayne 8

24 2=3 Canonical Labels Canonical labels: (v) = gain of most ecient (highest-gain) residual v-t path G g : 3=5 2 3=5 4 3=5 3=5 s 2=3 t 4=5 gain factor 3 3=5 3=4 5 4=5 canonical label Can compute if all gain factors using cost function c(v; w) =, log (v; w) Kevin Wayne 9

25 =2 Canonically Relabeled Network Canonical labels: (v) = gain of most ecient (highest-gain) residual v-t path G g; : 2 4 s 8=9 t 3 5 relabeled gain factor After canonical relabeling, { 8 residual arcs (v; w) : (v; w) { 9 gain relabeled residual s-t path Kevin Wayne 20

26 =2 Canonically Relabeled Network Canonical labels: (v) = gain of most ecient (highest-gain) residual v-t path G g; : 2 4 s 8=9 t 3 5 relabeled gain factor After canonical relabeling, { 8 residual arcs (v; w) : (v; w) { 9 gain relabeled residual s-t path

27 =2 Canonically Relabeled Network Canonical labels: (v) = gain of most ecient (highest-gain) residual v-t path G g; : 2 4 s 8=9 t 3 5 relabeled gain factor After canonical relabeling, { 8 residual arcs (v; w) : (v; w) { 9 gain relabeled residual s-t path

28 Canonically Relabeled Network Canonical labels: (v) = gain of most ecient (highest-gain) residual v-t path G g; : 2 4 s t 3 5 relabeled gain factor After canonical relabeling, { 8 residual arcs (v; w) : (v; w) { 9 gain relabeled residual s-t path

29 Truemper's Algorithm '77 Analog of Ford and Fulkerson's primal-dual min cost ow algorithm Maintains ow g and canonical labels such that G g; has only lossy arcs (gain factor ) Augment ow simultaneously along all highest-gain (most ecient) augmenting paths, i.e., all unit gain s-t paths in G g; repeat f canonical labels max ow from s to t in G g; using only = arcs g(v; w) g(v; w) + (v)f (v; w) until no augmenting paths Correctness: as before Kevin Wayne 2

30 Truemper's Algorithm (cont.) Complexity: After each max ow computation, the gain of most ecient augmenting path strictly decreases (optimal if no such paths) # max ow iterations # distinct gains of paths in G If gain factors are powers of 2: Gains of arcs are between B and Gains of residual paths are between B n and At most log 2 B n distinct gains of paths =) n log 2 B max ow iterations Kevin Wayne 22

31 Organization of Talk. Applications 2. Previous work 3. Combinatorial structure and optimality conditions 4. Exponential-time augmenting path algorithm 5. Polynomial-time variant using gain-scaling Kevin Wayne 23

32 New Gain-Scaling Algorithm Gain-scaling = rounding + recursion Applies if G has only lossy residual arcs (gain ) Round gains down to powers of b = (3=2) =n u = 00 = 0:8 v w v w G u = 00 = 0:8 G Find optimal ow in rounded network Truemper's algorithm. G using Complexity: log b B n = O(n 2 log B) max ows Kevin Wayne 24

33 New Gain-Scaling Algorithm Found optimal ow in rounded network G Interpret ow in G = = 0:8 G : v w g = 00 g = 00 g = 50 g = 30 G : = g = 00 v = 0:8 g = 00 w + g = 50 g = 30 Resulting ow in G node excess { satises capacity constraints { is at least as good as ow in G { may violate ow conservation constraints (but only in a good way!) Kevin Wayne 25

34 u = 50 u = 30 Rounded Network Rounded network G close to original network G: 2 3 OPT(G) OPT( G) OPT(G) Path ow formulation: x j = ow sent on path P j = 0:8 s P u = 00 2 u = 00 u = 50 4 = 0:8 u = 8 t u = 20 P 2 3 u = 20 = =2 5 u = 00 Kevin Wayne 26

35 Rounded Network 2 3 OPT(G) OPT( G) let x be optimal path ow in G =) x feasible path ow in G x j = 00 = G : s 2 4 t 65.6 u = 200 = 0:8 u = 200 = 0:8 u = 8 x j = 00 = G : s 2 4 t 64 u = 200 = 0:8 u = 200 = 0:8 u = 8 (P ) (P ) (P ) b jp j 3=2 =) OPT( G) 2 3 OPT(G) (e) (e) b b = (3=2) =n Kevin Wayne 27

36 Geometric Improvement Idea: Compute =3-optimal ow. Recurse. Initialize g 0 repeat g 0 =3-optimal ow in G g g g + g 0 until g is -optimal Analysis: Each iteration captures at least 2=3 of remaining ow, so ow is -optimal in log(=) iterations Our Result. The algorithm computes an -optimal ow in O (mn 3 log B) log(=) time. Kevin Wayne 28

37 3 Canceling Flow-Generating Cycles Truemper's algorithm only works if no gain factor > Can we relabel to eliminate gainy arcs? Yes () no residual ow-generating cycles 2 4 gain factor s =2 t 3 u = 0 5 Cancel ow-generating cycles, creating only excess Kevin Wayne 29

38 Canceling Flow-Generating Cycles Goal: Cancel (saturate) all ow-generating cycles, creating only excesses, so that network can be relabeled as a lossy network Goldberg, Tarjan '88 mean cycle canceling For min cost ows, repeatedly cancel residual cycle with most negative mean cost GPT '88 generalized ow analog Using cost function c(v; w) =, log (v; w), ow-generating cycle () negative cost cycle Repeatedly cancel residual ow-generating cycle with maximum geometric-mean gain O (mn 2 log B) running time Our improved version in rounded networks O (mn log log B) running time Kevin Wayne 30

39 Preow-Push capacity s x t Goldberg, Tarjan '86 preow-push Best algorithm in practice and theory for traditional max ows Each augmentation along an arc instead of whole path (only uses local information) Our Result. There exists a preow-push algorithm for the generalized max ow problem that computes a -optimal ow in O (mn 3 log B) log(=) time. practical implementation Kevin Wayne 3

40 u = Fat-Path u = 00 u = 0 s u = 5 u = 05 t 2 Goldberg, Plotkin, and Tardos '88 augment ow along \Fat-Paths" Bottleneck canceling ow-generating cycles GPT - O (mn 2 log B) O (mn log log B) in our rounded networks Theorem. [Radzik '93] Fat-Path variant computes an -optimal ow in O (m 2 +mn log log B) log(=). cancel only highest gain ow-generating cycles very complicated [Our Result.] Much simpler version, same complexity. Kevin Wayne 32

41 Ideas Needed to Improve Fat-Path Faster cycle-canceling More careful rounding Divide and conquer Kevin Wayne 33

42 Closing Remarks Conclusions New gain-scaling technique { new intuitive combinatorial algorithms { matches best theoretical complexity { promising practical performance Open Problems improve complexity faster implementation (no arbitrage assumption) generalized multicommodity ows generalized min cost ows Kevin Wayne 34

43 Linear Program generalized maximum ow problem max e; g e(t) X w2v g(v; w), X w2v 0 g(v; w) u(v; w) (w; v)g(w; v) = 8 >< >: e(s) v = s 0 v 6= s; t,e(t) v = t minimum cost ow problem min f X w2v X (v;w)2e f (v; w), X w2v c(v; w)f (v; w) 0 f (v; w) u(v; w) f (w; v) = 8 >< >: e(s) v = s 0 v 6= s; t,e(s) v = t Kevin Wayne

44 Linear Program generalized maximum ow problem max e; g e(t) X w2v g(v; w), X w2v 0 g(v; w) u(v; w) (w; v)g(w; v) = 8 >< >: e(s) v = s 0 v 6= s; t,e(t) v = t LP Dual min X (v;w)2e c (v; w)u(v; w) c (v; w) = maxf0;,(v) + (v; w)(w)g 0 = (s) (v) (t) = Kevin Wayne

45 Optimality Conditions for generalized max ow: Theorem. [complementary slackness] g optimal i 9 node labels (v) 0, (s) = 0, and (t) = such that 8 (v; w) 2 E g : (v), (v; w)(w) 0: generalized ow (v) = market price for commodity at node v complementary slack () no protable residual arcs for min cost ow: Theorem. [complementary slackness] i 9 node labels p(v), p(t) = 0 s.t. ow f optimal 8 (v; w) 2 E g : c(v; w) + p(v), p(w) 0: Kevin Wayne

Fast and Simple Approximation Algorithms for Generalized Flow

Fast and Simple Approximation Algorithms for Generalized Flow Fast and Simple Approximation Algorithms for Generalized Flow (flow with losses and gains) Kevin Wayne Princeton University www.cs.princeton.edu/ wayne (with Lisa Fleischer) γ =3/4 40 v w 30 Fast and Simple

More information

On Végh s Strongly Polynomial Algorithm for Generalized Flows

On Végh s Strongly Polynomial Algorithm for Generalized Flows On Végh s Strongly Polynomial Algorithm for Generalized Flows by Venus Hiu Ling Lo A thesis presented to the University of Waterloo in fulfillment of the thesis requirement for the degree of Master of

More information

Polynomial-Time Highest-Gain Augmenting Path Algorithms for the Generalized Circulation Problem. by Donald Goldfarb Zhiying Jin James B.

Polynomial-Time Highest-Gain Augmenting Path Algorithms for the Generalized Circulation Problem. by Donald Goldfarb Zhiying Jin James B. Polynomial-Time Highest-Gain Augmenting Path Algorithms for the Generalized Circulation Problem by Donald Goldfarb Zhiying Jin James B. Orlin WP #3909-96 June 1996 Polynomial-Time Highest-Gain Augmenting

More information

A Faster Combinatorial Approximation Algorithm for Scheduling Unrelated Parallel Machines

A Faster Combinatorial Approximation Algorithm for Scheduling Unrelated Parallel Machines A Faster Combinatorial Approximation Algorithm for Scheduling Unrelated Parallel Machines Martin Gairing, Burkhard Monien, and Andreas Woclaw Faculty of Computer Science, Electrical Engineering and Mathematics,

More information

Algorithms and Theory of Computation. Lecture 11: Network Flow

Algorithms and Theory of Computation. Lecture 11: Network Flow Algorithms and Theory of Computation Lecture 11: Network Flow Xiaohui Bei MAS 714 September 18, 2018 Nanyang Technological University MAS 714 September 18, 2018 1 / 26 Flow Network A flow network is a

More information

A Polynomial Combinatorial Algorithm for Generalized Minimum Cost Flow

A Polynomial Combinatorial Algorithm for Generalized Minimum Cost Flow A Polynomial Combinatorial Algorithm for Generalized Minimum Cost Flow Kevin D. Wayne Abstract We propose the first combinatorial solution to one of the most classic problems in combinatorial optimization:

More information

Multicommodity Flows and Column Generation

Multicommodity Flows and Column Generation Lecture Notes Multicommodity Flows and Column Generation Marc Pfetsch Zuse Institute Berlin pfetsch@zib.de last change: 2/8/2006 Technische Universität Berlin Fakultät II, Institut für Mathematik WS 2006/07

More information

Fast and Simple Approximation Schemes for Generalized Flow

Fast and Simple Approximation Schemes for Generalized Flow Fast and Simple Approximation Schemes for Generalized Flow Lisa K. Fleischer Kevin D. Wayne July 19, 2001 Abstract We present fast and simple fully polynomial-time approximation schemes (FPTAS) for generalized

More information

Minimum cost transportation problem

Minimum cost transportation problem Minimum cost transportation problem Complements of Operations Research Giovanni Righini Università degli Studi di Milano Definitions The minimum cost transportation problem is a special case of the minimum

More information

CSC2420: Algorithm Design, Analysis and Theory Spring (or Winter for pessimists) 2017

CSC2420: Algorithm Design, Analysis and Theory Spring (or Winter for pessimists) 2017 CSC2420: Algorithm Design, Analysis and Theory Spring (or Winter for pessimists) 2017 Allan Borodin January 30, 2017 1 / 32 Lecture 4 Announcements: I have posted all 7 questions for assignment 1. It is

More information

22 Max-Flow Algorithms

22 Max-Flow Algorithms A process cannot be understood by stopping it. Understanding must move with the flow of the process, must join it and flow with it. The First Law of Mentat, in Frank Herbert s Dune (965) There s a difference

More information

A Faster Combinatorial Approximation Algorithm for Scheduling Unrelated Parallel Machines

A Faster Combinatorial Approximation Algorithm for Scheduling Unrelated Parallel Machines A Faster Combinatorial Approximation Algorithm for Scheduling Unrelated Parallel Machines Martin Gairing Burkhard Monien Andreas Woclaw Faculty of Computer Science, Electrical Engineering and Mathematics,

More information

A faster combinatorial approximation algorithm for scheduling unrelated parallel machines

A faster combinatorial approximation algorithm for scheduling unrelated parallel machines Theoretical Computer Science 380 (2007) 87 99 www.elsevier.com/locate/tcs A faster combinatorial approximation algorithm for scheduling unrelated parallel machines Martin Gairing, Burkhard Monien, Andreas

More information

CSC Design and Analysis of Algorithms. LP Shader Electronics Example

CSC Design and Analysis of Algorithms. LP Shader Electronics Example CSC 80- Design and Analysis of Algorithms Lecture (LP) LP Shader Electronics Example The Shader Electronics Company produces two products:.eclipse, a portable touchscreen digital player; it takes hours

More information

Network Flows. 7. Multicommodity Flows Problems. Fall 2010 Instructor: Dr. Masoud Yaghini

Network Flows. 7. Multicommodity Flows Problems. Fall 2010 Instructor: Dr. Masoud Yaghini In the name of God Network Flows 7. Multicommodity Flows Problems 7.3 Column Generation Approach Fall 2010 Instructor: Dr. Masoud Yaghini Path Flow Formulation Path Flow Formulation Let first reformulate

More information

CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 17: Combinatorial Problems as Linear Programs III. Instructor: Shaddin Dughmi

CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 17: Combinatorial Problems as Linear Programs III. Instructor: Shaddin Dughmi CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 17: Combinatorial Problems as Linear Programs III Instructor: Shaddin Dughmi Announcements Today: Spanning Trees and Flows Flexibility awarded

More information

An example of LP problem: Political Elections

An example of LP problem: Political Elections Linear Programming An example of LP problem: Political Elections Suppose that you are a politician trying to win an election. Your district has three different types of areas: urban, suburban, and rural.

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design and Analysis LETURE 28 Network Flow hoosing good augmenting paths apacity scaling algorithm A. Smith /4/2008 A. Smith; based on slides by K. Wayne and S. Raskhodnikova Pre-break: Ford-Fulkerson

More information

- Well-characterized problems, min-max relations, approximate certificates. - LP problems in the standard form, primal and dual linear programs

- Well-characterized problems, min-max relations, approximate certificates. - LP problems in the standard form, primal and dual linear programs LP-Duality ( Approximation Algorithms by V. Vazirani, Chapter 12) - Well-characterized problems, min-max relations, approximate certificates - LP problems in the standard form, primal and dual linear programs

More information

Energy minimization via graph-cuts

Energy minimization via graph-cuts Energy minimization via graph-cuts Nikos Komodakis Ecole des Ponts ParisTech, LIGM Traitement de l information et vision artificielle Binary energy minimization We will first consider binary MRFs: Graph

More information

Algorithms and Theory of Computation. Lecture 13: Linear Programming (2)

Algorithms and Theory of Computation. Lecture 13: Linear Programming (2) Algorithms and Theory of Computation Lecture 13: Linear Programming (2) Xiaohui Bei MAS 714 September 25, 2018 Nanyang Technological University MAS 714 September 25, 2018 1 / 15 LP Duality Primal problem

More information

Linear Programming. Jie Wang. University of Massachusetts Lowell Department of Computer Science. J. Wang (UMass Lowell) Linear Programming 1 / 47

Linear Programming. Jie Wang. University of Massachusetts Lowell Department of Computer Science. J. Wang (UMass Lowell) Linear Programming 1 / 47 Linear Programming Jie Wang University of Massachusetts Lowell Department of Computer Science J. Wang (UMass Lowell) Linear Programming 1 / 47 Linear function: f (x 1, x 2,..., x n ) = n a i x i, i=1 where

More information

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved. Chapter 11 Approximation Algorithms Slides by Kevin Wayne. Copyright @ 2005 Pearson-Addison Wesley. All rights reserved. 1 Approximation Algorithms Q. Suppose I need to solve an NP-hard problem. What should

More information

Topic: Primal-Dual Algorithms Date: We finished our discussion of randomized rounding and began talking about LP Duality.

Topic: Primal-Dual Algorithms Date: We finished our discussion of randomized rounding and began talking about LP Duality. CS787: Advanced Algorithms Scribe: Amanda Burton, Leah Kluegel Lecturer: Shuchi Chawla Topic: Primal-Dual Algorithms Date: 10-17-07 14.1 Last Time We finished our discussion of randomized rounding and

More information

Network Flows. CTU FEE Department of control engineering. March 28, 2017

Network Flows. CTU FEE Department of control engineering. March 28, 2017 Network Flows Zdeněk Hanzálek, Přemysl Šůcha hanzalek@fel.cvut.cz CTU FEE Department of control engineering March 28, 2017 Z. Hanzálek (CTU FEE) Network Flows March 28, 2017 1 / 44 Table of contents 1

More information

Maximum Flow Problem (Ford and Fulkerson, 1956)

Maximum Flow Problem (Ford and Fulkerson, 1956) Maximum Flow Problem (Ford and Fulkerson, 196) In this problem we find the maximum flow possible in a directed connected network with arc capacities. There is unlimited quantity available in the given

More information

Maximum flow problem (part I)

Maximum flow problem (part I) Maximum flow problem (part I) Combinatorial Optimization Giovanni Righini Università degli Studi di Milano Definitions A flow network is a digraph D = (N,A) with two particular nodes s and t acting as

More information

Lecture 13: Polynomial-Time Algorithms for Min Cost Flows. (Reading: AM&O Chapter 10)

Lecture 13: Polynomial-Time Algorithms for Min Cost Flows. (Reading: AM&O Chapter 10) Lecture 1: Polynomial-Time Algorithms for Min Cost Flows (Reading: AM&O Chapter 1) Polynomial Algorithms for Min Cost Flows Improvements on the two algorithms for min cost flow: Successive Shortest Path

More information

Internet Routing Example

Internet Routing Example Internet Routing Example Acme Routing Company wants to route traffic over the internet from San Fransisco to New York. It owns some wires that go between San Francisco, Houston, Chicago and New York. The

More information

CS675: Convex and Combinatorial Optimization Fall 2014 Combinatorial Problems as Linear Programs. Instructor: Shaddin Dughmi

CS675: Convex and Combinatorial Optimization Fall 2014 Combinatorial Problems as Linear Programs. Instructor: Shaddin Dughmi CS675: Convex and Combinatorial Optimization Fall 2014 Combinatorial Problems as Linear Programs Instructor: Shaddin Dughmi Outline 1 Introduction 2 Shortest Path 3 Algorithms for Single-Source Shortest

More information

Graphs and Network Flows IE411. Lecture 12. Dr. Ted Ralphs

Graphs and Network Flows IE411. Lecture 12. Dr. Ted Ralphs Graphs and Network Flows IE411 Lecture 12 Dr. Ted Ralphs IE411 Lecture 12 1 References for Today s Lecture Required reading Sections 21.1 21.2 References AMO Chapter 6 CLRS Sections 26.1 26.2 IE411 Lecture

More information

Resource Constrained Project Scheduling Linear and Integer Programming (1)

Resource Constrained Project Scheduling Linear and Integer Programming (1) DM204, 2010 SCHEDULING, TIMETABLING AND ROUTING Lecture 3 Resource Constrained Project Linear and Integer Programming (1) Marco Chiarandini Department of Mathematics & Computer Science University of Southern

More information

COT 6936: Topics in Algorithms! Giri Narasimhan. ECS 254A / EC 2443; Phone: x3748

COT 6936: Topics in Algorithms! Giri Narasimhan. ECS 254A / EC 2443; Phone: x3748 COT 6936: Topics in Algorithms! Giri Narasimhan ECS 254A / EC 2443; Phone: x3748 giri@cs.fiu.edu https://moodle.cis.fiu.edu/v2.1/course/view.php?id=612 Gaussian Elimination! Solving a system of simultaneous

More information

Notes on Dantzig-Wolfe decomposition and column generation

Notes on Dantzig-Wolfe decomposition and column generation Notes on Dantzig-Wolfe decomposition and column generation Mette Gamst November 11, 2010 1 Introduction This note introduces an exact solution method for mathematical programming problems. The method is

More information

CSCI 1951-G Optimization Methods in Finance Part 01: Linear Programming

CSCI 1951-G Optimization Methods in Finance Part 01: Linear Programming CSCI 1951-G Optimization Methods in Finance Part 01: Linear Programming January 26, 2018 1 / 38 Liability/asset cash-flow matching problem Recall the formulation of the problem: max w c 1 + p 1 e 1 = 150

More information

CS675: Convex and Combinatorial Optimization Fall 2016 Combinatorial Problems as Linear and Convex Programs. Instructor: Shaddin Dughmi

CS675: Convex and Combinatorial Optimization Fall 2016 Combinatorial Problems as Linear and Convex Programs. Instructor: Shaddin Dughmi CS675: Convex and Combinatorial Optimization Fall 2016 Combinatorial Problems as Linear and Convex Programs Instructor: Shaddin Dughmi Outline 1 Introduction 2 Shortest Path 3 Algorithms for Single-Source

More information

DTIC. UPJC ILE b, LABORATORY FOR COMPUTER SCIENCE COMBINATORIAL ALGORITHMS FOR THE GENERALIZED CIRCULATION PROBLEM MASSACHUSETTS STCTUTEOOF

DTIC. UPJC ILE b, LABORATORY FOR COMPUTER SCIENCE COMBINATORIAL ALGORITHMS FOR THE GENERALIZED CIRCULATION PROBLEM MASSACHUSETTS STCTUTEOOF UPJC ILE b, LABORATORY FOR COMPUTER SCIENCE MASSACHUSETTS STCTUTEOOF OO MIT/LCS/TM-358 COMBINATORIAL ALGORITHMS FOR THE GENERALIZED CIRCULATION PROBLEM Andrew V. Goldberg Serge A. Plotkin.4 Eva Tardos

More information

Linear Programming Duality

Linear Programming Duality Summer 2011 Optimization I Lecture 8 1 Duality recap Linear Programming Duality We motivated the dual of a linear program by thinking about the best possible lower bound on the optimal value we can achieve

More information

. CS711008Z Algorithm Design and Analysis. Lecture 10. Algorithm design technique: Network flow and its applications 1. Dongbo Bu

. CS711008Z Algorithm Design and Analysis. Lecture 10. Algorithm design technique: Network flow and its applications 1. Dongbo Bu CS711008Z Algorithm Design and Analysis Lecture 10 Algorithm design technique: Network flow and its applications 1 Dongbo Bu Institute of Computing Technology Chinese Academy of Sciences, Beijing, China

More information

Duality. Peter Bro Mitersen (University of Aarhus) Optimization, Lecture 9 February 28, / 49

Duality. Peter Bro Mitersen (University of Aarhus) Optimization, Lecture 9 February 28, / 49 Duality Maximize c T x for x F = {x (R + ) n Ax b} If we guess x F, we can say that c T x is a lower bound for the optimal value without executing the simplex algorithm. Can we make similar easy guesses

More information

Lecture 8 Network Optimization Algorithms

Lecture 8 Network Optimization Algorithms Advanced Algorithms Floriano Zini Free University of Bozen-Bolzano Faculty of Computer Science Academic Year 2013-2014 Lecture 8 Network Optimization Algorithms 1 21/01/14 Introduction Network models have

More information

Friday, September 21, Flows

Friday, September 21, Flows Flows Building evacuation plan people to evacuate from the offices corridors and stairways capacity 10 10 5 50 15 15 15 60 60 50 15 10 60 10 60 15 15 50 For each person determine the path to follow to

More information

CSC373: Algorithm Design, Analysis and Complexity Fall 2017 DENIS PANKRATOV NOVEMBER 1, 2017

CSC373: Algorithm Design, Analysis and Complexity Fall 2017 DENIS PANKRATOV NOVEMBER 1, 2017 CSC373: Algorithm Design, Analysis and Complexity Fall 2017 DENIS PANKRATOV NOVEMBER 1, 2017 Linear Function f: R n R is linear if it can be written as f x = a T x for some a R n Example: f x 1, x 2 =

More information

Chapter 1 Linear Programming. Paragraph 5 Duality

Chapter 1 Linear Programming. Paragraph 5 Duality Chapter 1 Linear Programming Paragraph 5 Duality What we did so far We developed the 2-Phase Simplex Algorithm: Hop (reasonably) from basic solution (bs) to bs until you find a basic feasible solution

More information

CSC2420: Algorithm Design, Analysis and Theory Fall 2017

CSC2420: Algorithm Design, Analysis and Theory Fall 2017 CSC2420: Algorithm Design, Analysis and Theory Fall 2017 Allan Borodin and Nisarg Shah October 11, 2017 1 / 32 Lecture 5 Announcements: The first assignment is due next week, October 18, at 1:00 PM The

More information

Running Time. Assumption. All capacities are integers between 1 and C.

Running Time. Assumption. All capacities are integers between 1 and C. Running Time Assumption. All capacities are integers between and. Invariant. Every flow value f(e) and every residual capacities c f (e) remains an integer throughout the algorithm. Theorem. The algorithm

More information

Algorithms: Lecture 12. Chalmers University of Technology

Algorithms: Lecture 12. Chalmers University of Technology Algorithms: Lecture 1 Chalmers University of Technology Today s Topics Shortest Paths Network Flow Algorithms Shortest Path in a Graph Shortest Path Problem Shortest path network. Directed graph G = (V,

More information

Week 4. (1) 0 f ij u ij.

Week 4. (1) 0 f ij u ij. Week 4 1 Network Flow Chapter 7 of the book is about optimisation problems on networks. Section 7.1 gives a quick introduction to the definitions of graph theory. In fact I hope these are already known

More information

Lecture 9 Tuesday, 4/20/10. Linear Programming

Lecture 9 Tuesday, 4/20/10. Linear Programming UMass Lowell Computer Science 91.503 Analysis of Algorithms Prof. Karen Daniels Spring, 2010 Lecture 9 Tuesday, 4/20/10 Linear Programming 1 Overview Motivation & Basics Standard & Slack Forms Formulating

More information

Linear Programming. Scheduling problems

Linear Programming. Scheduling problems Linear Programming Scheduling problems Linear programming (LP) ( )., 1, for 0 min 1 1 1 1 1 11 1 1 n i x b x a x a b x a x a x c x c x z i m n mn m n n n n! = + + + + + + = Extreme points x ={x 1,,x n

More information

Outline. Outline. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING. 1. Scheduling CPM/PERT Resource Constrained Project Scheduling Model

Outline. Outline. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING. 1. Scheduling CPM/PERT Resource Constrained Project Scheduling Model Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING Lecture 3 and Mixed Integer Programg Marco Chiarandini 1. Resource Constrained Project Model 2. Mathematical Programg 2 Outline Outline 1. Resource Constrained

More information

The maximum flow problem

The maximum flow problem The maximum flow problem A. Agnetis 1 Basic properties Given a network G = (N, A) (having N = n nodes and A = m arcs), and two nodes s (source) and t (sink), the maximum flow problem consists in finding

More information

Mathematical Programs Linear Program (LP)

Mathematical Programs Linear Program (LP) Mathematical Programs Linear Program (LP) Integer Program (IP) Can be efficiently solved e.g., by Ellipsoid Method Cannot be efficiently solved Cannot be efficiently solved assuming P NP Combinatorial

More information

29 Linear Programming

29 Linear Programming 29 Linear Programming Many problems take the form of optimizing an objective, given limited resources and competing constraints If we can specify the objective as a linear function of certain variables,

More information

Lecture 9: Dantzig-Wolfe Decomposition

Lecture 9: Dantzig-Wolfe Decomposition Lecture 9: Dantzig-Wolfe Decomposition (3 units) Outline Dantzig-Wolfe decomposition Column generation algorithm Relation to Lagrangian dual Branch-and-price method Generated assignment problem and multi-commodity

More information

x 1 + 4x 2 = 5, 7x 1 + 5x 2 + 2x 3 4,

x 1 + 4x 2 = 5, 7x 1 + 5x 2 + 2x 3 4, LUNDS TEKNISKA HÖGSKOLA MATEMATIK LÖSNINGAR LINJÄR OCH KOMBINATORISK OPTIMERING 2018-03-16 1. a) The rst thing to do is to rewrite the problem so that the right hand side of all constraints are positive.

More information

(P ) Minimize 4x 1 + 6x 2 + 5x 3 s.t. 2x 1 3x 3 3 3x 2 2x 3 6

(P ) Minimize 4x 1 + 6x 2 + 5x 3 s.t. 2x 1 3x 3 3 3x 2 2x 3 6 The exam is three hours long and consists of 4 exercises. The exam is graded on a scale 0-25 points, and the points assigned to each question are indicated in parenthesis within the text. Problem 1 Consider

More information

C&O 355 Mathematical Programming Fall 2010 Lecture 18. N. Harvey

C&O 355 Mathematical Programming Fall 2010 Lecture 18. N. Harvey C&O 355 Mathematical Programming Fall 2010 Lecture 18 N. Harvey Network Flow Topics Max Flow / Min Cut Theorem Total Unimodularity Directed Graphs & Incidence Matrices Proof of Max Flow / Min Cut Theorem

More information

OPERA TIONS RESEARCH CENTER

OPERA TIONS RESEARCH CENTER OPERA TIONS RESEARCH CENTER Working Paper Optimal Rounding of Instantaneous Fractional Flows Over Time by Lisa K. Fleischer James B. Orlin OR 340-99 August 1999 MASSA CHUSETTS INSTITUTE OF TECHNOLOG Y

More information

Written Exam Linear and Integer Programming (DM545)

Written Exam Linear and Integer Programming (DM545) Written Exam Linear and Integer Programming (DM545) Department of Mathematics and Computer Science University of Southern Denmark Monday, June 22, 2015, 10:00 14:00, Festsalen, Niels Bohr Allé 1 The exam

More information

Lecture 3. 1 Polynomial-time algorithms for the maximum flow problem

Lecture 3. 1 Polynomial-time algorithms for the maximum flow problem ORIE 633 Network Flows August 30, 2007 Lecturer: David P. Williamson Lecture 3 Scribe: Gema Plaza-Martínez 1 Polynomial-time algorithms for the maximum flow problem 1.1 Introduction Let s turn now to considering

More information

Lecture 21 November 11, 2014

Lecture 21 November 11, 2014 CS 224: Advanced Algorithms Fall 2-14 Prof. Jelani Nelson Lecture 21 November 11, 2014 Scribe: Nithin Tumma 1 Overview In the previous lecture we finished covering the multiplicative weights method and

More information

Outline. Relaxation. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING. 1. Lagrangian Relaxation. Lecture 12 Single Machine Models, Column Generation

Outline. Relaxation. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING. 1. Lagrangian Relaxation. Lecture 12 Single Machine Models, Column Generation Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING 1. Lagrangian Relaxation Lecture 12 Single Machine Models, Column Generation 2. Dantzig-Wolfe Decomposition Dantzig-Wolfe Decomposition Delayed Column

More information

Mathematics for Decision Making: An Introduction. Lecture 13

Mathematics for Decision Making: An Introduction. Lecture 13 Mathematics for Decision Making: An Introduction Lecture 13 Matthias Köppe UC Davis, Mathematics February 17, 2009 13 1 Reminder: Flows in networks General structure: Flows in networks In general, consider

More information

The min cost flow problem Course notes for Optimization Spring 2007

The min cost flow problem Course notes for Optimization Spring 2007 The min cost flow problem Course notes for Optimization Spring 2007 Peter Bro Miltersen February 7, 2007 Version 3.0 1 Definition of the min cost flow problem We shall consider a generalization of the

More information

6.854 Advanced Algorithms

6.854 Advanced Algorithms 6.854 Advanced Algorithms Homework 5 Solutions 1 10 pts Define the following sets: P = positions on the results page C = clicked old results U = unclicked old results N = new results and let π : (C U)

More information

On the Number of Solutions Generated by the Simplex Method for LP

On the Number of Solutions Generated by the Simplex Method for LP Workshop 1 on Large Scale Conic Optimization IMS (NUS) On the Number of Solutions Generated by the Simplex Method for LP Tomonari Kitahara and Shinji Mizuno Tokyo Institute of Technology November 19 23,

More information

BBM402-Lecture 20: LP Duality

BBM402-Lecture 20: LP Duality BBM402-Lecture 20: LP Duality Lecturer: Lale Özkahya Resources for the presentation: https://courses.engr.illinois.edu/cs473/fa2016/lectures.html An easy LP? which is compact form for max cx subject to

More information

Agenda. Soviet Rail Network, We ve done Greedy Method Divide and Conquer Dynamic Programming

Agenda. Soviet Rail Network, We ve done Greedy Method Divide and Conquer Dynamic Programming Agenda We ve done Greedy Method Divide and Conquer Dynamic Programming Now Flow Networks, Max-flow Min-cut and Applications c Hung Q. Ngo (SUNY at Buffalo) CSE 531 Algorithm Analysis and Design 1 / 52

More information

EXERCISES SHORTEST PATHS: APPLICATIONS, OPTIMIZATION, VARIATIONS, AND SOLVING THE CONSTRAINED SHORTEST PATH PROBLEM. 1 Applications and Modelling

EXERCISES SHORTEST PATHS: APPLICATIONS, OPTIMIZATION, VARIATIONS, AND SOLVING THE CONSTRAINED SHORTEST PATH PROBLEM. 1 Applications and Modelling SHORTEST PATHS: APPLICATIONS, OPTIMIZATION, VARIATIONS, AND SOLVING THE CONSTRAINED SHORTEST PATH PROBLEM EXERCISES Prepared by Natashia Boland 1 and Irina Dumitrescu 2 1 Applications and Modelling 1.1

More information

CS 6820 Fall 2014 Lectures, October 3-20, 2014

CS 6820 Fall 2014 Lectures, October 3-20, 2014 Analysis of Algorithms Linear Programming Notes CS 6820 Fall 2014 Lectures, October 3-20, 2014 1 Linear programming The linear programming (LP) problem is the following optimization problem. We are given

More information

Integer Linear Programming (ILP)

Integer Linear Programming (ILP) Integer Linear Programming (ILP) Zdeněk Hanzálek, Přemysl Šůcha hanzalek@fel.cvut.cz CTU in Prague March 8, 2017 Z. Hanzálek (CTU) Integer Linear Programming (ILP) March 8, 2017 1 / 43 Table of contents

More information

COMP3121/9101/3821/9801 Lecture Notes. Linear Programming

COMP3121/9101/3821/9801 Lecture Notes. Linear Programming COMP3121/9101/3821/9801 Lecture Notes Linear Programming LiC: Aleks Ignjatovic THE UNIVERSITY OF NEW SOUTH WALES School of Computer Science and Engineering The University of New South Wales Sydney 2052,

More information

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved. Chapter 11 Approximation Algorithms Slides by Kevin Wayne. Copyright @ 2005 Pearson-Addison Wesley. All rights reserved. 1 P and NP P: The family of problems that can be solved quickly in polynomial time.

More information

An Analysis of the Highest-Level Selection Rule in the Preflow-Push Max-Flow Algorithm

An Analysis of the Highest-Level Selection Rule in the Preflow-Push Max-Flow Algorithm An Analysis of the Highest-Level Selection Rule in the Preflow-Push Max-Flow Algorithm Joseph Cheriyan Kurt Mehlhorn August 20, 1998 Abstract Consider the problem of finding a maximum flow in a network.

More information

Introduction 1.1 PROBLEM FORMULATION

Introduction 1.1 PROBLEM FORMULATION Introduction. PROBLEM FORMULATION This book deals with a single type of network optimization problem with linear cost, known as the transshipment or minimum cost flow problem. In this section, we formulate

More information

Maximum Integer Flows in Directed Planar Graphs with Multiple Sources and Sinks and Vertex Capacities

Maximum Integer Flows in Directed Planar Graphs with Multiple Sources and Sinks and Vertex Capacities Maximum Integer Flows in Directed Planar Graphs with Multiple Sources and Sinks and Vertex Capacities Yipu Wang University of Illinois at Urbana-Champaign ywang298@illinois.edu July 12, 2018 Abstract We

More information

Lecture #21. c T x Ax b. maximize subject to

Lecture #21. c T x Ax b. maximize subject to COMPSCI 330: Design and Analysis of Algorithms 11/11/2014 Lecture #21 Lecturer: Debmalya Panigrahi Scribe: Samuel Haney 1 Overview In this lecture, we discuss linear programming. We first show that the

More information

The min cost flow problem Course notes for Search and Optimization Spring 2004

The min cost flow problem Course notes for Search and Optimization Spring 2004 The min cost flow problem Course notes for Search and Optimization Spring 2004 Peter Bro Miltersen February 20, 2004 Version 1.3 1 Definition of the min cost flow problem We shall consider a generalization

More information

An Efficient Algorithm for Computing Robust Minimum Capacity s-t Cuts

An Efficient Algorithm for Computing Robust Minimum Capacity s-t Cuts An Efficient Algorithm for Computing Robust Minimum Capacity s-t Cuts Doug Altner H. Milton Stewart School of Industrial and Systems Engineering Georgia Institute of Technology 765 Ferst Drive NW, Atlanta,

More information

New algorithms for Disjoint Paths and Routing Problems

New algorithms for Disjoint Paths and Routing Problems New algorithms for Disjoint Paths and Routing Problems Chandra Chekuri Dept. of Computer Science Univ. of Illinois (UIUC) Menger s Theorem Theorem: The maximum number of s-t edgedisjoint paths in a graph

More information

Topics in Theoretical Computer Science April 08, Lecture 8

Topics in Theoretical Computer Science April 08, Lecture 8 Topics in Theoretical Computer Science April 08, 204 Lecture 8 Lecturer: Ola Svensson Scribes: David Leydier and Samuel Grütter Introduction In this lecture we will introduce Linear Programming. It was

More information

The Budget-Constrained Maximum Flow Problem

The Budget-Constrained Maximum Flow Problem 9 The Budget-Constrained Maximum Flow Problem In this chapter we consider the following problem which is called the constrained maximum flow problem ( Cmfp) [AO95]: We are given a budget B and we seek

More information

min 4x 1 5x 2 + 3x 3 s.t. x 1 + 2x 2 + x 3 = 10 x 1 x 2 6 x 1 + 3x 2 + x 3 14

min 4x 1 5x 2 + 3x 3 s.t. x 1 + 2x 2 + x 3 = 10 x 1 x 2 6 x 1 + 3x 2 + x 3 14 The exam is three hours long and consists of 4 exercises. The exam is graded on a scale 0-25 points, and the points assigned to each question are indicated in parenthesis within the text. If necessary,

More information

Introduction to Mathematical Programming IE406. Lecture 10. Dr. Ted Ralphs

Introduction to Mathematical Programming IE406. Lecture 10. Dr. Ted Ralphs Introduction to Mathematical Programming IE406 Lecture 10 Dr. Ted Ralphs IE406 Lecture 10 1 Reading for This Lecture Bertsimas 4.1-4.3 IE406 Lecture 10 2 Duality Theory: Motivation Consider the following

More information

The Strong Duality Theorem 1

The Strong Duality Theorem 1 1/39 The Strong Duality Theorem 1 Adrian Vetta 1 This presentation is based upon the book Linear Programming by Vasek Chvatal 2/39 Part I Weak Duality 3/39 Primal and Dual Recall we have a primal linear

More information

6. Linear Programming

6. Linear Programming Linear Programming 6-1 6. Linear Programming Linear Programming LP reduction Duality Max-flow min-cut, Zero-sum game Integer Programming and LP relaxation Maximum Bipartite Matching, Minimum weight vertex

More information

Dantzig s pivoting rule for shortest paths, deterministic MDPs, and minimum cost to time ratio cycles

Dantzig s pivoting rule for shortest paths, deterministic MDPs, and minimum cost to time ratio cycles Dantzig s pivoting rule for shortest paths, deterministic MDPs, and minimum cost to time ratio cycles Thomas Dueholm Hansen 1 Haim Kaplan Uri Zwick 1 Department of Management Science and Engineering, Stanford

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design and Analysis LETURE 2 Network Flow Finish bipartite matching apacity-scaling algorithm Adam Smith 0//0 A. Smith; based on slides by E. Demaine,. Leiserson, S. Raskhodnikova, K. Wayne Marriage

More information

Another max flow application: baseball

Another max flow application: baseball CS124 Lecture 16 Spring 2018 Another max flow application: baseball Suppose there are n baseball teams, and team 1 is our favorite. It is the middle of baseball season, and some games have been played

More information

10 Max-Flow Min-Cut Flows and Capacitated Graphs 10 MAX-FLOW MIN-CUT

10 Max-Flow Min-Cut Flows and Capacitated Graphs 10 MAX-FLOW MIN-CUT 10 Max-Flow Min-Cut 10.1 Flows and Capacitated Graphs Previously, we considered weighted graphs. In this setting, it was natural to thinking about minimizing the weight of a given path. In fact, we considered

More information

Maximum-Life Routing Schedule

Maximum-Life Routing Schedule Maximum-Life Routing Schedule Peng-Jun Wan wan@cs.iit.edu Peng-Jun Wan (wan@cs.iit.edu) Maximum-Life Routing Schedule 1 / 42 Outline Problem Description Min-Cost Routing Ellipsoid Algorithm Price-Directive

More information

Max Flow: Algorithms and Applications

Max Flow: Algorithms and Applications Max Flow: Algorithms and Applications Outline for today Quick review of the Max Flow problem Applications of Max Flow The Ford-Fulkerson (FF) algorithm for Max Flow Analysis of FF, and the Max Flow Min

More information

On the number of distinct solutions generated by the simplex method for LP

On the number of distinct solutions generated by the simplex method for LP Retrospective Workshop Fields Institute Toronto, Ontario, Canada On the number of distinct solutions generated by the simplex method for LP Tomonari Kitahara and Shinji Mizuno Tokyo Institute of Technology

More information

Santa Claus Schedules Jobs on Unrelated Machines

Santa Claus Schedules Jobs on Unrelated Machines Santa Claus Schedules Jobs on Unrelated Machines Ola Svensson (osven@kth.se) Royal Institute of Technology - KTH Stockholm, Sweden March 22, 2011 arxiv:1011.1168v2 [cs.ds] 21 Mar 2011 Abstract One of the

More information

CS Algorithms and Complexity

CS Algorithms and Complexity CS 50 - Algorithms and Complexity Linear Programming, the Simplex Method, and Hard Problems Sean Anderson 2/15/18 Portland State University Table of contents 1. The Simplex Method 2. The Graph Problem

More information

Maximum flow problem

Maximum flow problem Maximum flow problem 7000 Network flows Network Directed graph G = (V, E) Source node s V, sink node t V Edge capacities: cap : E R 0 Flow: f : E R 0 satisfying 1. Flow conservation constraints e:target(e)=v

More information

Robust Network Codes for Unicast Connections: A Case Study

Robust Network Codes for Unicast Connections: A Case Study Robust Network Codes for Unicast Connections: A Case Study Salim Y. El Rouayheb, Alex Sprintson, and Costas Georghiades Department of Electrical and Computer Engineering Texas A&M University College Station,

More information

Design and Analysis of Algorithms

Design and Analysis of Algorithms CSE 0, Winter 08 Design and Analysis of Algorithms Lecture 8: Consolidation # (DP, Greed, NP-C, Flow) Class URL: http://vlsicad.ucsd.edu/courses/cse0-w8/ Followup on IGO, Annealing Iterative Global Optimization

More information

15-780: LinearProgramming

15-780: LinearProgramming 15-780: LinearProgramming J. Zico Kolter February 1-3, 2016 1 Outline Introduction Some linear algebra review Linear programming Simplex algorithm Duality and dual simplex 2 Outline Introduction Some linear

More information