Parameterized Algorithms and Kernels for Rainbow Matching

Sushmita Gupta, Sanjukta Roy, Saket Saurabh, Meirav Zehavi

Abstract

The Rainbow Matching problem extends the classic graph matching problem by requiring each edge in the matching to have a unique color. While finding a maximum matching is solvable in polynomial time, the addition of color constraints renders the problem NP-complete even on simple graph structures. This paper, presented at MFCS 2017, investigates Rainbow Matching through the lens of parameterized complexity. The authors contribute a deterministic $O^*(1.618^k)$ algorithm for paths, a randomized $O^*(2^k)$ algorithm for general graphs, and the first dedicated kernelization results, including a cubic kernel of size $O(k^3)$ for general graphs.

Introduction

In the study of combinatorial optimization, matching problems are fundamental. However, real-world constraints often introduce additional complexity. The Rainbow Matching problem is one such variant, where an edge-colored graph is given, and the objective is to find a matching of size $k$ such that all edges possess distinct colors.

Formal definition of the Rainbow Matching problem

Despite the efficiency of standard matching algorithms, Rainbow Matching is NP-complete on paths and complete graphs. To address this, the authors employ parameterized complexity, focusing on the solution size $k$ as the parameter. This approach seeks Fixed-Parameter Tractable (FPT) algorithms that remain efficient when $k$ is small, regardless of the total number of vertices $n$.

Methods and Algorithmic Strategies

The research utilizes three primary strategies to tackle the problem:

  1. Bounded Search Trees for Paths: For path graphs, the authors introduce "Disjoint Set Rainbow Matching." By employing a branching algorithm guided by an auxiliary bipartite graph that tracks color assignments across path segments, they achieve a deterministic runtime of $O^*(1.618^k)$.
  2. Randomized Algebraic Techniques: For general graphs, the problem is reduced to 3-Set Prepacking. By applying randomized algorithms based on narrow sieves and parity analysis, the authors achieve a runtime of $O^*(2^k)$.
  3. Kernelization: To reduce the instance size, the Sunflower Lemma is used to identify redundant edges. This preprocessing step allows for the compression of general instances into a kernel of size $O(k^3)$.

Key Results

The paper establishes several significant bounds for the Rainbow Matching problem:

  • Paths (Deterministic): An algorithm running in $O^*(\phi^k)$ time, where $\phi \approx 1.618$ (the golden ratio).
  • General Graphs (Randomized): A randomized algorithm running in $O^*(2^k)$ time with polynomial space.
  • General Kernel: A kernel of size $O(k^3)$. Specifically, if an instance has more than $6(3k-2)^3$ edges, it can be simplified.
  • Bounded-Degree Kernel: For graphs with maximum degree $d$, they achieve a smaller kernel of size $O(dk^2)$.

Conclusion and Future Work

This work bridges the gap between 3-Dimensional Matching and 3-Set Packing by positioning Rainbow Matching as an intermediate problem with specific structural advantages. While the $O^*(2^k)$ result for general graphs is randomized, finding a deterministic algorithm with the same complexity remains an open challenge. Additionally, future work could investigate if a linear or quadratic kernel exists for general graphs, or explore improved kernels for specific graph families like trees or graphs with constant treewidth.

Summary updated

BibTeX
@inproceedings{gupta2017parameterized,
  author = {Sushmita Gupta and Sanjukta Roy and Saket Saurabh and Meirav Zehavi},
  title = {{Parameterized Algorithms and Kernels for Rainbow Matching}},
  booktitle = {MFCS},
  year = {2017},
  doi = {10.4230/lipics.mfcs.2017.71},
}
Figure