arXiv:2609.07193cs.DSSep 2026

Manuscript Offprint

arXiv:2609.07193

Maximum Matching-Match: Hardness and Approximation

Ilie Dumitru, Adrian Miclăuş, Alexandru Popa

Ilie Dumitru¹, Adrian Miclăus¹, and Alexandru Popa¹,²

¹ Department of Computer Science, University of Bucharest, Str. Academiei 14, Bucharest, 010014, Romania

² National Institute for Research and Development in Informatics, Bulevardul Mareșal Alexandru Averescu 8-10, Bucharest, 011555, Romania

Abstract. In this paper, we study MAXMMP, an optimization variant of the Matching-Match Puzzle introduced by Iburi and Uehara (FUN 2024). Given a graph, a partial vertex coloring, and a multiset of colored sticks, the goal is to complete the coloring and assign the sticks to graph edges so as to maximize the number of satisfied edges.

We first prove that MAXMMP is APX-hard by an reduction from MAX-Cut. The hardness already holds with two colors, no precolored vertices, and only bichromatic sticks. We then give a simple deterministic 2c(c+1)\frac{2}{c(c+1)}-approximation for completely uncolored instances, improving to 2c(c−1)\frac{2}{c(c-1)} when all sticks are bichromatic.

Next, we obtain a randomized 1−1c2c\frac{1-\frac{1}{c}}{2c}-approximation for arbitrary instances with cc colors by reducing the remaining coloring choices to monotone submodular maximization under a partition matroid. On bipartite graphs, the approximation ratio improves to 1−1cc\frac{1-\frac{1}{c}}{c}. For every fixed cc, we further obtain deterministic 12c\frac{1}{2c} and 1c\frac{1}{c}-approximations on general and bipartite graphs, respectively, in time nO(c2)n^{O(c^2)}. Finally, for every fixed number of colors, we show that MAXMMP can be solved exactly in time nO(c2)n^{O(c^2)} on trees and on cographs.

Keywords: APX-hardness · Approximation algorithms · Submodular maximization · Exact algorithms

1 Introduction