18 Extensions of Maximum Flow
|
|
- Abigail Grant
- 5 years ago
- Views:
Transcription
1 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 alrigh," he explained angrily, you don need o demand ha." Alrigh!" bawled Vroomfondel banging on an nearby dek. I am Vroomfondel, and ha i no a demand, ha i a olid fac! Wha we demand i olid fac!" No we don!" exclaimed Majikhie in irriaion. Tha i preciely wha we don demand!" Scarcely pauing for breah, Vroomfondel houed, We don demand olid fac! Wha we demand i a oal abence of olid fac. I demand ha I may or may no be Vroomfondel!" Dougla Adam, The Hichhiker Guide o he Galaxy (199) 18 Exenion of Maximum Flow 18.1 Maximum Flow wih Edge Demand Now uppoe each direced edge e in ha boh a capaciy c(e) and a demand d(e) c(e), and we wan a flow f of maximum value ha aifie d(e) f (e) c(e) a every edge e. We call a flow ha aifie hee conrain a feaible flow. In our original eing, where d(e) = 0 for every edge e, he zero flow i feaible; however, in hi more general eing, even deermining wheher a feaible flow exi i a nonrivial ak. Perhap he eaie way o find a feaible flow (or deermine ha none exi) i o reduce he problem o a andard maximum flow problem, a follow. The inpu coni of a direced graph G = (V, E), node and, demand funcion d : E IR, and capaciy funcion c : E IR. Le D denoe he um of all edge demand in G: D := d(u v). u v E We conruc a new graph G = (V, E ) from G by adding new ource and arge verice and, adding edge from o each verex in V, adding edge from each verex in V o, and finally adding an edge from o. We alo define a new capaciy funcion c : E IR a follow: For each verex v V, we e c ( v) = u V d(u v) and c (v ) = w V d(v w). For each edge u v E, we e c (u v) = c(u v) d(u v). Finally, we e c ( ) =. Inuiively, we conruc G by replacing any edge u v in G wih hree edge: an edge u v wih capaciy c(u v) d(u v), an edge v wih capaciy d(u v), and an edge u wih capaciy d(u v). If hi conrucion produce muliple edge from o he ame verex v (or o from he ame verex v), we merge hem ino a ingle edge wih he ame oal capaciy. In G, he oal capaciy ou of and he oal capaciy ino are boh equal o D. We call a flow wih value exacly D a auraing flow, ince i aurae all he edge leaving or enering. If G ha a auraing flow, i mu be a maximum flow, o we can find i uing any max-flow algorihm. Lemma 1. G ha a feaible (, )-flow if and only if G ha a auraing (, )-flow. 1
2 ' ' A flow nework G wih demand and capaciie (wrien d.. c), and he ranformed nework G. Proof: Le f : E IR be a feaible (, )-flow in he original graph G. Conider he following funcion f : E IR: f (u v) = f (u v) d(u v) f ( v) = d(u v) u V f (v ) = d(u w) w V f ( ) = f for all u v E for all v V for all v V We eaily verify ha f i a auraing (, )-flow in G. The admiibiliy of f implie ha f (e) d(e) for every edge e E, o f (e) 0 everywhere. Admiibiliy alo implie f (e) c(e) for every edge e E, o f (e) c (e) everywhere. Tediou algebra implie ha f (u v) = f (v w) u V w V for every verex v V (including and ). Thu, f i a legal (, )-flow, and every edge ou of or ino i clearly auraed. Inuiively, f diver d(u v) uni of flow from u direcly o he new arge, and injec he ame amoun of flow ino v direcly from he new ource. The ame ediou algebra implie ha for any auraing (, )-flow f : E IR for G, he funcion f = f E + d i a feaible (, )-flow in G. Thu, we can compue a feaible (, )-flow for G, if one exi, by earching for a maximum (, )- flow in G and checking ha i i auraing. Once we ve found a feaible (, )-flow in G, we can ranform i ino a maximum flow uing an augmening-pah algorihm, bu wih one mall change. To enure ha every flow we conider i feaible, we mu redefine he reidual capaciy of an edge a follow: c(u v) f (u v) if u v E, c f (u v) = f (v u) d(v u) if v u E, 0 oherwie. Oherwie, he algorihm i unchanged. If we ue he Diniz/Edmond-Karp fa-pipe algorihm, we ge an overall running ime of O(VE 2 ). 2
3 8/8 11/11 4/4 / 2/ / / 0/1 /1 ' 0/ 0/ 0/ ' 0/ 0/ / / / / / 11/ 2/0.. /..20 /.. 1/1..1 /2..1 4/ /4.. /.. /..20 A auraing flow f in G, he correponding feaible flow f in G, and he correponding reidual nework G f Node Supplie and Demand Anoher ueful varian o conider allow flow o be injeced or exraced from he flow nework a verice oher han or. Le x : (V \ {, }) IR be an exce funcion decribing how much flow i o be injeced (or exraced if he value i negaive) a each verex. We now wan a maximum flow ha aifie he varian balance condiion f (u v) f (v w) = x(v) u V w V for every node v excep and, or prove ha no uch flow exi. A above, call uch a funcion f a feaible flow. A for flow wih edge demand, he only real difficuly in finding a maximum flow under hee modified conrain i finding a feaible flow (if one exi). We can reduce hi problem o a andard max-flow problem, ju a we did for edge demand. To implify he ranformaion, le u aume wihou lo of generaliy ha he oal exce in he nework i zero: v x(v) = 0. If he oal exce i poiive, we add an infinie capaciy edge, where i a new arge node, and e x() = v x(v). Similarly, if he oal exce i negaive, we add an infinie capaciy edge, where i a new ource node, and e x() = v x(v). In boh cae, every feaible flow in he modified graph correpond o a feaible flow in he original graph. A before, we modify G o obain a new graph G by adding a new ource, a new arge, an infinie-capaciy edge from he old arge o he old ource, and everal edge from and o. Specifically, for each verex v, if x(v) > 0, we add a new edge v wih capaciy x(v), and if x(v) < 0, we add an edge v wih capaciy x(v). A before, we call an (, )-flow in G auraing if every edge leaving or enering i auraed; any auraing flow i a maximum flow. I i eay o check ha auraing flow in G are in direc correpondence wih feaible flow in G; we leave deail a an exercie (hin, hin).
4 Similar reducion allow u o olve everal oher varian of he maximum flow problem uing he ame pah-augmenaion algorihm. For example, we could aociae capaciie and lower bound wih he verice inead of (or in addiion o) he edge. We could aociae a range of excee wih every node, inead of a ingle exce value. We can aociae a co c(e) wih each edge, and hen ak for he maximum-value flow f whoe oal co e c(e) f (e) i a mall a poible. We could even apply all of hee exenion a once: upper bound, lower bound, and co funcion for he flow hrough each edge, ino each verex, and ou of each verex. 18. Minimum-Co Flow To be wrien 18.4 Maximum-Weigh Maching Recall from he previou lecure ha we can find a maximum-cardinaliy maching in any biparie graph in O(V E) ime by reducion o he andard maximum flow problem. Now uppoe he inpu graph ha weighed edge, and we wan o find he maching wih maximum oal weigh. Given a biparie graph G = (U W, E) and a non-negaive weigh funcion w : E IR, he goal i o compue a maching M whoe oal weigh w(m) = uw M w(uw) i a large a poible. Max-weigh maching can be found direcly uing andard max-flow algorihm 1, bu we can modify he algorihm for maximum-cardinaliy maching decribed above. I will be helpful o reinerpre he behavior of our earlier algorihm direcly in erm of he original biparie graph inead of he derived flow nework. Our algorihm mainain a maching M, which i iniially empy. We ay ha a verex i mached if i i an endpoin of an edge in M. A each ieraion, we find an alernaing pah π ha ar and end a unmached verice and alernae beween edge in E \ M and edge in M. Equivalenly, le G M be he direced graph obained by oriening every edge in M from W o U, and every edge in E \ M from U o W. An alernaing pah i ju a direced pah in G M beween wo unmached verice. Any alernaing pah ha odd lengh and ha exacly one more edge in E \ M han in M. The ieraion end by eing M M π, hereby increaing he number of edge in M by one. The max-flow/min-cu heorem implie ha when here are no more alernaing pah, M i a maximum maching. A maching M wih edge, an alernaing pah π, and he augmened maching M π wih edge. If he edge of G are weighed, we only need o make wo change o he algorihm. Fir, inead of looking for an arbirary alernaing pah a each ieraion, we look for he alernaing pah π uch ha 1 However, max-flow algorihm can be modified o compue maximum weighed flow, where every edge ha boh a capaciy and a weigh, and he goal i o maximize u v w(u v)f (u v). 4
5 M π ha large weigh. Suppoe we weigh he edge in he reidual graph G M a follow: w (u w) = w(uw) w (w u) = w(uw) for all uw M for all uw M We now have w(m π) = w(m) w (π). Thu, he correc augmening pah π mu be he direced pah in G M wih minimum oal reidual weigh w (π). Second, becaue he maching wih he maximum weigh may no be he maching wih he maximum cardinaliy, we reurn he heavie maching conidered in any ieraion of he algorihm. 2 2 A maximum-weigh maching i no necearily a maximum-cardinaliy maching. Before we deermine he running ime of he algorihm, we need o check ha i acually find he maximum-weigh maching. Afer all, i a greedy algorihm, and greedy algorihm don work unle you prove hem ino ubmiion! Le M i denoe he maximum-weigh maching in G wih exacly i edge. In paricular, M 0 =, and he global maximum-weigh maching i equal o M i for ome i. (The figure above how M 1 and M 2 for he ame graph.) Le G i denoe he direced reidual graph for M i, le w i denoe he reidual weigh funcion for M i a defined above, and le π i denoe he direced pah in G i uch ha w i (π i ) i minimized. To implify he proof, I will aume ha here i a unique maximum-weigh maching M i of any paricular ize; hi aumpion can be enforced by applying a conien ie-breaking rule. Wih hi aumpion in place, he correcne of our algorihm follow inducively from he following lemma. Lemma 2. If G conain a maching wih i + 1 edge, hen M i+1 = M i π i. Proof: I will prove he equivalen aemen M i+1 M i = π i 1. To implify noaion, call an edge in M i+1 M i red if i i an edge in M i+1, and blue if i i an edge in M i. The graph M i+1 M i ha maximum degree 2, and herefore coni of pairwie dijoin pah and cycle, each of which alernae beween red and blue edge. Since G i biparie, every cycle mu have even lengh. The number of edge in M i+1 M i i odd; pecifically, M i+1 M i ha 2i + 1 2k edge, where k i he number of edge ha are in boh maching. Thu, M i+1 M i conain an odd number of pah of odd lengh, ome number of pah of even lengh, and ome number of cycle of even lengh. Le γ be a cycle in M i+1 M i. Becaue γ ha an equal number of edge from each maching, M i γ i anoher maching wih i edge. The oal weigh of hi maching i exacly w(m i ) w i (γ), which mu be le han w(m i ), o w i (γ) mu be poiive. On he oher hand, M i+1 γ i a maching wih i + 1 edge whoe oal weigh i w(m i+1 ) + w i (γ) < w(m i+1 ), o w i (γ) mu be negaive! We conclude ha no uch cycle γ exi; M i+1 M i coni enirely of dijoin pah. Exacly he ame reaoning implie ha no pah in M i+1 M i ha an even number of edge. Finally, ince he number of red edge in M i+1 M i i one more han he number of blue edge, he number of pah ha ar wih a red edge i exacly one more han he number of pah ha ar wih a blue edge. The ame reaoning a above implie ha M i+1 M i doe no conain a blue-fir pah, becaue we can pair i up wih a red-fir pah. We conclude ha M i+1 M i coni of a ingle alernaing pah π whoe fir edge i red. Since w(m i+1 ) = w(m i ) w i (π), he pah π mu be he one wih minimum weigh w i (π).
6 We can find he alernaing pah π i uing a ingle-ource hore pah algorihm. Modify he reidual graph G i by adding zero-weigh edge from a new ource verex o every unmached node in U, and from every unmached node in W o a new arge verex, exacly a in ou unweighed maching algorihm. Then π i i he hore pah from o in hi modified graph. Since M i i he maximum-weigh maching wih i verice, G i ha no negaive cycle, o hi hore pah i well-defined. We can compue he hore pah in G i in O(V E) ime uing Shimbel algorihm, o he overall running ime our algorihm i O(V 2 E). The reidual graph G i ha negaive-weigh edge, o we can peed up he algorihm by replacing Shimbel algorihm wih Dijkra. However, we can ue a varian of Johnon all-pair hore pah algorihm o improve he running ime o O(VE + V 2 log V). Le d i (v) denoe he diance from o v in he reidual graph G i, uing he diance funcion w i. Le w i denoe he modified diance funcion w i (u v) = d i 1 (u) + w i (u v) d i 1 (v). A we argued in he dicuion of Johnon algorihm, hore pah wih repec o w i are ill hore pah wih repec o w i. Moreover, w i (u v) > 0 for every edge u v in G i : If u v i an edge in G i 1, hen w i (u v) = w i 1 (u v) and d i 1 (v) d i 1 (u) + w i 1 (u v). If u v i no in G i 1, hen w i (u v) = w i 1 (v u) and v u i an edge in he hore pah π i 1, o d i 1 (u) = d i 1 (v) + w i 1 (v u). Le d i (v) denoe he hore pah diance from o v wih repec o he diance funcion w i. Becaue w i i poiive everywhere, we can quickly compue d i (v) for all v uing Dijkra algorihm. Thi give u boh he hore alernaing pah π i and he diance d i (v) = d i (v) + d i 1 (v) needed for he nex ieraion. Exercie 1. Suppoe we are given a direced graph G = (V, E), wo verice an, and a capaciy funcion c : V IR +. A flow f i feaible if he oal flow ino every verex v i a mo c(v): f (u v) c(v) for every verex v. u Decribe and analyze an efficien algorihm o compue a feaible flow of maximum value. 2. Suppoe we are given an n n grid, ome of whoe cell are marked; he grid i repreened by an array M[1.. n, 1.. n] of boolean, where M[i, j] = TRUE if and only if cell (i, j) i marked. A monoone pah hrough he grid ar a he op-lef cell, move only righ or down a each ep, and end a he boom-righ cell. Our goal i o cover he marked cell wih a few monoone pah a poible. Greedily covering he marked cell in a grid wih four monoone pah.
7 (a) Decribe an algorihm o find a monoone pah ha cover he large number of marked cell. (b) There i a naural greedy heuriic o find a mall cover by monoone pah: If here are any marked cell, find a monoone pah π ha cover he large number of marked cell, unmark any cell covered by π hoe marked cell, and recure. Show ha hi algorihm doe no alway compue an opimal oluion. (c) Decribe and analyze an efficien algorihm o compue he malle e of monoone pah ha cover every marked cell. c Copyrigh 2009 Jeff Erickon. Releaed under a Creaive Common Aribuion-NonCommercial-ShareAlike.0 Licene (hp://creaivecommon.org/licene/by-nc-a/.0/). Free diribuion i rongly encouraged; commercial diribuion i exprely forbidden. See hp:// for he mo recen reviion.
Algorithmic 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 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 informationNetwork 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 information18.03SC Unit 3 Practice Exam and Solutions
Sudy Guide on Sep, Dela, Convoluion, Laplace You can hink of he ep funcion u() a any nice mooh funcion which i for < a and for > a, where a i a poiive number which i much maller han any ime cale we care
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 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 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 informationLecture 26. Lucas and Stokey: Optimal Monetary and Fiscal Policy in an Economy without Capital (JME 1983) t t
Lecure 6. Luca and Sokey: Opimal Moneary and Fical Policy in an Economy wihou Capial (JME 983. A argued in Kydland and Preco (JPE 977, Opimal governmen policy i likely o be ime inconien. Fiher (JEDC 98
More informationarxiv: v1 [cs.cg] 21 Mar 2013
On he rech facor of he Thea-4 graph Lui Barba Proenji Boe Jean-Lou De Carufel André van Renen Sander Verdoncho arxiv:1303.5473v1 [c.cg] 21 Mar 2013 Abrac In hi paper we how ha he θ-graph wih 4 cone ha
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 information5.2 GRAPHICAL VELOCITY ANALYSIS Polygon Method
ME 352 GRHICL VELCITY NLYSIS 52 GRHICL VELCITY NLYSIS olygon Mehod Velociy analyi form he hear of kinemaic and dynamic of mechanical yem Velociy analyi i uually performed following a poiion analyi; ie,
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 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 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 informationAdditional Methods for Solving DSGE Models
Addiional Mehod for Solving DSGE Model Karel Meren, Cornell Univeriy Reference King, R. G., Ploer, C. I. & Rebelo, S. T. (1988), Producion, growh and buine cycle: I. he baic neoclaical model, Journal of
More informationFLAT CYCLOTOMIC POLYNOMIALS OF ORDER FOUR AND HIGHER
#A30 INTEGERS 10 (010), 357-363 FLAT CYCLOTOMIC POLYNOMIALS OF ORDER FOUR AND HIGHER Nahan Kaplan Deparmen of Mahemaic, Harvard Univeriy, Cambridge, MA nkaplan@mah.harvard.edu Received: 7/15/09, Revied:
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 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 informationMon Apr 2: Laplace transform and initial value problems like we studied in Chapter 5
Mah 225-4 Week 2 April 2-6 coninue.-.3; alo cover par of.4-.5, EP 7.6 Mon Apr 2:.-.3 Laplace ranform and iniial value problem like we udied in Chaper 5 Announcemen: Warm-up Exercie: Recall, The Laplace
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 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 information7.5 Bipartite Matching. Chapter 7. Network Flow. Matching. Bipartite Matching
Chaper. Biparie Maching Nework Flow Slide by Kevin Wayne. Copyrigh PearonAddion Weley. All righ reerved. Maching Biparie Maching Maching. Inpu: undireced graph G = (V, E). M E i a maching if each node
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 informationSample Final Exam (finals03) Covering Chapters 1-9 of Fundamentals of Signals & Systems
Sample Final Exam Covering Chaper 9 (final04) Sample Final Exam (final03) Covering Chaper 9 of Fundamenal of Signal & Syem Problem (0 mar) Conider he caual opamp circui iniially a re depiced below. I LI
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 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 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 informationWrap up: Weighted, directed graph shortest path Minimum Spanning Tree. Feb 25, 2019 CSCI211 - Sprenkle
Objecive Wrap up: Weighed, direced graph hore pah Minimum Spanning Tree eb, 1 SI - Sprenkle 1 Review Wha are greedy algorihm? Wha i our emplae for olving hem? Review he la problem we were working on: Single-ource,
More informationarxiv: v2 [cs.cg] 30 Apr 2015
Diffue Reflecion Diameer in Simple Polygon arxiv:1302.2271v2 [c.cg] 30 Apr 2015 Gill Bareque Deparmen of Compuer Science Technion Haifa, Irael bareque@c.echnion.ac.il Eli Fox-Epein Deparmen of Compuer
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 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 informationWe just finished the Erdős-Stone Theorem, and ex(n, F ) (1 1/(χ(F ) 1)) ( n
Lecure 3 - Kövari-Sós-Turán Theorem Jacques Versraëe jacques@ucsd.edu We jus finished he Erdős-Sone Theorem, and ex(n, F ) ( /(χ(f ) )) ( n 2). So we have asympoics when χ(f ) 3 bu no when χ(f ) = 2 i.e.
More informationStationary Distribution. Design and Analysis of Algorithms Andrei Bulatov
Saionary Disribuion Design and Analysis of Algorihms Andrei Bulaov Algorihms Markov Chains 34-2 Classificaion of Saes k By P we denoe he (i,j)-enry of i, j Sae is accessible from sae if 0 for some k 0
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 informationSolutions to Assignment 1
MA 2326 Differenial Equaions Insrucor: Peronela Radu Friday, February 8, 203 Soluions o Assignmen. Find he general soluions of he following ODEs: (a) 2 x = an x Soluion: I is a separable equaion as we
More informationANSWERS TO ODD NUMBERED EXERCISES IN CHAPTER
John Riley 6 December 200 NWER TO ODD NUMBERED EXERCIE IN CHPTER 7 ecion 7 Exercie 7-: m m uppoe ˆ, m=,, M (a For M = 2, i i eay o how ha I implie I From I, for any probabiliy vecor ( p, p 2, 2 2 ˆ ( p,
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 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 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 informationGraph Theory: Network Flow
Univeriy of Wahingon Mah 336 Term Paper Graph Theory: Nework Flow Auhor: Ellio Broard Advier: Dr. Jame Morrow 3 June 200 Conen Inroducion...................................... 2 2 Terminology......................................
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 informationEXERCISES FOR SECTION 1.5
1.5 Exisence and Uniqueness of Soluions 43 20. 1 v c 21. 1 v c 1 2 4 6 8 10 1 2 2 4 6 8 10 Graph of approximae soluion obained using Euler s mehod wih = 0.1. Graph of approximae soluion obained using Euler
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 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 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 informationDynamic Programming 11/8/2009. Weighted Interval Scheduling. Weighted Interval Scheduling. Unweighted Interval Scheduling: Review
//9 Algorihms Dynamic Programming - Weighed Ineral Scheduling Dynamic Programming Weighed ineral scheduling problem. Insance A se of n jobs. Job j sars a s j, finishes a f j, and has weigh or alue j. Two
More informationCONTROL SYSTEMS. Chapter 10 : State Space Response
CONTROL SYSTEMS Chaper : Sae Space Repone GATE Objecive & Numerical Type Soluion Queion 5 [GATE EE 99 IIT-Bombay : Mark] Conider a econd order yem whoe ae pace repreenaion i of he form A Bu. If () (),
More informationMath 2214 Solution Test 1 B Spring 2016
Mah 14 Soluion Te 1 B Spring 016 Problem 1: Ue eparaion of ariable o ole he Iniial alue DE Soluion (14p) e =, (0) = 0 d = e e d e d = o = ln e d uing u-du b leing u = e 1 e = + where C = for he iniial
More informationMacroeconomics 1. Ali Shourideh. Final Exam
4780 - Macroeconomic 1 Ali Shourideh Final Exam Problem 1. A Model of On-he-Job Search Conider he following verion of he McCall earch model ha allow for on-he-job-earch. In paricular, uppoe ha ime i coninuou
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 informationEECE 301 Signals & Systems Prof. Mark Fowler
EECE 30 Signal & Syem Prof. ark Fowler oe Se #34 C-T Tranfer Funcion and Frequency Repone /4 Finding he Tranfer Funcion from Differenial Eq. Recall: we found a DT yem Tranfer Funcion Hz y aking he ZT of
More informationEfficient Algorithms for Computing Disjoint QoS Paths
Efficien Algorihm for Compuing Dijoin QoS Pah Ariel Orda and Alexander Sprinon 1 Deparmen of Elecrical Engineering, Technion Irael Iniue of Technology, Haifa, Irael 32000 Email: ariel@eeechnionacil Parallel
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 informationMaximum Flow 5/6/17 21:08. Presentation for use with the textbook, Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015
Maximm Flo 5/6/17 21:08 Preenaion for e ih he exbook, Algorihm Deign and Applicaion, by M. T. Goodrich and R. Tamaia, Wiley, 2015 Maximm Flo χ 4/6 4/7 1/9 2015 Goodrich and Tamaia Maximm Flo 1 Flo Neork
More informationLinear Algebra Primer
Linear Algebra rimer And a video dicuion of linear algebra from EE263 i here (lecure 3 and 4): hp://ee.anford.edu/coure/ee263 lide from Sanford CS3 Ouline Vecor and marice Baic Mari Operaion Deerminan,
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 information