Why NP is nice
[cpsc/why-NP]
Why NP is nice [cpsc/why-NP]
We’ll spend the next couple of lectures talking about NP. Why?
Because nondeterministic Turing machines are ridiculously impractical!
Many problems that we’re interested in have the form (where is the problem input and is the object we are seeking).
Efficient test: is a valid solution?
- Claim: Clique Np (complexity class) ()
- Claim: Hampath Np (complexity class) (Hamiltonian path problem)
Np (complexity class) has lots of problems that are interesting and nice to solve, but that we don’t know of any polynomial time solution. But: if any of these problems are in P, then all of them are in P. NP-completeness!