Exact Triangle on three integer weight matrices #
The three parts have t vertices each. The matrices give the weights between the first and
second, second and third, and first and third parts. A triangle has weight zero when the sum of
its three edge weights is zero. A reduction can supply these matrices directly to a solver.
Main definitions #
ExactTriangle.HasZeroTriangle: existence of a zero-weight triangle for arbitrary matrices.
Main results #
Algorithmic correctness theorems are stated in consumer modules.
References #
A complete tripartite graph with t vertices per part has a zero-weight triangle.
The entries wAB a b, wBC b c and wAC a c weight the edges between parts A–B, B–C and A–C,
respectively. Some vertices a, b, c must satisfy wAB a b + wBC b c + wAC a c = 0.