7.6 Disjoint Paths. 7. Network Flow Applications. Edge Disjoint Paths. Edge Disjoint Paths
|
|
- Alban Harrell
- 5 years ago
- Views:
Transcription
1 . Nework Flow Applcaon. Djon Pah Algorhm Degn by Éva Tardo and Jon Klenberg Copyrgh Addon Weley Slde by Kevn Wayne Algorhm Degn by Éva Tardo and Jon Klenberg Copyrgh Addon Weley Slde by Kevn Wayne Edge Djon Pah Edge Djon Pah Djon pah problem. Gven a dgraph G = (V, E) and wo node and, fnd he ma number of edgedjon pah. Def. Two pah are edgedjon f hey have no edge n common. E: communcaon nework. Djon pah problem. Gven a dgraph G = (V, E) and wo node and, fnd he ma number of edgedjon pah. Def. Two pah are edgedjon f hey have no edge n common. E: communcaon nework.
2 Edge Djon Pah Edge Djon Pah Ma flow formulaon: agn un capacy o every edge. Ma flow formulaon: agn un capacy o every edge. Theorem. Ma number edgedjon pah equal ma flow value. Pf. Suppoe here are k edgedjon pah P,..., P k. Se f(e) = f e parcpae n ome pah P ; ele e f(e) =. Snce pah are edgedjon, f a flow of value k. Theorem. Ma number edgedjon pah equal ma flow value. Pf. $ Suppoe ma flow value k. Inegraly heorem % here e flow f of value k. Conder edge (, u) wh f(, u) =. by conervaon, here e an edge (u, v) wh f(u, v) = connue unl reach, alway choong a new edge Produce k (no necearly mple) edgedjon pah. Nework Connecvy Edge Djon Pah and Nework Connecvy Nework connecvy. Gven a dgraph G = (V, E) and wo node and, fnd mn number of edge whoe removal dconnec from. Menger Theorem (9). The ma number of edgedjon pah equal o he mn number of edge whoe removal dconnec from. Def. A e of edge F # E dconnec from f all pah ue a lea one edge n F. Pf. " Suppoe he removal of F # E dconnec from, and F = k. All pah ue a lea one edge of F. Hence, he number of edgedjon pah a mo k. 8
3 Djon Pah and Nework Connecvy Menger Theorem (9). The ma number of edgedjon pah equal o he mn number of edge whoe removal dconnec from.. Bpare Machng Pf. $ " Suppoe ma number of edgedjon pah k. " Then ma flow value k. " Maflow mncu % cu (A, B) of capacy k. " Le F be e of edge gong from A o B. " F = k and dconnec from. A 9 Algorhm Degn by Éva Tardo and Jon Klenberg Copyrgh Addon Weley Slde by Kevn Wayne Machng Bpare Machng Machng. Inpu: undreced graph G = (V, E). M # E a machng f each node appear n a mo edge n M. Ma machng: fnd a ma cardnaly machng. Bpare machng. Inpu: undreced, bpare graph G = (L & R, E). M # E a machng f each node appear n a mo edge n M. Ma machng: fnd a ma cardnaly machng. machng,, L R
4 Bpare Machng Bpare Machng Bpare machng. Inpu: undreced, bpare graph G = (L & R, E). M # E a machng f each node appear n a mo edge n M. Ma machng: fnd a ma cardnaly machng. Ma flow formulaon. Creae dgraph G = (L & R & {, }, E ). Drec all edge from L o R, and agn nfne (or un) capacy. Add ource, and un capacy edge from o each node n L. Add nk, and un capacy edge from each node n R o. G ma machng,, L R L R Bpare Machng: Proof of Correcne Bpare Machng: Proof of Correcne Theorem. Ma cardnaly machng n G = value of ma flow n G. Pf. Gven ma machng M of cardnaly k. Conder flow f ha end un along each of k pah. f a flow, and ha cardnaly k. Theorem. Ma cardnaly machng n G = value of ma flow n G. Pf. $ Le f be a ma flow n G of value k. Inegraly heorem % k negral and can aume f. Conder M = e of edge from L o R wh f(e) =. each node n L and R parcpae n a mo one edge n M M = k: conder cu (L &, R & ) G G G G
5 Perfec Machng Perfec Machng Def. A machng M # E perfec f each node appear n eacly one edge n M. Noaon. Le S be a ube of node, and le N(S) be he e of node adjacen o node n S. Q. When doe a bpare graph have a perfec machng? Srucure of bpare graph wh perfec machng. Clearly we mu have L = R. Wha oher condon are neceary? Wha condon are uffcen? Obervaon. If a bpare graph G = (L & R, E), ha a perfec machng, hen N(S) $ S for all ube S # L. Pf. Each node n S ha o be mached o a dfferen node n N(S). No perfec machng: S = {,, } N(S) = {, }. L R 8 Marrage Theorem Proof of Marrage Theorem Marrage Theorem. [Frobenu 9, Hall 9] Le G = (L & R, E) be a bpare graph wh L = R. Then, G ha a perfec machng ff N(S) $ S for all ube S # L. Pf. % Th wa he prevou obervaon. L R No perfec machng: S = {,, } N(S) = {, }. Pf. ( Suppoe G doe no have a perfec machng. Formulae a a ma flow problem and le (A, B) be mn cu n G. " By maflow mncu, cap(a, B) < L. " Defne L A = L ) A, L B = L ) B, R A = R ) A. cap(a, B) = L B + R A. Snce mn cu can ue edge: N(L A ) # R A. N(L A ) R A = cap(a, B) L B < L L B = L A. Chooe S = L A. G A L A = {,, } L B = {, } R A = {, } N(L A ) = {, } 9
6 Image Segmenaon. Image Segmenaon Image egmenaon. Cenral problem n mage proceng. Dvde mage no coheren regon. E: Three people andng n fron of comple background cene. Idenfy each peron a a coheren objec. Algorhm Degn by Éva Tardo and Jon Klenberg Copyrgh Addon Weley Slde by Kevn Wayne Image Segmenaon Image Segmenaon Foreground / background egmenaon. Label each pel n pcure a belongng o foreground or background. V = e of pel, E = par of neghborng pel. a $ lkelhood pel n foreground. b $ lkelhood pel n background. p j $ eparaon penaly for labelng one of and j a foreground, and he oher a background. Goal. Accuracy: f a > b n olaon, prefer o label n foreground. Smoohne: f many neghbor of are labeled foreground, we hould be nclned o label a foreground. Fnd paron (A, B) ha mamze: # a + b j " A j " B foreground background # $ # p j (, j) " E AI{, j} = Formulae a mn cu problem. Mamzaon. No ource or nk. Undreced graph. Turn no mnmzaon problem. Mamzng # a + b j " A j " B equvalen o mnmzng # $ # p j (, j) " E AI{, j} = ( # " V a + b # j " V ) j or alernavely # a j + # b + # p j j " B a conan " A (, j) " E AI{, j} = $ # a $ b j " A j " B # + # p j (, j) " E AI{, j} =
7 Image Segmenaon Image Segmenaon Formulae a mn cu problem. G = (V, E). Add ource o correpond o foreground; add nk o correpond o background Ue wo anparallel edge nead of undreced edge. p j p j p j Conder mn cu (A, B) n G. A = foreground. cap(a, B) = # a j + # b + # p j j " B " A (, j) " E " A, j " B Precely he quany we wan o mnmze. f and j on dfferen de, p j couned eacly once a j a j p j j p j j b A b G G Projec Selecon. Projec Selecon Projec wh prereque. can be pove or negave Se P of poble projec. Projec v ha aocaed revenue p v. ome projec generae money: creae neracve ecommerce nerface, redegn web page oher co money: upgrade compuer, ge e lcene Se of prereque E. If (v, w) * E, can do projec v unle alo do projec w. A ube of projec A # P feable f he prereque of every projec n A alo belong o A. Projec elecon. Chooe a feable ube of projec o mamze revenue. Algorhm Degn by Éva Tardo and Jon Klenberg Copyrgh Addon Weley Slde by Kevn Wayne 8
8 Projec Selecon: Prereque Graph Projec Selecon: Mn Cu Formulaon Prereque graph. Include an edge from v o w f can do v whou alo dong w. {v, w, } feable ube of projec. {v, } nfeable ube of projec. Mn cu formulaon. Agn capacy o all prereque edge. Add edge (, v) wh capacy pv f pv >. Add edge (v, ) wh capacy pv f pv <. For noaonal convenence, defne p = p =. w w u v v feable pu py y pw z pv pz p v nfeable w 9 Projec Selecon: Mn Cu Formulaon Open P Mnng Clam. (A, B) mn cu ff A + { } opmal e of projec. Infne capacy edge enure A + { } feable. Ma revenue becaue: cap(a, B) = # p v + # ($ p v ) Openp mnng. (uded nce early 9) Block of earh are eraced from urface o rereve ore. Each block v ha ne value pv = value of ore proceng co. Can remove block v before w or. v" B: pv > = v" A: pv < #pv $ #pv v: pv > v " A conan w A u pu w pw py pv y z v v p
9 Baeball Elmnaon. Baeball Elmnaon "See ha hng n he paper la week abou Enen?... Some reporer aked hm o fgure ou he mahemac of he pennan race. You know, one eam wn o many of her remanng game, he oher eam wn h number or ha number. Wha are he myrad poble? Who go he edge?" "The hell doe he know?" "Apparenly no much. He pcked he Dodger o elmnae he Gan la Frday." Don DeLllo, Underworld Algorhm Degn by Éva Tardo and Jon Klenberg Copyrgh Addon Weley Slde by Kevn Wayne Baeball Elmnaon Baeball Elmnaon Agan = rj Agan = rj Team Wn w Loe l To play r Al Ph NY Mon Team Wn w Loe l To play r Al Ph NY Alana 8 8 Alana 8 8 Phlly 8 9 Phlly 8 9 New York 8 8 New York 8 8 Monreal 8 Monreal 8 Whch eam have a chance of fnhng he eaon wh mo wn? Monreal elmnaed nce can fnh wh a mo 8 wn, bu Alana already ha 8. w + r < wj % eam elmnaed. Only reaon por wrer appear o be aware of. Suffcen, bu no neceary Mon Whch eam have a chance of fnhng he eaon wh mo wn? Phlly can wn 8, bu ll elmnaed... If Alana loe a game, hen ome oher eam wn one. Remark. Anwer depend no ju on how many game already won and lef o play, bu alo on whom heyre agan. " "
10 Baeball Elmnaon Baeball Elmnaon: Ma Flow Formulaon Baeball elmnaon problem. Se of eam S. Dnguhed eam * S. Team ha won w game already. Team and y play each oher r y addonal me. I here any oucome of he remanng game n whch eam fnhe wh he mo (or ed for he mo) wn? Can eam fnh wh mo wn? Aume eam wn all remanng game % w + r wn. Dvvy remanng game o ha all eam have w + r wn. game lef eam can ll wn h many more game r = w + r w game node eam node 8 Baeball Elmnaon: Ma Flow Formulaon Baeball Elmnaon: Eplanaon for Spor Wrer Theorem. Team no elmnaed ff ma flow aurae all arc leavng ource. Inegraly heorem % each remanng game beween and y added o number of wn for eam or eam y. " Capacy on (, ) arc enure no eam wn oo many game. Team Wn w Loe To play Agan = r j l NY Bal Bo Tor NY Balmore 8 Boon 9 8 Torono Dero 9 8 r De game lef r = w + r w eam can ll wn h many more game AL Ea: Augu, 99 Whch eam have a chance of fnhng he eaon wh mo wn? Dero could fnh eaon wh 9 + = wn. game node eam node 9
11 Baeball Elmnaon: Eplanaon for Spor Wrer Baeball Elmnaon: Eplanaon for Spor Wrer Team Wn w Whch eam have a chance of fnhng he eaon wh mo wn? Dero could fnh eaon wh 9 + = wn. Cerfcae of elmnaon. R = {NY, Bal, Bo, Tor} Have already won w(r) = 8 game. Mu wn a lea r(r) = more. Loe To play Agan = r j l NY Bal Bo Tor NY Balmore 8 Boon 9 8 Torono Dero 9 8 Average eam n R wn a lea / > game. r AL Ea: Augu, 99 De Cerfcae of elmnaon. If # remanng game # wn 8 8 T " S, w(t) := $ w, g(t) := $ g y, #T, y #T LB on avg # game won 8 w(t)+ g(t) T > w z + g z hen z elmnaed (by ube T). Theorem. [HoffmanRvln, 9] Team z elmnaed f and only f here e a ube T ha elmnae z. Proof dea. Le T = eam node on ource de of mn cu. Baeball Elmnaon: Eplanaon for Spor Wrer Baeball Elmnaon: Eplanaon for Spor Wrer Pf of heorem. Ue ma flow formulaon, and conder mn cu (A, B). Defne T* = eam node on ource de of mn cu. Oberve y * A ff boh * T* and y * T*. nfne capacy edge enure f y * A hen * A and y * A f * A and y * A bu y * T, hen addng y o A decreae capacy of cu Pf of heorem. Ue ma flow formulaon, and conder mn cu (A, B). Defne T* = eam node on ource de of mn cu. Oberve y * A ff boh * T* and y * T*. " g(s " {z}) > cap(a, B) capacy of game edge leavng capacy of eam edge leavng 8 8 = g(s " {z})" g(t*) + $ (w z + g z " w ) #T* = g(s " {z})" g(t*) " w(t*) + T* (w z + g z ) game lef y eam can ll wn h many more game " Rearrangng erm: w z + g z < w(t*)+ g(t*) T* r = y w z + r z w
7.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 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 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 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 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 informationChapter 7. Network Flow. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved.
Chapter 7 Network Flow Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. 7.5 Bipartite Matching Bipartite Matching Bipartite matching. Input: undirected, bipartite graph
More informationChapter 7. Network Flow. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved.
Chapter 7 Network Flow Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. 7.5 Bipartite Matching Matching Matching. Input: undirected graph G = (V, E). M E is a matching
More informationCS 580: Algorithm Design and Analysis. Jeremiah Blocki Purdue University Spring 2018
CS 580: Algorithm Design and Analysis Jeremiah Blocki Purdue University Spring 208 Midterm Exam Anticipate having midterm graded at this point Look for comments on Piazza Common Mistakes Average, Max,
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 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 information7. NETWORK FLOW II. Soviet rail network (1950s) Max-flow and min-cut applications. "Free world" goal. Cut supplies (if cold war turns into real war).
Sovie rail nework (9). NETWORK FLOW II "Free world" goal. Cu upplie (if cold war urn ino real war). Lecure lide by Kevin Wayne Copyrigh Pearon-Addion Weley Copyrigh Kevin Wayne hp://www.c.princeon.edu/~wayne/kleinberg-ardo
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 information(,,, ) (,,, ). In addition, there are three other consumers, -2, -1, and 0. Consumer -2 has the utility function
MACROECONOMIC THEORY T J KEHOE ECON 87 SPRING 5 PROBLEM SET # Conder an overlappng generaon economy le ha n queon 5 on problem e n whch conumer lve for perod The uly funcon of he conumer born n perod,
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 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 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 information( ) () we define the interaction representation by the unitary transformation () = ()
Hgher Order Perurbaon Theory Mchael Fowler 3/7/6 The neracon Represenaon Recall ha n he frs par of hs course sequence, we dscussed he chrödnger and Hesenberg represenaons of quanum mechancs here n he chrödnger
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 informationSolution in semi infinite diffusion couples (error function analysis)
Soluon n sem nfne dffuson couples (error funcon analyss) Le us consder now he sem nfne dffuson couple of wo blocks wh concenraon of and I means ha, n a A- bnary sysem, s bondng beween wo blocks made of
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 informationBipartite Matching. Matching. Bipartite Matching. Maxflow Formulation
Mching Inpu: undireced grph G = (V, E). Biprie Mching Inpu: undireced, biprie grph G = (, E).. Mching Ern Myr, Hrld äcke Biprie Mching Inpu: undireced, biprie grph G = (, E). Mflow Formulion Inpu: undireced,
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 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 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 informationP a g e 5 1 of R e p o r t P B 4 / 0 9
P a g e 5 1 of R e p o r t P B 4 / 0 9 J A R T a l s o c o n c l u d e d t h a t a l t h o u g h t h e i n t e n t o f N e l s o n s r e h a b i l i t a t i o n p l a n i s t o e n h a n c e c o n n e
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 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 informationSoviet Rail Network, 1955
Ch7. Network Flow Soviet Rail Network, 955 Reference: On the history of the transportation and maximum flow problems. Alexander Schrijver in Math Programming, 9: 3, 2002. 2 Maximum Flow and Minimum Cut
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 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 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 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 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 informationCS434a/541a: Pattern Recognition Prof. Olga Veksler. Lecture 4
CS434a/54a: Paern Recognon Prof. Olga Veksler Lecure 4 Oulne Normal Random Varable Properes Dscrmnan funcons Why Normal Random Varables? Analycally racable Works well when observaon comes form a corruped
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 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 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 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 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 informationNotes on the stability of dynamic systems and the use of Eigen Values.
Noes on he sabl of dnamc ssems and he use of Egen Values. Source: Macro II course noes, Dr. Davd Bessler s Tme Seres course noes, zarads (999) Ineremporal Macroeconomcs chaper 4 & Techncal ppend, and Hamlon
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 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 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 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 informationCS 580: Algorithm Design and Analysis. Jeremiah Blocki Purdue University Spring 2019
CS 580: Algorithm Design and Analysis Jeremiah Blocki Purdue University Spring 2019 Recap Network Flow Problems Max-Flow Min Cut Theorem Ford Fulkerson Augmenting Paths Residual Flow Graph Integral Solutions
More informationA. Inventory model. Why are we interested in it? What do we really study in such cases.
Some general yem model.. Inenory model. Why are we nereed n? Wha do we really udy n uch cae. General raegy of machng wo dmlar procee, ay, machng a fa proce wh a low one. We need an nenory or a buffer or
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 informationLecture VI Regression
Lecure VI Regresson (Lnear Mehods for Regresson) Conens: Lnear Mehods for Regresson Leas Squares, Gauss Markov heorem Recursve Leas Squares Lecure VI: MLSC - Dr. Sehu Vjayakumar Lnear Regresson Model M
More informationLecture 6: Learning for Control (Generalised Linear Regression)
Lecure 6: Learnng for Conrol (Generalsed Lnear Regresson) Conens: Lnear Mehods for Regresson Leas Squares, Gauss Markov heorem Recursve Leas Squares Lecure 6: RLSC - Prof. Sehu Vjayakumar Lnear Regresson
More informationMatrix reconstruction with the local max norm
Marx reconrucon wh he local max norm Rna oygel Deparmen of Sac Sanford Unvery rnafb@anfordedu Nahan Srebro Toyoa Technologcal Inue a Chcago na@cedu Rulan Salakhudnov Dep of Sac and Dep of Compuer Scence
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 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 informationLecture 11: Stereo and Surface Estimation
Lecure : Sereo and Surface Emaon When camera poon have been deermned, ung rucure from moon, we would lke o compue a dene urface model of he cene. In h lecure we wll udy he o called Sereo Problem, where
More informationCS286.2 Lecture 14: Quantum de Finetti Theorems II
CS286.2 Lecure 14: Quanum de Fne Theorems II Scrbe: Mara Okounkova 1 Saemen of he heorem Recall he las saemen of he quanum de Fne heorem from he prevous lecure. Theorem 1 Quanum de Fne). Le ρ Dens C 2
More informationPhysics 20 Lesson 9H Rotational Kinematics
Phyc 0 Len 9H Ranal Knemac In Len 1 9 we learned abu lnear mn knemac and he relanhp beween dplacemen, velcy, acceleran and me. In h len we wll learn abu ranal knemac. The man derence beween he w ype mn
More informationDynamic Team Decision Theory. EECS 558 Project Shrutivandana Sharma and David Shuman December 10, 2005
Dynamc Team Decson Theory EECS 558 Proec Shruvandana Sharma and Davd Shuman December 0, 005 Oulne Inroducon o Team Decson Theory Decomposon of he Dynamc Team Decson Problem Equvalence of Sac and Dynamc
More information7. NETWORK FLOW II. Minimum cut application (RAND 1950s) Maximum flow application (Tolstoǐ 1930s) Max-flow and min-cut applications
Minimum cu applicaion (RAND 90). NETWORK FLOW II Free world goal. Cu upplie (if Cold War urn ino real war). Lecure lide by Kevin Wayne Copyrigh 00 Pearon-Addion Weley biparie maching dijoin pah exenion
More informationVariants of Pegasos. December 11, 2009
Inroducon Varans of Pegasos SooWoong Ryu bshboy@sanford.edu December, 009 Youngsoo Cho yc344@sanford.edu Developng a new SVM algorhm s ongong research opc. Among many exng SVM algorhms, we wll focus on
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 informationIn the complete model, these slopes are ANALYSIS OF VARIANCE FOR THE COMPLETE TWO-WAY MODEL. (! i+1 -! i ) + [(!") i+1,q - [(!
ANALYSIS OF VARIANCE FOR THE COMPLETE TWO-WAY MODEL The frs hng o es n wo-way ANOVA: Is here neracon? "No neracon" means: The man effecs model would f. Ths n urn means: In he neracon plo (wh A on he horzonal
More informationClustering (Bishop ch 9)
Cluserng (Bshop ch 9) Reference: Daa Mnng by Margare Dunham (a slde source) 1 Cluserng Cluserng s unsupervsed learnng, here are no class labels Wan o fnd groups of smlar nsances Ofen use a dsance measure
More informationEpistemic Game Theory: Online Appendix
Epsemc Game Theory: Onlne Appendx Edde Dekel Lucano Pomao Marcano Snscalch July 18, 2014 Prelmnares Fx a fne ype srucure T I, S, T, β I and a probably µ S T. Le T µ I, S, T µ, βµ I be a ype srucure ha
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 informationBag for Sophia by Leonie Bateman and Deirdre Bond-Abel
Bag for Sopha 2012 by Leone Baeman and Derdre Bond-Abel Ths bag was desgned o go wh he beauful feled wool scarf of our book Elegan Quls, Counry Charm. Make boh and you ll have he perfec ensemble o wear
More informationMechanics Physics 151
Mechancs Physcs 5 Lecure 9 Hamlonan Equaons of Moon (Chaper 8) Wha We Dd Las Tme Consruced Hamlonan formalsm H ( q, p, ) = q p L( q, q, ) H p = q H q = p H = L Equvalen o Lagrangan formalsm Smpler, bu
More informationA Tour of Modeling Techniques
A Tour of Modelng Technques John Hooker Carnege Mellon Unversy EWO Semnar February 8 Slde Oulne Med neger lnear (MILP) modelng Dsuncve modelng Knapsack modelng Consran programmng models Inegraed Models
More informationH = d d q 1 d d q N d d p 1 d d p N exp
8333: Sacal Mechanc I roblem Se # 7 Soluon Fall 3 Canoncal Enemble Non-harmonc Ga: The Hamlonan for a ga of N non neracng parcle n a d dmenonal box ha he form H A p a The paron funcon gven by ZN T d d
More informationScattering at an Interface: Oblique Incidence
Course Insrucor Dr. Raymond C. Rumpf Offce: A 337 Phone: (915) 747 6958 E Mal: rcrumpf@uep.edu EE 4347 Appled Elecromagnecs Topc 3g Scaerng a an Inerface: Oblque Incdence Scaerng These Oblque noes may
More informationDisplacement, Velocity, and Acceleration. (WHERE and WHEN?)
Dsplacemen, Velocy, and Acceleraon (WHERE and WHEN?) Mah resources Append A n your book! Symbols and meanng Algebra Geomery (olumes, ec.) Trgonomery Append A Logarhms Remnder You wll do well n hs class
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 informationMechanics Physics 151
Mechancs Physcs 5 Lecure 9 Hamlonan Equaons of Moon (Chaper 8) Wha We Dd Las Tme Consruced Hamlonan formalsm Hqp (,,) = qp Lqq (,,) H p = q H q = p H L = Equvalen o Lagrangan formalsm Smpler, bu wce as
More informationRobust and Accurate Cancer Classification with Gene Expression Profiling
Robus and Accurae Cancer Classfcaon wh Gene Expresson Proflng (Compuaonal ysems Bology, 2005) Auhor: Hafeng L, Keshu Zhang, ao Jang Oulne Background LDA (lnear dscrmnan analyss) and small sample sze problem
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 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 informationHow to Solve System Dynamic s Problems
How o Solve Sye Dynaic Proble A ye dynaic proble involve wo or ore bodie (objec) under he influence of everal exernal force. The objec ay uliaely re, ove wih conan velociy, conan acceleraion or oe cobinaion
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 informationUNIVERSITAT AUTÒNOMA DE BARCELONA MARCH 2017 EXAMINATION
INTERNATIONAL TRADE T. J. KEHOE UNIVERSITAT AUTÒNOMA DE BARCELONA MARCH 27 EXAMINATION Please answer wo of he hree quesons. You can consul class noes, workng papers, and arcles whle you are workng on he
More informationCHAPTER 7: CLUSTERING
CHAPTER 7: CLUSTERING Semparamerc Densy Esmaon 3 Paramerc: Assume a snge mode for p ( C ) (Chapers 4 and 5) Semparamerc: p ( C ) s a mure of denses Mupe possbe epanaons/prooypes: Dfferen handwrng syes,
More informationMultiple Failures. Diverse Routing for Maximizing Survivability. Maximum Survivability Models. Minimum-Color (SRLG) Diverse Routing
Mulple Falure Dvere Roung for Maxmzng Survvably One-falure aumpon n prevou work Mulple falure Hard o provde 100% proecon Maxmum urvvably Maxmum Survvably Model Mnmum-Color (SRLG) Dvere Roung Each lnk ha
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 informationAdvanced time-series analysis (University of Lund, Economic History Department)
Advanced me-seres analss (Unvers of Lund, Economc Hsor Dearmen) 3 Jan-3 Februar and 6-3 March Lecure 4 Economerc echnues for saonar seres : Unvarae sochasc models wh Box- Jenns mehodolog, smle forecasng
More informationCHAPTER 10: LINEAR DISCRIMINATION
CHAPER : LINEAR DISCRIMINAION Dscrmnan-based Classfcaon 3 In classfcaon h K classes (C,C,, C k ) We defned dscrmnan funcon g j (), j=,,,k hen gven an es eample, e chose (predced) s class label as C f g
More informationCHAPTER 5: MULTIVARIATE METHODS
CHAPER 5: MULIVARIAE MEHODS Mulvarae Daa 3 Mulple measuremens (sensors) npus/feaures/arbues: -varae N nsances/observaons/eamples Each row s an eample Each column represens a feaure X a b correspons o he
More informationLecture 11 SVM cont
Lecure SVM con. 0 008 Wha we have done so far We have esalshed ha we wan o fnd a lnear decson oundary whose margn s he larges We know how o measure he margn of a lnear decson oundary Tha s: he mnmum geomerc
More informationT h e C S E T I P r o j e c t
T h e P r o j e c t T H E P R O J E C T T A B L E O F C O N T E N T S A r t i c l e P a g e C o m p r e h e n s i v e A s s es s m e n t o f t h e U F O / E T I P h e n o m e n o n M a y 1 9 9 1 1 E T
More informationA Demand System for Input Factors when there are Technological Changes in Production
A Demand Syem for Inpu Facor when here are Technologcal Change n Producon Movaon Due o (e.g.) echnologcal change here mgh no be a aonary relaonhp for he co hare of each npu facor. When emang demand yem
More informationGravity Segmentation of Human Lungs from X-ray Images for Sickness Classification
Gravy Segmenaon of Human Lung from X-ray Image for Sckne Clafcaon Crag Waman and Km Le School of Informaon Scence and Engneerng Unvery of Canberra Unvery Drve, Bruce, ACT-60, Aurala Emal: crag_waman@ece.com,
More informationComb Filters. Comb Filters
The smple flers dscussed so far are characered eher by a sngle passband and/or a sngle sopband There are applcaons where flers wh mulple passbands and sopbands are requred Thecomb fler s an example of
More informationChapter Lagrangian Interpolation
Chaper 5.4 agrangan Inerpolaon Afer readng hs chaper you should be able o:. dere agrangan mehod of nerpolaon. sole problems usng agrangan mehod of nerpolaon and. use agrangan nerpolans o fnd deraes and
More informationELIMINATION OF DOMINATED STRATEGIES AND INESSENTIAL PLAYERS
OPERATIONS RESEARCH AND DECISIONS No. 1 215 DOI: 1.5277/ord1513 Mamoru KANEKO 1 Shuge LIU 1 ELIMINATION OF DOMINATED STRATEGIES AND INESSENTIAL PLAYERS We udy he proce, called he IEDI proce, of eraed elmnaon
More informationLaplace transfom: t-translation rule , Haynes Miller and Jeremy Orloff
Laplace ransfom: -ranslaion rule 8.03, Haynes Miller and Jeremy Orloff Inroducory example Consider he sysem ẋ + 3x = f(, where f is he inpu and x he response. We know is uni impulse response is 0 for
More informationHow about the more general "linear" scalar functions of scalars (i.e., a 1st degree polynomial of the following form with a constant term )?
lmcd Lnear ransformaon of a vecor he deas presened here are que general hey go beyond he radonal mar-vecor ype seen n lnear algebra Furhermore, hey do no deal wh bass and are equally vald for any se of
More informationOrdinary Differential Equations in Neuroscience with Matlab examples. Aim 1- Gain understanding of how to set up and solve ODE s
Ordnary Dfferenal Equaons n Neuroscence wh Malab eamples. Am - Gan undersandng of how o se up and solve ODE s Am Undersand how o se up an solve a smple eample of he Hebb rule n D Our goal a end of class
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 informationAlgorithm Design and Analysis
Algorithm Design and Analysis LECTURE 22 Maximum Flow Applications Image segmentation Project selection Extensions to Max Flow Sofya Raskhodnikova 11/07/2016 S. Raskhodnikova; based on slides by E. Demaine,
More informationUnit Root Time Series. Univariate random walk
Uni Roo ime Series Univariae random walk Consider he regression y y where ~ iid N 0, he leas squares esimae of is: ˆ yy y y yy Now wha if = If y y hen le y 0 =0 so ha y j j If ~ iid N 0, hen y ~ N 0, he
More informationExample: MOSFET Amplifier Distortion
4/25/2011 Example MSFET Amplfer Dsoron 1/9 Example: MSFET Amplfer Dsoron Recall hs crcu from a prevous handou: ( ) = I ( ) D D d 15.0 V RD = 5K v ( ) = V v ( ) D o v( ) - K = 2 0.25 ma/v V = 2.0 V 40V.
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 information. The geometric multiplicity is dim[ker( λi. number of linearly independent eigenvectors associated with this eigenvalue.
Lnear Algebra Lecure # Noes We connue wh he dscusson of egenvalues, egenvecors, and dagonalzably of marces We wan o know, n parcular wha condons wll assure ha a marx can be dagonalzed and wha he obsrucons
More information