Algorithm. Ford-Fulkerson [00SE]

f(e) \gets 0 for all e \in E
\mathsf {while} there exists any path P from s to t in G_{f}:
\alpha \gets \min \{ w(e) \mid e \in P \}
f(e) \gets f(e) + \alpha for each e \in P such that e \in E
f(e) \gets f(e) - \alpha for each e \in P such that e^{R} \in E