Shortest Reconfiguration of Perfect Matchings via Alternating Cycles

Takehiro Ito, Naonori Kakimura, Naoyuki Kamiyama, Yusuke Kobayashi, Yoshio Okamoto

Introduction

In the field of combinatorial reconfiguration, researchers aim to understand the "solution space" of a problem by determining how one feasible solution can be transformed into another through a sequence of elementary moves. This paper investigates the Shortest Reconfiguration Problem for perfect matchings: finding the minimum number of steps to transform one perfect matching into another, where each step involves swapping edges along a single alternating cycle.

The Alternating Cycle Model

The authors focus on the alternating cycle model, where two perfect matchings are considered adjacent if their symmetric difference is exactly one cycle. This model is physically and mathematically significant as these moves correspond exactly to the edges of the perfect matching polytope in polyhedral combinatorics.

Reconfiguration of perfect matchings $M$ and $N$ through a sequence of alternating cycles.

A major challenge in this model is the existence of "unhappy moves"—steps that temporarily remove an edge already present in the target matching. Characterizing when these moves are necessary is crucial for finding the shortest path, as it prevents a simple greedy approach from being optimal.

Complexity Results

The paper establishes that the shortest reconfiguration problem is generally difficult for complex graph topologies:

  • NP-Hardness: The problem is NP-hard for planar graphs and bipartite graphs, even when the maximum degree is restricted to 3. This is proven via reductions from the Hamiltonian Cycle Problem.
  • APX-Hardness: The proofs imply that the problem is hard to approximate within a factor of 1.5.

Interestingly, while finding the shortest path is hard, reachability is trivial in this model. Because the symmetric difference of any two perfect matchings is always a collection of disjoint cycles, one can always transform one into the other by processing these cycles sequentially.

Algorithmic Approach for Outerplanar Graphs

The primary contribution of the paper is a polynomial-time algorithm ($O(n^5)$) for the class of outerplanar graphs. These graphs can be drawn such that all vertices lie on the outer face, which allows their internal structure to be represented as a "dual-like" tree $G^*$.

An outerplanar graph $G$ with matchings $M$ and $N$, and its corresponding dual-like tree $G^*$.

The algorithm leverages this tree structure through several key techniques:

  1. Dual Tree Transformation: The problem is mapped onto the dual tree $G^*$, where internal faces become nodes.
  2. Gap Metric: A "length" is defined for edges in the dual tree based on the differences between the initial matching $M$ and target matching $N$.
  3. Dynamic Programming: The authors reduce the problem to finding an optimal partition of the dual tree to minimize the sum of component diameters. This "Min-Sum Diameter Decomposition" is solved using a dynamic programming approach that accounts for potential unhappy moves.

Conclusion and Future Work

This research clarifies the complexity landscape of perfect matching reconfiguration. While the problem is NP-hard for general planar graphs, the tree-like dual structure of outerplanar graphs enables an efficient solution. Future work may extend these results to $k$-outerplanar graphs or explore approximation algorithms for broader graph classes, as well as investigating reconfiguration for maximum-weight matchings.

Summary updated

BibTeX
@article{ito2019shortest,
  author = {Takehiro Ito and Naonori Kakimura and Naoyuki Kamiyama and Yusuke Kobayashi and Yoshio Okamoto},
  title = {{Shortest Reconfiguration of Perfect Matchings via Alternating Cycles}},
  journal = {SIAM J. Discret. Math.},
  year = {2019},
  doi = {10.1137/20m1364370},
}
Figure