A flow is a function where is the flow on edge with properties:
- Capacity constraints: for each edge ,
- Flow conservation: for each node :
- The total flow into is equal to total flow out of
- i.e. net flow into is equal to
- The total flow into is equal to total flow out of