minimum_cost_flow (266B)
1 # Minimum cost flow 2 3 https://en.wikipedia.org/wiki/Minimum-cost_flow_problem 4 5 You want to send a certain amount of flow through a [flow_network], but edges have costs and you want to minimize the cost 6 7 Solvable in [PTIME] by [linear_programming] 8 9 Up: [network_flow]