Ford-Fulkerson algorithm

  1. Start with a feasible flow, say the zero flow $x=0$.

  2. While there exists an augmenting path from $1$ to $n$:

    1. Push as much as possible through the path.

  3. $x$ is now optimal. We can find a cut with capacity equal to the amount of flow.

Example

If the capacity is an integer, the algorithm is guaranteed to terminate. Otherwise it may have infinite steps.