Combinatorial algorithms for inverse network flow problems | Synapse