Download presentation

Presentation is loading. Please wait.

Published byJeff Marriner Modified over 2 years ago

1
Network Flow CS494/594 – Graph Theory Alexander Sayers

2
Contents Definitions History Examples/Algorithms Applications Open Problems References Homework

3
Definitions

4
Maximum Flow Image from West

5
Min Cut Image from West

6
History A. N. Tolstoi (1930) – “Methods of finding the minimal total kilometrage in cargo-transportation planning in space.” – Soviet rail networks – Optimum solution does not have any negative-cost cycle in its residual graph.

7
History Image from Schrijver

8
History T. E. Harris and General F. S. Ross (1955) – “Fundamentals of a Method for Evaluating Rail Net Capacities” – Formulated the network flow problem. – “Consider a rail network connecting two cities by way of a number of intermediate cities, where each link of the network has a number assigned to it representing its capacity. Assuming a steady state condition, find a maximal flow from one given city to the other.”

9
History L. R. Ford and D. R. Fulkerson (1956) – “Maximal Flow through a Network” – Proposed the Ford-Fulkerson Algorithm that works in the “cases of most practical interest” by taking advantage of the network planarity.

10
Ford-Fulkerson Algorithm Algorithm – Begin with edges initialized to a flow of 0. – While there is a path (no specific path choosing method) from source to sink with capacity remaining. Increase the flow on each edge, by the amount equal to the minimum of the residual capacities of the edges on the path. Establish edges in the reverse direction of equal flow. – Continue until there is no such path remaining. – The flow into the sink is the maximum flow.

11
Failures of FF Algorithm Pathological scenarios Failure to halt – Ford and Fulkerson gave as an example a network with 10 vertices and 48 edges on which their algorithm may fail to halt. – Zwick proved that the smallest possible example of failing to halt is a network that has only 6 vertices and 8 edges. Image from Wiki

12
Failures of FF Algorithm

13
StepAugment. pathSent Flowe1e2e3 01 110 20 30 40 50 Image from Wiki Residual Values

14
History E. A. Dinitz (1970) – “Algorithm for solution of a problem of maximum flow in a network with power estimation.” – First publication of the Edmonds-Karp Algorithm. – Created Dinitz’s Algorithm. Image from http://www.cs.bgu.ac.il/~dinitz/

15
History J. Edmonds and R. M. Karp (1972) – “Theoretical improvements in algorithmic efficiency for network flow problems.” – Independently published the Edmonds-Karp Algorithm. Image from UC BerkleyImage from http://www.iasi.cnr.it/jack/

16
Edmonds-Karp/Dinitz’s Alg.

17
History R. K. Ahuja, T. L. Magnanti and J. B. Orlin (1993) – “Network Flow: Theory, Algorithms, and Applications.” – Developed a faster algorithm (a strongly polynomial running time algorithm) to solve network problems.

18
History Image from Asano

19
Applications Edge Disjoint Paths Bipartite Matching Baseball Elimination Problem Project Selection Image Segmentation Open Pit Mining Survey Design And many more (Ahuja, Magnanti, Orlin and Reddy came up with a very complete list of applications).

20
Baseball Elimination Problem Goal: – Calculate which teams can still win given all possible outcomes of remaining games. – Winning involves having won the most (or equal most) games at the conclusion of all games.

21
Baseball Elimination Problem Example: Based on the above information, which teams can still win (most, or tied most number of wins)? Atlanta83718 Philly80793 New York78 6 Montreal77823

22
Baseball Elimination Problem Let’s add some information: Based on the above new information, which teams can still win (most, or tied most number of wins)? Atl.PhillyNYMont. Atlanta83718-161 Philly807931-02 New York78 660-0 Montreal77823120-

23
Baseball Elimination Problem

24
Calculating whether New York can win: If all the games flow through, then they can. AP PM PAM M A st 2 1 1 1 4 7

25
Baseball Elimination Problem st

26
Project Selection Goal: – Choose a feasible subset of projects to maximize revenue.

27
Project Selection

28
Illustration of feasibility: Image from Wayne

29
Project Selection Image from Wayne

30
Project Selection Image from Wayne

31
Image Segmentation Goal: – Identify foreground and background in a complex scene.

32
Image Segmentation

33
Objective is to maximize the following: Turn this into a minimization problem: Image from Wayne

34
Image Segmentation Image from Wayne

35
Open Problems

36
References Ahuja, R. K.; Magnanti, T. L.; Orlin, J. B. (1993). “Network flow: theory, algorithms, and applications”. Prentice Hall. Ahuja, R. K.; Magnanti, T. L.; Orlin, J. B.; Reddy, M.R. (June 1994). “Applications of network optimization”. Asano, T.; Asano, Y. (2000) “Recent developments in maximum flow algorithms”. Journal of the Operations Research. Society of Japan 43 (2). Biedl, T. C.; Brejova, B.; Vinar, T. (2000). “Simplifying flow networks”. Department of Computer Science, University of Waterloo. Dinic, E. A. (1970). "Algorithm for solution of a problem of maximum flow in a network with power estimation". Soviet Math. Doklady (Doklady) 11: 1277–1280. Edmonds, Jack; Karp, Richard M. (1972). "Theoretical improvements in algorithmic efficiency for network flow problems". Journal of the ACM (Association for Computing Machinery) 19 (2): 248–264. Ford, L. R.; Fulkerson, D. R. (1956). "Maximal flow through a network". Canadian Journal of Mathematics 8: 399. Schrijver, Alexander (2002). “On the history of the transportation and maximum flow problems.” [51] Schrijver,A. West, Douglas B. (2001). “Introduction to Graph Theory (2 nd Edition).” Pearson Education.

37
References Zwick, Uri (21 August 1995). "The smallest networks on which the Ford-Fulkerson maximum flow procedure may fail to terminate". Theoretical Computer Science 148 (1): 165–170.

38
Homework

39
2)Given a directed graph where the vertices are assigned maximum capacities as well as the edges. Describe/illustrate how you would calculate maximum flow of this graph using established network flow theory/algorithms?

40
Questions

Similar presentations

OK

Hungarian Algorithm Vida Movahedi Elderlab, York University June 2007.

Hungarian Algorithm Vida Movahedi Elderlab, York University June 2007.

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on voluntary provident fund Ppt on total parenteral nutrition side Ppt on carburetor system diagram Ppt on abstract art for kids Ppt on cross docking meaning Ppt on sustainable development Training ppt on customer service Ppt on ideal gas laws Ppt on internet banking of sbi Interactive ppt on classification