A Some NP-Complete Problems
To ask the hard question is simple. But what does it mean? What are we going to do? W. H. Auden
In this appendix we present a brief list of NP-complete problems; we restrict ourselves to problems which either were mentioned before or are closely related to subjects treated in the book. A much more extensive list can be found in Garey and Johnson [GaJo79].
Chinese postman (cf. Section 14.5)
Let G =(V,A,E) be a mixed graph, where A is the set of directed edges and E the set of undirected edges of G. Moreover, let w be a nonnegative length function on A ∪ E,andc be a positive number. Does there exist a cycle of length at most c in G which contains each edge at least once and which uses the edges in A according to their given orientation? This problem was shown to be NP-complete by Papadimitriou [Pap76], even when G is a planar graph with maximal degree 3 and w(e) = 1 for all edges e. However, it is polynomial for graphs and digraphs; that is, if either A = ∅ or E = ∅. See Theorem 14.5.4 and Exercise 14.5.6.
Chromatic index (cf. Section 9.3)
Let G be a graph. Is it possible to color the edges of G with k colors, that is, does χ (G) ≤ k hold? Holyer [Hol81] proved that this problem is NP-complete for each k ≥ 3; this holds even for the special case where k =3andG is 3-regular.
Chromatic number (cf. Section 9.1)
Let G be a graph. Is it possible to color the vertices of G with k colors, that is, does χ(G) ≤ k hold? Karp [Kar72] proved that this problem is NP-complete for each k ≥ 3. Even the special case where k =3andG is a planar graph with maximal 502 A Some NP-Complete Problems degree 4 remains NP-complete; see [GaJS76]. Assuming P =NP,thereisnot even a polynomial approximative algorithm which always needs fewer than 2χ(G) colors; see [GaJo76]. For perfect graphs, the chromatic number can be computed in polynomial time; see [GrLS93].
Clique (cf. Exercise 2.8.3)
Let G =(V,E) be a graph and c ≤|V | a positive integer. Does G contain a clique consisting of c vertices? This problem is NP-complete by a result of Karp [Kar72]; thus determin- ing the clique number ω(G) is an NP-hard problem. Also, the related question of whether G contains a clique with at least r|V | vertices, where 0