hatvis.problems.set_cover#
- hatvis.problems.set_cover(H, universe=None, costs=None)[source]#
Minimum-cost set cover as an integer program (solved with SciPy’s HiGHS interface).
\(\min\sum_e c_e x_e\) subject to \(\sum_{e\ni i}x_e\ge1\) for every vertex \(i\) of the universe, \(x_e\in\{0,1\}\).