Parameterized Algorithms and Kernels for Rainbow Matching Sushmita Gupta1, Sanjukta Roy2, Saket Saurabh3, and Meirav Zehavi4 1 University of Bergen, Norway
[email protected] 2 The Institute of Mathematical Sciences, HBNI, Chennai, India
[email protected] 3 University of Bergen, Norway, and The Institute of Mathematical Sciences, HBNI, Chennai, India
[email protected] 4 University of Bergen, Norway
[email protected] Abstract In this paper, we study the NP-complete colorful variant of the classical Matching problem, namely, the Rainbow Matching problem. Given an edge-colored graph G and a positive integer k, this problem asks whether there exists a matching of size at least k such that all the edges in the matching have distinct colors. We first develop a deterministic algorithm that solves Rainbow √ k ? 1+ 5 Matching on paths in time O ( 2 ) and polynomial space. This algorithm is based on a curious combination of the method of bounded search trees and a “divide-and-conquer-like” approach, where the branching process is guided by the maintenance of an auxiliary bipartite graph where one side captures “divided-and-conquered” pieces of the path. Our second result is a randomized algorithm that solves Rainbow Matching on general graphs in time O?(2k) and polynomial-space. Here, we show how a result by Björklund et al. [JCSS, 2017] can be invoked as a black box, wrapped by a probability-based analysis tailored to our problem. We also complement our two main results by designing kernels for Rainbow Matching on general and bounded-degree graphs. Keywords and phrases Rainbow Matching, Parameterized Algorithm, Bounded Search Trees, Divide-and-Conquer, 3-Set Packing, 3-Dimensional Matching Digital Object Identifier 10.4230/LIPIcs.MFCS.2017.71 1 Introduction The classical notion of matching has been extensively studied for several decades in the area of Combinatorial Optimization [6, 14].