Flow Problem: Muhammad Saadi, PH.D
Flow Problem: Muhammad Saadi, PH.D
Flow Problem
Muhammad Saadi, Ph.D.
Assistant Professor
Department of Electrical Engineering
University of Central Punjab
Ford-Fulkerson Algorithm
2
0,10 0,8
s 0,1 t
0,6 0,10
4
Optimal Flow
2
9 8
s 1 t
6 7
4
Ford-Fulkerson Max Flow
4
2 5
3 1 1 1
2 2
s 4 t
3 2
1
3
This is the original network
Ford-Fulkerson Max Flow
1
2 5
1 1
2 2
s 4 t
2 2
3
Here is the optimal flow
7 Ford-Fulkerson Algorithm
8 Max Flow Example
6 • Try Ford-Fulkerson
B D
5 6 greedy approach
• What if we do
A F some non greedy
3 approach
3 6
5
C 1 E
9 Some more terms