In graph theory, a sum coloring of a graph is a labeling of its vertices by positive integers, with no two adjacent vertices having equal labels, that minimizes the sum of the labels. The minimum sum that can be achieved is called the chromatic sum of the graph. Chromatic sums and sum coloring were introduced by Supowit in 1987 using non-graph-theoretic terminology, and first studied in graph theoretic terms by Ewa Kubicka (independently of Supowit) in her 1989 doctoral thesis.
Obtaining the chromatic sum may require using more distinct labels than the chromatic number of the graph, andeven when the chromatic number of a graph is bounded, the number of distinct labels needed to obtain the optimal chromatic sum may be arbitrarily large.
Computing the chromatic sum is NP-hard. However it may be computed in linear time for trees and pseudotrees, and in polynomial time for outerplanar graphs. There is a constant-factor approximation algorithm for interval graphs and for bipartite graphs. The interval graph case remains NP-hard. It is the case arising in Supowit's original application in VLSI design, and also has applications in scheduling.