TOPICS
Search

Vertex Coloring Problem


The vertex coloring problem is the optimization problem of finding a vertex coloring of a graph that uses as few colors as possible (Malaguti and Toth 2010). An optimal solution is a minimum vertex coloring, and the optimum value is the chromatic number chi(G).

The associated decision version takes a graph G and a positive integer k and asks whether G has a vertex coloring using at most k colors, equivalently whether chi(G)<=k. This decision problem is an NP-complete problem even when k=3 (Garey et al. 1976). Consequently, the optimization problem is an NP-hard problem.

In the words of Harary (1994, p. 127), "no convenient method is known for determining the chromatic number of an arbitrary graph." Exact solutions can be obtained by exhaustive search (Christofides 1971; Wilf 1984; Skiena 1990, p. 214), while Brelaz's heuristic algorithm can find a good, but not necessarily minimum, vertex coloring. Mehrotra and Trick (1996) devised a column generation algorithm for computing chromatic numbers and vertex colorings which solves most small to moderate-sized graphs quickly. Other algorithms for graph coloring are described by Matula et al. (1972) and Manvel (1985).


See also

Brelaz's Heuristic Algorithm, Chromatic Number, Edge Coloring Problem, Graph Coloring, k-Colorable Graph, k-Coloring, Minimum Vertex Coloring, NP-Complete Problem, NP-Hard Problem, Vertex Coloring

Explore with Wolfram|Alpha

References

Christofides, N. "An Algorithm for the Chromatic Number of a Graph." Computer J. 14, 38-39, 1971. https://doi.org/10.1093/comjnl/14.1.38.Garey, M. R.; Johnson, D. S.; and Stockmeyer, L. "Some Simplified NP-Complete Graph Problems." Theor. Comput. Sci. 1, 237-267, 1976. https://doi.org/10.1016/0304-3975(76)90059-1.Harary, F. Graph Theory. Reading, MA: Addison-Wesley, 1994.Malaguti, E. and Toth, P. "A Survey on Vertex Coloring Problems." Int. Trans. Oper. Res. 17, 1-34, 2010. https://doi.org/10.1111/j.1475-3995.2009.00696.x.Manvel, B. "Extremely Greedy Coloring Algorithms." In Graphs and Applications (Ed. F. Harary and J. Maybee). New York: Wiley, pp. 257-270, 1985.Matula, D. W.; Marble, G.; and Isaacson, J. D. "Graph Coloring Algorithms." In Graph Theory and Computing (Ed. R. Read). New York: Academic Press, pp. 109-122, 1972.Mehrotra, A. and Trick, M. A. "A Column Generation Approach for Graph Coloring." INFORMS J. on Computing 8, 344-354, 1996. https://doi.org/10.1287/ijoc.8.4.344.Skiena, S. "Finding a Vertex Coloring." §5.5.3 in Implementing Discrete Mathematics: Combinatorics and Graph Theory with Mathematica. Reading, MA: Addison-Wesley, pp. 214-215, 1990.Wilf, H. "Backtrack: An O(1) Expected Time Algorithm for the Graph Coloring Problem." Info. Proc. Let. 18, 119-121, 1984. https://doi.org/10.1016/0020-0190(84)90013-9.

Cite this as:

Weisstein, Eric W. "Vertex Coloring Problem." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/VertexColoringProblem.html

Subject classifications