Source: https://perso.esiee.fr/~talboth/ESIEE/IF4-ALG2/pdf/07_transport_formulation.pdf