The base algorithm transparently ignores edges, but only if the graph contains at least 1 edge with positive weight. If ALL edges have negative weight, dual variables may be initialized to negative values which leads to failure. |
||
|---|---|---|
| python | ||
| README.md | ||
README.md
Maximum Weighted Matching
An O(n**3) implementation of maximum weighted matching in general graphs.
This is currently work-in-progress.