| |
- MCFForDisconnectedGraphs(N, demand='demand', capacity='capacity', weight='weight')
- Return a min cost flow solution. If N is disconnected, solve components
independently and assemble the solutions.
- bipartizeAuxGraph(N, s=None, t=None)
- Return bipartite redraft of N. Nodes have the form (v,0) and (v,1).
If s and t are given, (s,1) and (t,0) do not exist.
- setUpAssignmentProblem(N)
- Return bipartite redraft of N, with a demand of -1 for every node in the
set 0 and 1 for every node in set 1. All upper bounds are 1.
|