April 3, The maximum flow problem. See class notes on website.
|
|
- Milo Doyle
- 5 years ago
- Views:
Transcription
1 5.05 April, 007 The maximum flow problem See cla noe on webie.
2 Quoe of he day You ge he maxx for he minimum a TJ Maxx. -- ad for a clohing ore Thi wa he mo unkinde cu of all -- Shakepeare in Juliu Caear Ac
3 Goal of hi lecure Inroduce he maximum flow problem Dicu applicaion of flow Preen he Ford-Fulkeron max flow algorihm Preen he max-flow min-cu reul
4 The Maximum Flow Problem Direced Graph G = (N, A). Source Sink Capaciie u ij on arc (i,j) Maximize he flow ou of, ubjec o Flow ou of i = Flow ino i, for i or. A Nework wih Arc Capaciie The max flow problem i o end a much flow from he ource node o he ink node a poible ubjec o he following conrain:. The flow ino node i i he flow ou of node i for node i,.. The flow x ij on arc (i, j) aifie 0 x ij u ij, where u ij i he capaciy of arc (i, j).
5 Feaible flow Flow in arc (i, j) i a mo i capaciy Toal flow ino node = oal flow ou of node Toal flow ino node = oal flow ou of node capaciie 0 A feaible flow 5 For mo of he lecure, we will repreen capaciie uing he color cheme given here and given line hicknee. We do hi o ha our nework are no o buy wih o many number. I i confuing o have o look a boh capaciie and flow a he ame ime.
6 Two Infeaible flow capaciie 0 The capaciy of arc (, ) i violaed. The flow ou of node exceed he flow in. 0 6 Thi lide give he wo way ha a flow can be infeaible oher han he flow being negaive.
7 capaciie 0 A feaible flow A maximum flow 7
8 On repreening capaciie Uually capaciie are ju lied a number. We are uing color and hicknee in hi lecure o make he animaion eaier o follow. On any homework e, ju ue number. Don ue color or hicknee. 8
9 An applicaion of maximum flow In a college dormiory, uden wan o download a movie. They wan o know how many minue of he movie hey can download each econd. 9 Thi i a raighforward applicaion of max flow in ha we wan o end a many packe per econd from he download ie o he dorm.
10 An applicaion of maximum flow Sarbuck ha decided o creae a lurry pipeline o end coffee from Seale o reailer around he counry. How much coffee can i hip o MIT every day? MIT 0 Thi i a illy applicaion. I i moivaed by an April fool joke by NPR radio abou 0 year ago. They had a ory ha ounded fully eriou abou a pipeline for hipping ho coffee from Seale o he Ea Coa. They wen ino grea deail abou he legal righ concerning puing pipe on people properie and abou he expene involved.
11 The maximum maching problem I CY P G Can you mach he ar of Grey Anaomy o a o ge four pair, wih each man and women mached exacly once? CT M M D hp://abc.go.com/primeim e/greyanaomy/bio For fan of Grey Anaomy, pleae do no be oo concerned abou he poible mache, which are only looely baed on he how. I waned o creae a problem in which he maximum number of mached pair would be. Bu if I ued real relaionhip from Grey Anaomy, i would be very imple o come up wih oluion in which all four women were mached o he men.
12 Tranforming Maching ino Max Flow I P All arc have capaciy. CY G CT M M D Find he max flow. To creae a max flow from he maching problem, we creae a ource node wih arc from he ource node o he women. And we add a ink node wih arc from he men o he ink node. And we direc he original arc from he women o he men. We pu a capaciy of on each arc. Now a flow of k uni from o correpond o a maching of k pair of peron. In hi cae, he maximum flow from o i, and i correpond o maching hree women o hree men.
13 Wha i he maximum number of arcdijoin - pah? Two pah are arc dijoin if hey have no arc in common. Solve a max flow problem where each capaciy i There are arc-dijoin - pah There are ome communicaion nework where communicaion i epecially criical. One way of proecing communicaion from a ource node o a ink node i o make ure ha here are muliple dijoin pah on which communicaion can be en. In hi cae, here are hree arc-dijoin pah on which communicaion can be en. Two pah are called arc-dijoin if he wo pah do no hare an arc in common.
14 Repreening he Max Flow a an LP capaciie x x x x x Repreening Arc flow max v.. x + x = v x = x + x x + x = x.. -x x = -v 0 x 0 x 0 x 0 x 0 x Here we repreen he max flow problem a a linear programming problem. I i common for he maximum flow o be repreened by a variable v.
15 max v.. x + x = v x = x + x x + x = x.. -x x = -v Flow ou of i - Flow ino i = 0 for i or. Le v = flow ou of and ino. max v. x + x = v -x + x + x = 0 -x -x + x = 0 -x -x = -v 0 x ij u ij for all (i,j) max v.. Σ j x j = v Σ j x ij Σ j x ji = 0 for each i or.. - Σ i x i = -v 0 x ij u ij for all (i,j) 5 Here i he ame formulaion. We hen generalize i o a max flow problem on an arbirary graph.
16 The Ford-Fulkeron Algorihm Eenial Subrouine: ending flow on a pah from o. Such a pah i called an augmening pah. The capaciy of he pah i he malle capaciy of an arc on he pah. capaciie A pah wih capaciy Wha i he remaining augmening pah? 6 In he early 950, Ford and Fulkeron worked for he Rand Corporaion. They became inereed in he max flow problem and oher flow problem, and ulimaely became he leading reearcher in hi area. The Ford-Fulkeron max flow algorihm i known a an augmening pah algorihm. A each ieraion, he algorihm mainain a feaible flow. The algorihm hen ucceively ge beer flow by ending flow along pah from o. Here we inroduce an augmening pah. We ubly change he definiion of an augmening pah a few lide from now.
17 On he FF Max Flow Algorihm capaciie The nework wih flow 0 The Ford-Fulkeron Algorihm will creae a erie of larger and larger flow. Conider, e.g., he flow x above. Look a (, ). x = ; for any flow, 0 x. If we ar wih x, hen we can decreae he flow in (, ) by and canno increae he flow in (, ) 7 The FF algorihm mainain a feaible flow a each ieraion. (Thi i analogou o he implex algorihm mainaining a baic feaible oluion a each ieraion; however, he FF algorihm i no a pecial cae of he implex algorihm.) For he algorihm o proceed, we keep rack of how much he flow can change in each arc a ubequen ieraion, aring from he feaible flow a hi ieraion.
18 Focuing on How Flow Can Change capaciie The nework wih flow 0 Look a (, ) If we ar wih a flow of in (, ), we can increae he flow by a much a, and we can decreae he flow by a much a. 8 To illurae he idea of how flow can change, uppoe we ar wih he feaible flow given in he diagram. Then le u focu on arc (, ) o illurae he poible change. You may ak wheher he algorihm would acually reduce he flow in (, ). The anwer i no. Bu he purpoe of hi lide and he nex few lide i o illurae how flow can change and he reidual nework. So, pleae accep for now he poibiliy ha flow in (, ) could decreae.
19 The Original and Reidual Nework Original Nework Decreaing flow in (, ) by i mahemaically equivalen o ending one uni of flow from o. The Reidual Nework We can end a many a uni from o and end a many a one uni from o. 9 Currenly he flow in arc (, ) i and he capaciy i. Thi permi u o increae he flow in (, ) by a mo one addiional uni. We can alo modify he curren flow by decreaing he flow in (, ) from o 0. Thi correpond o being permied o end negaive one uni of flow in (, ). Mahemaically, hi i equivalen o being permied o end a much a uni of flow from node o node. There are alernaive way of repreening he poibiliy of decreaing he flow in (, ) by a much a one. Raher han permiing negaive flow o be en, we add he backward arc (, ) and give i a capaciy of. You hould probably fir convince yourelf ha reducing he flow in (, ) by i equivalen o ending one uni of flow from node o node.
20 Focuing on How Flow Can Change capaciie The nework wih flow 0 Reidual capaciie The Reidual Nework 0 Raher han work wih he original capaciie and wih he curren flow a a given ieraion, we will work wih he reidual nework. The reidual capaciie eiher reflec ha he curren flow can be increaed (uch a he arc (, ) wih a reidual capaciy of ) or ele he reidual capaciie reflec ha he curren flow can be decreaed. For example, he flow in (, ) can be reduced from o 0, and hi i repreened by an arc (, ) wih a reidual capaciy of.
21 The Original and Reidual Nework Original Nework The Reidual Nework In general, uppoe ha capaciy i u ij and he curren flow i x ij. (The curren flow i he flow a ome age of he algorihm.) The reidual capaciie are r ij = u ij x ij r ji = x ij Thi i how reidual capaciie are defined in erm of he original capaciie and he curren flow a an ieraion.
22 Change in he reidual Nework Original Nework Suppoe ha we increae he flow in (, ) from o. Wha happen in he reidual nework. The Reidual Nework The reidual capaciie are r ij = u ij x ij r ji = x ij Noice ha if we end a uni of flow in (, ) hen he reidual capaciy of (, ) will decreae by one and he reidual capaciy of (, ) will increae by. Similarly, if we were o reduce he flow in (, ) by, hi correpond o ending one uni of flow in (, ) in he reidual nework. In hi cae, he reidual capaciy of (, ) would decreae by one, and he reidual capaciy of (, ) would increae by.
23 The Ford-Fulkeron Algorihm Eenial Subrouine: ending flow on a pah from o in he reidual nework G(x). Such a pah i called an augmening pah. The capaciy of he pah i he malle reidual capaciy of an arc on he pah. Reidual capaciie The Reidual Nework Wha oher pah could have been eleced? Now ha you are familiar wih he concep of reidual nework we can alk abou he Ford-Fulkeron augmening pah algorihm. I acually a very imple algorihm if decribed in erm of he reidual nework. We fir decribe augmening pah in erm of he reidual nework.
24 The Ford Fulkeron Maximum Flow Algorihm Begin x := 0; while here i ome direced pah from o in G(x) do begin end le P be a pah from o in G(x); end δ(p) uni of flow along P; updae x and G(x); end {he flow x i now maximum}. The FF algorihm ieraively end flow along augmening pah unil here i no augmening pah remaining.
25 Augmening Pah Theorem A flow i a maximum - flow if and only if here i no augmening pah from o in he reidual nework. 5
26 Menal Break: More people who go i wrong. Nobody now fear ha a Japanee flee could deal an unexpeced blow a our Pacific poeion... Radio make urprie impoible. -- Joephu Daniel, 9 While heoreically and echnically eleviion may be feaible, commercially and financially I conider i an impoibiliy, a developmen of which we need wae lile ime dreaming. -- Lee De Fore, 96 Wha can be more palpably aburd han he propec held ou of locomoive ravelling wice he peed of agecoache? -- Quarerly Review, 85 6
27 I can be aken for graned ha before 980 hip, aircraf, locomoive and even auomobile will be aomically fueled. -- David Sarnoff, 955 The OR group a CN Rail wa aked by he managemen o find a way o decreae he number of rain crahe. Afer exhauive aiical analyi and compuer imulaion hey found ha wih large aiical ignificance he car mo involved in crahe wa he la car of he rain. Their recommendaion o managemen: remove he la car from all he CN rain. -- Source :Ira Hammerman, ORCS-L /9/95. 7
28 Ford-Fulkeron Max Flow reidual arc 5 Thi i he original nework, and he original reidual nework. 8 We illurae he FF augmening pah algorihm on hi nework. The animaion i conained in he file eniled FF Max Flow.pp.
29 Ford-Fulkeron Max Flow 5 Here i he opimal flow 9 The algorihm erminae afer five ieraion wih hi maximum flow. In fac, i could have had fewer augmenaion if we had choen differen augmening pah.
30 Commen on he number of augmenaion in he Ford-Fulkeron Max Flow Algorihm If a good augmening pah i found, he algorihm can be efficien fewe number of arc augmenaion wih large capaciy I can be errible if one i permied o chooe bad augmening pah Bu i i finie o long a he daa i all ineger valued. And he opimum flow are inegral o long a he daa i inegral. 0 The FF augmening pah algorihm can be painfully low. Even wih a nework wih only 5 arc, i i poible o ake rillion of ieraion if he augmening pah are choen upidly. Forunaely, here are wo imple rule for chooing he augmening pah ha lead o provably efficien implemenaion of he max flow algorihm.
31 Cu in Nework reidual arc 5 A cu in a nework i a pariion of he node ino wo par, denoed S and T. An - cu in a nework i a cu in which S, and T. The dualiy heory for max flow i very famou. Imporan example of i predae dualiy for linear programming. Here we inroduce he concep of cu. In paricular, we focu on cu ha eparae he ource node from he ink node. We call uch cu: - cu.
32 Cu in Nework reidual arc 5 The arc of he cu (S, T) are he arc originaing in S and ending in T. The capaciy of he cu (S, T) i he um of he capaciy of he arc of he cu. The capaciy of (S, T) i 7. The capaciy of he cu (S, T) i he maximum amoun of flow ha can be en from S o T, and hu i an upper bound on he amoun of flow ha can be en from o.
33 Cu in Nework reidual arc 5 Wha i he capaciy 9 of (S, T) Wha i he capaciy of (S, T) 5 if S = {,, }? if S = {,,,, 5}? A wih many concep, i help o work ou a few example o make ure ha you know he definiion.
34 Cu Dualiy reidual arc S 5 The capaciy of every - cu i a lea he value of he maximum flow. All flow from o mu a ome poin cro from S o T. So, he max flow i a mo 9. Since all flow from o much evenually be en from S o T, he capaciy of (S, T) i an upper bound on he max flow en from o.
35 Max Flow = Min Cu reidual arc 5 T The maximum flow from o i alway equal o he minimum capaciy of an - cu. Min Cu: S = {,,,, 5}, T = {}. Capaciy = 5. 5 The max flow i alway equal o he min cu. In ome ene, hi i a pecial cae of linear programming dualiy. Bu for he purpoe of 5.05, i i ufficien o view i a analogou o LP dualiy.
36 Max Flow = Min Cu I P All arc have capaciy. CY G CT M M D A cu wih capaciy 6 Recall ha he max flow from o i in hi example, and o he maximum ize of a maching i. By he max-flow min-cu heorem, here i an - cu wih capaciy. The - cu wih capaciy i illuraed on hi diagram. If we were o eliminae he hree arc of he cu, hen here would be no pah from o a all. In general, eliminaing all arc of any - cu will eliminae all pah from o in he nework.
37 Max Flow = Min Cu A Nework wih Arc Capaciie Min cu: S = {, }. Capaciy =. 7 Here i anoher illuraion of max flow = min cu.
38 Max Flow = Min Cu Min cu: S = {,,, 8}. Capaciy =. 8 Here i anoher illuraion of max flow = min cu.
39 A imple and very bad example M M M M 9 Thi example how ha i i poible o have M augmenaion in hi graph wih four node and five arc if one chooe augmenaion in a pervere manner, a illuraed on he nex lide. if M = rillion, hi would reul in rillion augmenaion. A he ame ime, i i poible o find a max flow in augmenaion if he augmening pah are -- and --.
40 Afer augmenaion M- M M M- 0
41 Afer wo augmenaion M- M- M- M-
42 Afer augmenaion M- M- M- M-
43 And o on
44 Afer M augmenaion M M M M
45 Iniial Applicaion of Flow Miliary operaion in Europe General F. S. Ro developed he model brough he model o Ford and Fulkeron a Rand Evaluae he capaciy of he Eaern European rail nework o uppor a convenional war. 5
46 And now, i ime for.. 6
47 Summary Ford-Fulkeron Algorihm Dualiy Theory: Max Flow = Min Cu 7
Network Flows: Introduction & Maximum Flow
CSC 373 - lgorihm Deign, nalyi, and Complexiy Summer 2016 Lalla Mouaadid Nework Flow: Inroducion & Maximum Flow We now urn our aenion o anoher powerful algorihmic echnique: Local Search. In a local earch
More informationProblem Set If all directed edges in a network have distinct capacities, then there is a unique maximum flow.
CSE 202: Deign and Analyi of Algorihm Winer 2013 Problem Se 3 Inrucor: Kamalika Chaudhuri Due on: Tue. Feb 26, 2013 Inrucion For your proof, you may ue any lower bound, algorihm or daa rucure from he ex
More informationGraphs III - Network Flow
Graph III - Nework Flow Flow nework eup graph G=(V,E) edge capaciy w(u,v) 0 - if edge doe no exi, hen w(u,v)=0 pecial verice: ource verex ; ink verex - no edge ino and no edge ou of Aume every verex v
More informationAlgorithmic Discrete Mathematics 6. Exercise Sheet
Algorihmic Dicree Mahemaic. Exercie Shee Deparmen of Mahemaic SS 0 PD Dr. Ulf Lorenz 7. and 8. Juni 0 Dipl.-Mah. David Meffer Verion of June, 0 Groupwork Exercie G (Heap-Sor) Ue Heap-Sor wih a min-heap
More informationMain Reference: Sections in CLRS.
Maximum Flow Reied 09/09/200 Main Reference: Secion 26.-26. in CLRS. Inroducion Definiion Muli-Source Muli-Sink The Ford-Fulkeron Mehod Reidual Nework Augmening Pah The Max-Flow Min-Cu Theorem The Edmond-Karp
More informationThe Residual Graph. 11 Augmenting Path Algorithms. Augmenting Path Algorithm. Augmenting Path Algorithm
Augmening Pah Algorihm Greedy-algorihm: ar wih f (e) = everywhere find an - pah wih f (e) < c(e) on every edge augmen flow along he pah repea a long a poible The Reidual Graph From he graph G = (V, E,
More information1 Motivation and Basic Definitions
CSCE : Deign and Analyi of Algorihm Noe on Max Flow Fall 20 (Baed on he preenaion in Chaper 26 of Inroducion o Algorihm, 3rd Ed. by Cormen, Leieron, Rive and Sein.) Moivaion and Baic Definiion Conider
More informationRandomized Perfect Bipartite Matching
Inenive Algorihm Lecure 24 Randomized Perfec Biparie Maching Lecurer: Daniel A. Spielman April 9, 208 24. Inroducion We explain a randomized algorihm by Ahih Goel, Michael Kapralov and Sanjeev Khanna for
More informationMatching. Slides designed by Kevin Wayne.
Maching Maching. Inpu: undireced graph G = (V, E). M E i a maching if each node appear in a mo edge in M. Max maching: find a max cardinaliy maching. Slide deigned by Kevin Wayne. Biparie Maching Biparie
More informationAlgorithm Design and Analysis
Algorihm Deign and Analyi LECTURE 0 Nework Flow Applicaion Biparie maching Edge-dijoin pah Adam Smih 0//0 A. Smih; baed on lide by E. Demaine, C. Leieron, S. Rakhodnikova, K. Wayne La ime: Ford-Fulkeron
More informationThe Residual Graph. 12 Augmenting Path Algorithms. Augmenting Path Algorithm. Augmenting Path Algorithm
Augmening Pah Algorihm Greedy-algorihm: ar wih f (e) = everywhere find an - pah wih f (e) < c(e) on every edge augmen flow along he pah repea a long a poible The Reidual Graph From he graph G = (V, E,
More informationAlgorithms and Data Structures 2011/12 Week 9 Solutions (Tues 15th - Fri 18th Nov)
Algorihm and Daa Srucure 2011/ Week Soluion (Tue 15h - Fri 18h No) 1. Queion: e are gien 11/16 / 15/20 8/13 0/ 1/ / 11/1 / / To queion: (a) Find a pair of ube X, Y V uch ha f(x, Y) = f(v X, Y). (b) Find
More informationToday: Max Flow Proofs
Today: Max Flow Proof COSC 58, Algorihm March 4, 04 Many of hee lide are adaped from everal online ource Reading Aignmen Today cla: Chaper 6 Reading aignmen for nex cla: Chaper 7 (Amorized analyi) In-Cla
More informationFlow networks. Flow Networks. A flow on a network. Flow networks. The maximum-flow problem. Introduction to Algorithms, Lecture 22 December 5, 2001
CS 545 Flow Nework lon Efra Slide courey of Charle Leieron wih mall change by Carola Wenk Flow nework Definiion. flow nework i a direced graph G = (V, E) wih wo diinguihed verice: a ource and a ink. Each
More informationSoviet Rail Network, 1955
Sovie Rail Nework, 1 Reference: On he hiory of he ranporaion and maximum flow problem. Alexander Schrijver in Mah Programming, 1: 3,. Maximum Flow and Minimum Cu Max flow and min cu. Two very rich algorihmic
More informationCS4445/9544 Analysis of Algorithms II Solution for Assignment 1
Conider he following flow nework CS444/944 Analyi of Algorihm II Soluion for Aignmen (0 mark) In he following nework a minimum cu ha capaciy 0 Eiher prove ha hi aemen i rue, or how ha i i fale Uing he
More informationSoviet Rail Network, 1955
7.1 Nework Flow Sovie Rail Nework, 19 Reerence: On he hiory o he ranporaion and maximum low problem. lexander Schrijver in Mah Programming, 91: 3, 00. (See Exernal Link ) Maximum Flow and Minimum Cu Max
More informationGreedy. I Divide and Conquer. I Dynamic Programming. I Network Flows. Network Flow. I Previous topics: design techniques
Algorihm Deign Technique CS : Nework Flow Dan Sheldon April, reedy Divide and Conquer Dynamic Programming Nework Flow Comparion Nework Flow Previou opic: deign echnique reedy Divide and Conquer Dynamic
More informationMaximum Flow and Minimum Cut
// Sovie Rail Nework, Maximum Flow and Minimum Cu Max flow and min cu. Two very rich algorihmic problem. Cornerone problem in combinaorial opimizaion. Beauiful mahemaical dualiy. Nework Flow Flow nework.
More informationNetwork Flow. Data Structures and Algorithms Andrei Bulatov
Nework Flow Daa Srucure and Algorihm Andrei Bulao Algorihm Nework Flow 24-2 Flow Nework Think of a graph a yem of pipe We ue hi yem o pump waer from he ource o ink Eery pipe/edge ha limied capaciy Flow
More informationCSE 521: Design & Analysis of Algorithms I
CSE 52: Deign & Analyi of Algorihm I Nework Flow Paul Beame Biparie Maching Given: A biparie graph G=(V,E) M E i a maching in G iff no wo edge in M hare a verex Goal: Find a maching M in G of maximum poible
More informationReminder: Flow Networks
0/0/204 Ma/CS 6a Cla 4: Variou (Flow) Execie Reminder: Flow Nework A flow nework i a digraph G = V, E, ogeher wih a ource verex V, a ink verex V, and a capaciy funcion c: E N. Capaciy Source 7 a b c d
More information! Abstraction for material flowing through the edges. ! G = (V, E) = directed graph, no parallel edges.
Sovie Rail Nework, haper Nework Flow Slide by Kevin Wayne. opyrigh Pearon-ddion Weley. ll righ reerved. Reference: On he hiory of he ranporaion and maximum flow problem. lexander Schrijver in Mah Programming,
More informationAdmin MAX FLOW APPLICATIONS. Flow graph/networks. Flow constraints 4/30/13. CS lunch today Grading. in-flow = out-flow for every vertex (except s, t)
/0/ dmin lunch oday rading MX LOW PPLIION 0, pring avid Kauchak low graph/nework low nework direced, weighed graph (V, ) poiive edge weigh indicaing he capaciy (generally, aume ineger) conain a ingle ource
More informationCS 473G Lecture 15: Max-Flow Algorithms and Applications Fall 2005
CS 473G Lecure 1: Max-Flow Algorihm and Applicaion Fall 200 1 Max-Flow Algorihm and Applicaion (November 1) 1.1 Recap Fix a direced graph G = (V, E) ha doe no conain boh an edge u v and i reveral v u,
More information4/12/12. Applications of the Maxflow Problem 7.5 Bipartite Matching. Bipartite Matching. Bipartite Matching. Bipartite matching: the flow network
// Applicaion of he Maxflow Problem. Biparie Maching Biparie Maching Biparie maching. Inpu: undireced, biparie graph = (, E). M E i a maching if each node appear in a mo one edge in M. Max maching: find
More information16 Max-Flow Algorithms and Applications
Algorihm A proce canno be underood by opping i. Underanding mu move wih he flow of he proce, mu join i and flow wih i. The Fir Law of Mena, in Frank Herber Dune (196) There a difference beween knowing
More informationFlow Networks. Ma/CS 6a. Class 14: Flow Exercises
0/0/206 Ma/CS 6a Cla 4: Flow Exercie Flow Nework A flow nework i a digraph G = V, E, ogeher wih a ource verex V, a ink verex V, and a capaciy funcion c: E N. Capaciy Source 7 a b c d e Sink 0/0/206 Flow
More informationCSC 364S Notes University of Toronto, Spring, The networks we will consider are directed graphs, where each edge has associated with it
CSC 36S Noe Univeriy of Torono, Spring, 2003 Flow Algorihm The nework we will conider are direced graph, where each edge ha aociaed wih i a nonnegaive capaciy. The inuiion i ha if edge (u; v) ha capaciy
More informationMAXIMUM FLOW. introduction Ford-Fulkerson algorithm maxflow-mincut theorem
MAXIMUM FLOW inroducion Ford-Fulkeron algorihm maxflow-mincu heorem Mincu problem Inpu. An edge-weighed digraph, ource verex, and arge verex. each edge ha a poiive capaciy capaciy 9 10 4 15 15 10 5 8 10
More informationMax Flow, Min Cut COS 521. Kevin Wayne Fall Soviet Rail Network, Cuts. Minimum Cut Problem. Flow network.
Sovie Rail Nework, Max Flow, Min u OS Kevin Wayne Fall Reference: On he hiory of he ranporaion and maximum flow problem. lexander Schrijver in Mah Programming, :,. Minimum u Problem u Flow nework.! Digraph
More informationNetwork Flows UPCOPENCOURSEWARE number 34414
Nework Flow UPCOPENCOURSEWARE number Topic : F.-Javier Heredia Thi work i licened under he Creaive Common Aribuion- NonCommercial-NoDeriv. Unpored Licene. To view a copy of hi licene, vii hp://creaivecommon.org/licene/by-nc-nd/./
More informationAlgorithm Design and Analysis
Algorihm Deign and Analyi LECTURES 17 Nework Flow Dualiy of Max Flow and Min Cu Algorihm: Ford-Fulkeron Capaciy Scaling Sofya Rakhodnikova S. Rakhodnikova; baed on lide by E. Demaine, C. Leieron, A. Smih,
More informationIntroduction to Congestion Games
Algorihmic Game Theory, Summer 2017 Inroducion o Congeion Game Lecure 1 (5 page) Inrucor: Thoma Keelheim In hi lecure, we ge o know congeion game, which will be our running example for many concep in game
More information6/3/2009. CS 244 Algorithm Design Instructor: t Artur Czumaj. Lecture 8 Network flows. Maximum Flow and Minimum Cut. Minimum Cut Problem.
Maximum Flow and Minimum Cu CS lgorihm Deign Inrucor: rur Czumaj Lecure Nework Max and min cu. Two very rich algorihmic problem. Cornerone problem in combinaorial opimizaion. Beauiful mahemaical dualiy.
More information18 Extensions of Maximum Flow
Who are you?" aid Lunkwill, riing angrily from hi ea. Wha do you wan?" I am Majikhie!" announced he older one. And I demand ha I am Vroomfondel!" houed he younger one. Majikhie urned on Vroomfondel. I
More informationFlow networks, flow, maximum flow. Some definitions. Edmonton. Saskatoon Winnipeg. Vancouver Regina. Calgary. 12/12 a.
Flow nework, flow, maximum flow Can inerpre direced graph a flow nework. Maerial coure hrough ome yem from ome ource o ome ink. Source produce maerial a ome eady rae, ink conume a ame rae. Example: waer
More informationDiscussion Session 2 Constant Acceleration/Relative Motion Week 03
PHYS 100 Dicuion Seion Conan Acceleraion/Relaive Moion Week 03 The Plan Today you will work wih your group explore he idea of reference frame (i.e. relaive moion) and moion wih conan acceleraion. You ll
More informationAverage Case Lower Bounds for Monotone Switching Networks
Average Cae Lower Bound for Monoone Swiching Nework Yuval Filmu, Toniann Piai, Rober Robere, Sephen Cook Deparmen of Compuer Science Univeriy of Torono Monoone Compuaion (Refreher) Monoone circui were
More informationTo become more mathematically correct, Circuit equations are Algebraic Differential equations. from KVL, KCL from the constitutive relationship
Laplace Tranform (Lin & DeCarlo: Ch 3) ENSC30 Elecric Circui II The Laplace ranform i an inegral ranformaion. I ranform: f ( ) F( ) ime variable complex variable From Euler > Lagrange > Laplace. Hence,
More informationEECE 301 Signals & Systems Prof. Mark Fowler
EECE 31 Signal & Syem Prof. Mark Fowler Noe Se #27 C-T Syem: Laplace Tranform Power Tool for yem analyi Reading Aignmen: Secion 6.1 6.3 of Kamen and Heck 1/18 Coure Flow Diagram The arrow here how concepual
More informationToday s topics. CSE 421 Algorithms. Problem Reduction Examples. Problem Reduction. Undirected Network Flow. Bipartite Matching. Problem Reductions
Today opic CSE Algorihm Richard Anderon Lecure Nework Flow Applicaion Prolem Reducion Undireced Flow o Flow Biparie Maching Dijoin Pah Prolem Circulaion Loweround conrain on flow Survey deign Prolem Reducion
More informationNetwork Flow Applications
Hopial problem Neork Flo Applicaion Injured people: n Hopial: k Each peron need o be brough o a hopial no more han 30 minue aay Each hopial rea no more han n/k" people Gien n, k, and informaion abou people
More informationPlease Complete Course Survey. CMPSCI 311: Introduction to Algorithms. Approximation Algorithms. Coping With NP-Completeness. Greedy Vertex Cover
Pleae Complee Coure Survey CMPSCI : Inroducion o Algorihm Dealing wih NP-Compleene Dan Sheldon hp: //owl.oi.uma.edu/parner/coureevalsurvey/uma/ Univeriy of Maachue Slide Adaped from Kevin Wayne La Compiled:
More information26.1 Flow networks. f (u,v) = 0.
26 Maimum Flow Ju a we can model a road map a a direced graph in order o find he hore pah from one poin o anoher, we can alo inerpre a direced graph a a flow nework and ue i o anwer queion abou maerial
More informationAlgorithms. Algorithms 6.4 MAXIMUM FLOW
Algorihm ROBERT SEDGEWICK KEVIN WAYNE 6.4 MAXIMUM FLOW Algorihm F O U R T H E D I T I O N ROBERT SEDGEWICK KEVIN WAYNE hp://alg4.c.princeon.edu inroducion Ford Fulkeron algorihm maxflow mincu heorem analyi
More informationIntroduction to SLE Lecture Notes
Inroducion o SLE Lecure Noe May 13, 16 - The goal of hi ecion i o find a ufficien condiion of λ for he hull K o be generaed by a imple cure. I urn ou if λ 1 < 4 hen K i generaed by a imple curve. We will
More informationMaximum Flow. Contents. Max Flow Network. Maximum Flow and Minimum Cut
Conen Maximum Flow Conen. Maximum low problem. Minimum cu problem. Max-low min-cu heorem. Augmening pah algorihm. Capaciy-caling. Shore augmening pah. Princeon Univeriy COS Theory o Algorihm Spring Kevin
More information23 Maximum Flows and Minimum Cuts
A proce canno be underood by opping i. Underanding mu move wih he flow of he proce, mu join i and flow wih i. The Fir Law of Mena, in Frank Herber Dune (196) Conrary o expecaion, flow uually happen no
More informationExponential Sawtooth
ECPE 36 HOMEWORK 3: PROPERTIES OF THE FOURIER TRANSFORM SOLUTION. Exponenial Sawooh: The eaie way o do hi problem i o look a he Fourier ranform of a ingle exponenial funcion, () = exp( )u(). From he able
More informationMaximum Flow in Planar Graphs
Maximum Flow in Planar Graph Planar Graph and i Dual Dualiy i defined for direced planar graph a well Minimum - cu in undireced planar graph An - cu (undireced graph) An - cu The dual o he cu Cu/Cycle
More informationSelfish Routing. Tim Roughgarden Cornell University. Includes joint work with Éva Tardos
Selfih Rouing Tim Roughgarden Cornell Univeriy Include join work wih Éva Tardo 1 Which roue would you chooe? Example: one uni of raffic (e.g., car) wan o go from o delay = 1 hour (no congeion effec) long
More information3/3/2015. Chapter 7. Network Flow. Maximum Flow and Minimum Cut. Minimum Cut Problem
// Chaper Nework Flow Maximum Flow and Minimum Cu Max flow and min cu. Two very rich algorihmic problem. Cornerone problem in combinaorial opimizaion. Beauiful mahemaical dualiy. Nonrivial applicaion /
More information16 Max-Flow Algorithms
A process canno be undersood by sopping i. Undersanding mus move wih he flow of he process, mus join i and flow wih i. The Firs Law of Mena, in Frank Herber s Dune (196) There s a difference beween knowing
More informationPhysics 240: Worksheet 16 Name
Phyic 4: Workhee 16 Nae Non-unifor circular oion Each of hee proble involve non-unifor circular oion wih a conan α. (1) Obain each of he equaion of oion for non-unifor circular oion under a conan acceleraion,
More informationMaximum Flow. How do we transport the maximum amount data from source to sink? Some of these slides are adapted from Lecture Notes of Kevin Wayne.
Conen Conen. Maximum flow problem. Minimum cu problem. Max-flow min-cu heorem. Augmening pah algorihm. Capaciy-caling. Shore augmening pah. Chaper Maximum How do we ranpor he maximum amoun daa from ource
More informationPrice of Stability and Introduction to Mechanism Design
Algorihmic Game Theory Summer 2017, Week 5 ETH Zürich Price of Sabiliy and Inroducion o Mechanim Deign Paolo Penna Thi i he lecure where we ar deigning yem which involve elfih player. Roughly peaking,
More informationLaplace Transform. Inverse Laplace Transform. e st f(t)dt. (2)
Laplace Tranform Maoud Malek The Laplace ranform i an inegral ranform named in honor of mahemaician and aronomer Pierre-Simon Laplace, who ued he ranform in hi work on probabiliy heory. I i a powerful
More informationChapter 7: Inverse-Response Systems
Chaper 7: Invere-Repone Syem Normal Syem Invere-Repone Syem Baic Sar ou in he wrong direcion End up in he original eady-ae gain value Two or more yem wih differen magniude and cale in parallel Main yem
More informationKINEMATICS IN ONE DIMENSION
KINEMATICS IN ONE DIMENSION PREVIEW Kinemaics is he sudy of how hings move how far (disance and displacemen), how fas (speed and velociy), and how fas ha how fas changes (acceleraion). We say ha an objec
More information, the. L and the L. x x. max. i n. It is easy to show that these two norms satisfy the following relation: x x n x = (17.3) max
ecure 8 7. Sabiliy Analyi For an n dimenional vecor R n, he and he vecor norm are defined a: = T = i n i (7.) I i eay o how ha hee wo norm aify he following relaion: n (7.) If a vecor i ime-dependen, hen
More information20/20 20/20 0/5 0/5 20/20 20/20 5/5 0/5 0/5 5/5 0/20 25/30 20/20 30/30 20/20 0/5 5/5 20/20 0/5 0/5 15/20 15/25 20/20 10/10
Annoncemen CSEP Applied Algorihm Richard Anderon Lecre 9 Nework Flow Applicaion Reading for hi week 7.-7.. Nework flow applicaion Nex week: Chaper 8. NP-Compleene Final exam, March 8, 6:0 pm. A UW. hor
More informationCSE 421 Introduction to Algorithms Winter The Network Flow Problem
CSE 42 Inroducion o Algorihm Winer 202 The Nework Flow Problem 2 The Nework Flow Problem 5 a 4 3 x 3 7 6 b 4 y 4 7 6 c 5 z How much uff can flow from o? 3 Sovie Rail Nework, 955 Reference: On he hiory
More information6.8 Laplace Transform: General Formulas
48 HAP. 6 Laplace Tranform 6.8 Laplace Tranform: General Formula Formula Name, ommen Sec. F() l{ f ()} e f () d f () l {F()} Definiion of Tranform Invere Tranform 6. l{af () bg()} al{f ()} bl{g()} Lineariy
More informationPHYSICS 151 Notes for Online Lecture #4
PHYSICS 5 Noe for Online Lecure #4 Acceleraion The ga pedal in a car i alo called an acceleraor becaue preing i allow you o change your elociy. Acceleraion i how fa he elociy change. So if you ar fro re
More informationBasic Tools CMSC 641. Running Time. Problem. Problem. Algorithmic Design Paradigms. lg (n!) (lg n)! (lg n) lgn n.2
Baic Tool CMSC April, Review Aympoic Noaion Order of Growh Recurrence relaion Daa Srucure Li, Heap, Graph, Tree, Balanced Tree, Hah Table Advanced daa rucure: Binomial Heap, Fibonacci Heap Soring Mehod
More informationLecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still.
Lecure - Kinemaics in One Dimension Displacemen, Velociy and Acceleraion Everyhing in he world is moving. Nohing says sill. Moion occurs a all scales of he universe, saring from he moion of elecrons in
More informationThey were originally developed for network problem [Dantzig, Ford, Fulkerson 1956]
6. Inroducion... 6. The primal-dual algorihmn... 6 6. Remark on he primal-dual algorihmn... 7 6. A primal-dual algorihmn for he hore pah problem... 8... 9 6.6 A primal-dual algorihmn for he weighed maching
More informationNotes on cointegration of real interest rates and real exchange rates. ρ (2)
Noe on coinegraion of real inere rae and real exchange rae Charle ngel, Univeriy of Wiconin Le me ar wih he obervaion ha while he lieraure (mo prominenly Meee and Rogoff (988) and dion and Paul (993))
More informationBiol. 356 Lab 8. Mortality, Recruitment, and Migration Rates
Biol. 356 Lab 8. Moraliy, Recruimen, and Migraion Raes (modified from Cox, 00, General Ecology Lab Manual, McGraw Hill) Las week we esimaed populaion size hrough several mehods. One assumpion of all hese
More information5.1 - Logarithms and Their Properties
Chaper 5 Logarihmic Funcions 5.1 - Logarihms and Their Properies Suppose ha a populaion grows according o he formula P 10, where P is he colony size a ime, in hours. When will he populaion be 2500? We
More informationCMPS 6610/4610 Fall Flow Networks. Carola Wenk Slides adapted from slides by Charles Leiserson
CMP 6610/4610 Fall 2016 Flow Nework Carola Wenk lide adaped rom lide by Charle Leieron Max low and min c Fndamenal problem in combinaorial opimizaion Daliy beween max low and min c Many applicaion: Biparie
More informationBuckling of a structure means failure due to excessive displacements (loss of structural stiffness), and/or
Buckling Buckling of a rucure mean failure due o exceive diplacemen (lo of rucural iffne), and/or lo of abiliy of an equilibrium configuraion of he rucure The rule of humb i ha buckling i conidered a mode
More information1 Review of Zero-Sum Games
COS 5: heoreical Machine Learning Lecurer: Rob Schapire Lecure #23 Scribe: Eugene Brevdo April 30, 2008 Review of Zero-Sum Games Las ime we inroduced a mahemaical model for wo player zero-sum games. Any
More informationStability in Distribution for Backward Uncertain Differential Equation
Sabiliy in Diribuion for Backward Uncerain Differenial Equaion Yuhong Sheng 1, Dan A. Ralecu 2 1. College of Mahemaical and Syem Science, Xinjiang Univeriy, Urumqi 8346, China heng-yh12@mail.inghua.edu.cn
More informationChapter 2. First Order Scalar Equations
Chaper. Firs Order Scalar Equaions We sar our sudy of differenial equaions in he same way he pioneers in his field did. We show paricular echniques o solve paricular ypes of firs order differenial equaions.
More informationu(t) Figure 1. Open loop control system
Open loop conrol v cloed loop feedbac conrol The nex wo figure preen he rucure of open loop and feedbac conrol yem Figure how an open loop conrol yem whoe funcion i o caue he oupu y o follow he reference
More information23.2. Representing Periodic Functions by Fourier Series. Introduction. Prerequisites. Learning Outcomes
Represening Periodic Funcions by Fourier Series 3. Inroducion In his Secion we show how a periodic funcion can be expressed as a series of sines and cosines. We begin by obaining some sandard inegrals
More informationNECESSARY AND SUFFICIENT CONDITIONS FOR LATENT SEPARABILITY
NECESSARY AND SUFFICIENT CONDITIONS FOR LATENT SEPARABILITY Ian Crawford THE INSTITUTE FOR FISCAL STUDIES DEPARTMENT OF ECONOMICS, UCL cemmap working paper CWP02/04 Neceary and Sufficien Condiion for Laen
More informationCHAPTER 7: SECOND-ORDER CIRCUITS
EEE5: CI RCUI T THEORY CHAPTER 7: SECOND-ORDER CIRCUITS 7. Inroducion Thi chaper conider circui wih wo orage elemen. Known a econd-order circui becaue heir repone are decribed by differenial equaion ha
More informationNotes for Lecture 17-18
U.C. Berkeley CS278: Compuaional Complexiy Handou N7-8 Professor Luca Trevisan April 3-8, 2008 Noes for Lecure 7-8 In hese wo lecures we prove he firs half of he PCP Theorem, he Amplificaion Lemma, up
More informationARTIFICIAL INTELLIGENCE. Markov decision processes
INFOB2KI 2017-2018 Urech Univeriy The Neherland ARTIFICIAL INTELLIGENCE Markov deciion procee Lecurer: Silja Renooij Thee lide are par of he INFOB2KI Coure Noe available from www.c.uu.nl/doc/vakken/b2ki/chema.hml
More information6.302 Feedback Systems Recitation : Phase-locked Loops Prof. Joel L. Dawson
6.32 Feedback Syem Phae-locked loop are a foundaional building block for analog circui deign, paricularly for communicaion circui. They provide a good example yem for hi cla becaue hey are an excellen
More informationFinal Spring 2007
.615 Final Spring 7 Overview The purpose of he final exam is o calculae he MHD β limi in a high-bea oroidal okamak agains he dangerous n = 1 exernal ballooning-kink mode. Effecively, his corresponds o
More informationMath 2142 Exam 1 Review Problems. x 2 + f (0) 3! for the 3rd Taylor polynomial at x = 0. To calculate the various quantities:
Mah 4 Eam Review Problems Problem. Calculae he 3rd Taylor polynomial for arcsin a =. Soluion. Le f() = arcsin. For his problem, we use he formula f() + f () + f ()! + f () 3! for he 3rd Taylor polynomial
More information) were both constant and we brought them from under the integral.
YIELD-PER-RECRUIT (coninued The yield-per-recrui model applies o a cohor, bu we saw in he Age Disribuions lecure ha he properies of a cohor do no apply in general o a collecion of cohors, which is wha
More informationDETC2004/CIE ALGORITHMIC FOUNDATIONS FOR CONSISTENCY-CHECKING OF INTERACTION-STATES OF MECHATRONIC SYSTEMS
Proceeding of DETC 04 ASME 2004 Deign Engineering Technical Conference and Compuer and Informaion in Engineering Conference Sal Lake Ciy, Uah, USA, Sepember 28-Ocober 2, 2004 DETC2004/CIE-79 ALGORITHMIC
More informationInventory Analysis and Management. Multi-Period Stochastic Models: Optimality of (s, S) Policy for K-Convex Objective Functions
Muli-Period Sochasic Models: Opimali of (s, S) Polic for -Convex Objecive Funcions Consider a seing similar o he N-sage newsvendor problem excep ha now here is a fixed re-ordering cos (> 0) for each (re-)order.
More information13.1 Circuit Elements in the s Domain Circuit Analysis in the s Domain The Transfer Function and Natural Response 13.
Chaper 3 The Laplace Tranform in Circui Analyi 3. Circui Elemen in he Domain 3.-3 Circui Analyi in he Domain 3.4-5 The Tranfer Funcion and Naural Repone 3.6 The Tranfer Funcion and he Convoluion Inegral
More informationLongest Common Prefixes
Longes Common Prefixes The sandard ordering for srings is he lexicographical order. I is induced by an order over he alphabe. We will use he same symbols (,
More informationAngular Motion, Speed and Velocity
Add Imporan Angular Moion, Speed and Velociy Page: 163 Noe/Cue Here Angular Moion, Speed and Velociy NGSS Sandard: N/A MA Curriculum Framework (006): 1.1, 1. AP Phyic 1 Learning Objecive: 3.A.1.1, 3.A.1.3
More information7. NETWORK FLOW I. Lecture slides by Kevin Wayne Copyright 2005 Pearson-Addison Wesley. Last updated on 11/22/17 6:11 AM
7. NETWORK FLOW I max-flow and min-cu problem Ford Fulkeron algorihm max-flow min-cu heorem capaciy-caling algorihm hore augmening pah blocking-flow algorihm imple uni-capaciy nework Lecure lide by Kevin
More informationStat13 Homework 7. Suggested Solutions
Sa3 Homework 7 hp://www.a.ucla.edu/~dinov/coure_uden.hml Suggeed Soluion Queion 7.50 Le denoe infeced and denoe noninfeced. H 0 : Malaria doe no affec red cell coun (µ µ ) H A : Malaria reduce red cell
More information7.5 Bipartite Matching. Chapter 7. Network Flow. Matching. Bipartite Matching
Chaper. Biparie Maching Nework Flow Slide by Kein Wayne. Copyrigh 00 Pearon-Addion Weley. All righ reered. Maching Biparie Maching Maching. Inpu: undireced graph G = (V, E). M E i a maching if each node
More information2. VECTORS. R Vectors are denoted by bold-face characters such as R, V, etc. The magnitude of a vector, such as R, is denoted as R, R, V
ME 352 VETS 2. VETS Vecor algebra form he mahemaical foundaion for kinemaic and dnamic. Geomer of moion i a he hear of boh he kinemaic and dnamic of mechanical em. Vecor anali i he imehonored ool for decribing
More informationThe Primal Simplex Approach to the QoS Routing Problem
The Primal Simplex Approach o he QoS Rouing Problem Ying Xiao, Krihnaiyan Thulairaman Univeriy of Oklahoma, Norman, OK {ying_xiao, hulai}@ou.edu Guoliang Xue Arizona Sae Univeriy, Tempe, AZ xue@au.edu
More informationEE Control Systems LECTURE 2
Copyrigh F.L. Lewi 999 All righ reerved EE 434 - Conrol Syem LECTURE REVIEW OF LAPLACE TRANSFORM LAPLACE TRANSFORM The Laplace ranform i very ueful in analyi and deign for yem ha are linear and ime-invarian
More informationTimed Circuits. Asynchronous Circuit Design. Timing Relationships. A Simple Example. Timed States. Timing Sequences. ({r 6 },t6 = 1.
Timed Circuis Asynchronous Circui Design Chris J. Myers Lecure 7: Timed Circuis Chaper 7 Previous mehods only use limied knowledge of delays. Very robus sysems, bu exremely conservaive. Large funcional
More informationHomework sheet Exercises done during the lecture of March 12, 2014
EXERCISE SESSION 2A FOR THE COURSE GÉOMÉTRIE EUCLIDIENNE, NON EUCLIDIENNE ET PROJECTIVE MATTEO TOMMASINI Homework shee 3-4 - Exercises done during he lecure of March 2, 204 Exercise 2 Is i rue ha he parameerized
More informationTwo Coupled Oscillators / Normal Modes
Lecure 3 Phys 3750 Two Coupled Oscillaors / Normal Modes Overview and Moivaion: Today we ake a small, bu significan, sep owards wave moion. We will no ye observe waves, bu his sep is imporan in is own
More information