MinCostFlow
.) Solve()
method, and then display the flow and cost across each arc.SimpleMinCostFlow Flow
class provides the following methods, most of which are not used in the preceding example:AddArcWithCapacityAndUnitCost()
SetNodeSupply()
Head()
NumArcs()
NumNodes()
MaximumFlow()
OptimalCost()
Solve()
SolveMaxFlowWithMinCost()
Tail()