English

Hardness and Algorithms for Rainbow Connection

Combinatorics 2008-09-16 v1

Abstract

An edge-colored graph GG is {\em rainbow connected} if any two vertices are connected by a path whose edges have distinct colors. The {\em rainbow connection} of a connected graph GG, denoted rc(G)rc(G), is the smallest number of colors that are needed in order to make GG rainbow connected. In the first result of this paper we prove that computing rc(G)rc(G) is NP-Hard solving an open problem from \cite{Ca-Yu}. In fact, we prove that it is already NP-Complete to decide if rc(G)=2rc(G)=2, and also that it is NP-Complete to decide whether a given edge-colored (with an unbounded number of colors) graph is rainbow connected. On the positive side, we prove that for every ϵ>0\epsilon >0, a connected graph with minimum degree at least ϵn\epsilon n has {\em bounded} rainbow connection, where the bound depends only on ϵ\epsilon, and a corresponding coloring can be constructed in polynomial time. Additional non-trivial upper bounds, as well as open problems and conjectures are also presented.

Keywords

Cite

@article{arxiv.0809.2493,
  title  = {Hardness and Algorithms for Rainbow Connection},
  author = {Sourav Chakraborty and Eldar Fischer and Arie Matsliah and Raphael Yuster},
  journal= {arXiv preprint arXiv:0809.2493},
  year   = {2008}
}
R2 v1 2026-06-21T11:20:16.067Z