cos423: Theory of Algorithms | handout #21 |
Michael Goldwasser | |
Princeton University | Tuesday, April 14, 1998 |
Homework #8: | Classes P vs. NP, Reductions |
Due Date: | Tuesday, April 21, 1998 (5:00pm) |
To prove that 3-COLOR is NP-Hard (and thus NP-Complete by part 3b), we use a reduction from 3- CNF-SAT. Given a formula of m clauses on n variables , we construct a graph G = (V,E) as follows. To start with, we create a vertex for each variable, a vertex for the negation of each variable, and three special vertices: true, false, red. We add edges to form a triangle on the three special vertices, and we also add a triangle on , and red for each . Now, for each clause , we create a widget, as shown in the figure below, where the five black vertices are newly created for each separate clause, but the other four vertices are among those we have already introduced.
Show that Set-Splitting is NP-Complete. (sorry, no hints on the extra credit problem)
Copyright © 1993, 1994, 1995, 1996, 1997, Nikos Drakos, Computer Based Learning Unit, University of Leeds.