Maximum Flow

Analysis and Design of Algorithms

Jesus A. Gonzalez

July 17, 2019

Maximum Flow

Maximum Flow

Maximum Flow

Maximum Flow

Maximum Flow

Maximum Flow

Maximum Flow

Modeling the Problem

Flow Network

Flow

Flow

Flow

Capacity Restriction

Bias Simmetry

Flow Conservation

Example of Flow

Networks with Multiple Sources and Sinks

Networks with Multiple Sources and Sinks

Working with Flows

The Ford-Fulkerson Method

The Ford-Fulkerson Method

The Ford-Fulkerson Method

Residual Networks

Residual Networks

Example of Residual Network

Augmenting Paths

Lemma 26.3: Augmenting Paths

\(f_p(u, v) = \begin{cases} c_f(p) &\mbox{if } (u, v) \in p\\ -c_f(p) &\mbox {if } (v, u) \in p\\ 0 &\mbox{any other way}\\ \end{cases}\)

Corolary 26.4

Cuts in Flow Networks

Example of Cut

Lemma 26.5

Corolary 26.6

Theorem of the Maximum-Flow Minimum-Cut

Basic Ford-Fulkerson Algorithm

Example

Example

Analysis of Ford-Fulkerson