CS 332: Algorithms: NP Completeness Continued
CS 332: Algorithms: NP Completeness Continued
NP Completeness Continued
Homework 5
Extension: due midnight Monday 22 April
Review: Tractibility
Some problems are undecidable: no computer can
solve them
E.g., Turings Halting Problem
We dont care about such problems here; take a theory
class
Other problems are decidable, but intractable:
Review: P
Some problems are provably decidable in
Review: NP
Some problems are provably decidable in
polynomial time
NP = set of problems for which a solution can
be verified in polynomial time
P NP
The big question: Does P = NP?
Review: Reduction
A problem P can be reduced to another problem
An Aside: Terminology
What is the difference between a problem and an
problem as a string?
To simplify things, we will worry only about decision
p Q
and P NP
Note: I got this slightly wrong Friday
NP- Complete
Proving NP-Completeness
What steps do we have to take to prove a
problem P is NP-Complete?
Pick a known NP-Complete problem Q
Reduce Q to P
Describe a transformation that maps instances of Q to