English

On the Complexity of Rainbow Coloring Problems

Discrete Mathematics 2015-10-14 v1 Combinatorics

Abstract

An edge-colored graph GG is said to be rainbow connected if between each pair of vertices there exists a path which uses each color at most once. The rainbow connection number, denoted by rc(G)rc(G), is the minimum number of colors needed to make GG rainbow connected. Along with its variants, which consider vertex colorings and/or so-called strong colorings, the rainbow connection number has been studied from both the algorithmic and graph-theoretic points of view. In this paper we present a range of new results on the computational complexity of computing the four major variants of the rainbow connection number. In particular, we prove that the \textsc{Strong Rainbow Vertex Coloring} problem is NPNP-complete even on graphs of diameter 33. We show that when the number of colors is fixed, then all of the considered problems can be solved in linear time on graphs of bounded treewidth. Moreover, we provide a linear-time algorithm which decides whether it is possible to obtain a rainbow coloring by saving a fixed number of colors from a trivial upper bound. Finally, we give a linear-time algorithm for computing the exact rainbow connection numbers for three variants of the problem on graphs of bounded vertex cover number.

Keywords

Cite

@article{arxiv.1510.03614,
  title  = {On the Complexity of Rainbow Coloring Problems},
  author = {Eduard Eiben and Robert Ganian and Juho Lauri},
  journal= {arXiv preprint arXiv:1510.03614},
  year   = {2015}
}
R2 v1 2026-06-22T11:18:56.507Z