202402021402
Tags : Combinatorial Optimisation
LP algorithm for general Perfect Matching
. (even), . set of edges incident on , set of edges with exactly one endpoint in .
LP:
The second constraint here says that for every odd subset, not everything is matched within itself, like in the triangle case. We require at least one edge in the boundary of each odd set to be in the matching (and relax integrality).
Let be the polytope of graph given by the above LP.
Obs.:
- Any point in is a perfect matching of .
- All perfect matchings of are in .
Theorem: Vertices of are perfect matchings of , i.e. convex hull of the perfect matchings.
Proof: Suppose not. There is a graph , and an extreme point of the polytope which is not a perfect matching of . Among all such counterexamples, let be one with minimum .
Claim 1: .
- If , then is a smaller counterexample.
- If , then is a smaller counterexample.
(Check that the new is still an extreme point of the new polytope, in 2. as well.)
Obs.:
- has no degree vertex.
- can’t have all vertices of degree , because then would just be a bunch of vertex disjoint cycles. If all the cycles are even, we get a perfect bipartite matching, and if any of them are odd, then there does not exist a perfect matching at all and the polytope itself is empty!
So has a vertex of degree . Which means , or .
is a vertex (extreme point) of , so constraints must be tight at . There must be at least one of the second type constraints which is tight at . Say it is due to the set .
Goal: To show s.t. .
We know that , where are the edges that go from to . Shrink to a new vertex to get a smaller graph , and similarly to to get .
Obs.:
- A perfect matching of is a valid perfect matching of , and of iff .
- If and are perfect matchings of , respectively, using the same edge among , then is a perfect matching for .
Since and are smaller than , they obey the theorem, i.e. their polytopes are integral. . . , , .
For each edge , take , scale it by the right thing to write as the convex combination of these “union matchings”.