hatvis.problems#
Combinatorial problems formulated on hypergraphs.
Many decision problems are naturally stated on a family of sets:
set cover – choose hyperedges that cover all vertices at minimum cost (staffing, sensor placement, test selection);
hitting set / transversal – choose vertices that meet every hyperedge (minimal diagnoses, key resources, monitoring points); the minimal transversals form the transversal hypergraph \(Tr(H)\);
matching and independent sets – non-conflicting selections;
coloring – conflict-free scheduling (no hyperedge monochromatic);
acyclicity – GYO reduction and join trees (relational databases, efficient inference);
directed hypergraphs – B-reachability and shortest hyperpaths for AND-type dependencies (assembly, Horn clauses, reaction networks).
Set cover, hitting set, minimal transversals, matching, coloring, acyclicity and join trees, conformality, Helly property, directed hyperpaths.
Functions#
|
Greedy set cover (Chvátal 1979). |
|
Minimum-cost set cover as an integer program (solved with SciPy's HiGHS interface). |
|
Greedy hitting set: the greedy set cover of the dual hypergraph. |
|
Minimum (cost) hitting set, i.e. minimum vertex cover / transversal, as an integer program. |
|
All minimal transversals (Berge's sequential algorithm). |
|
The transversal (blocker) hypergraph \(Tr(H)\) of the minimal transversals. |
|
Maximum (weight) matching: pairwise disjoint hyperedges, as an integer program. |
|
Greedy vertex coloring. |
|
Decide Property B (2-colorability without monochromatic hyperedge) by backtracking. |
GYO reduction (Graham 1979; Yu and Özsoyoğlu 1979). |
|
True if the hypergraph is \(\alpha\)-acyclic (see |
|
|
Join tree of an \(\alpha\)-acyclic hypergraph. |
|
Conformality: every maximal clique of the clique expansion lies inside a hyperedge. |
Helly property: every pairwise intersecting subfamily has a common vertex. |
|
|
Vertices B-reachable from |
|
Minimum B-hyperpath distances from |