hatvis.problems.maximum_matching#

hatvis.problems.maximum_matching(H, weighted=True)[source]#

Maximum (weight) matching: pairwise disjoint hyperedges, as an integer program.

\(\max\sum_e w_e x_e\) subject to \(\sum_{e\ni i}x_e\le1\) for every vertex.