Why it matters
Recognizing NP-completeness saves effort. Understanding shapes approach to hard problems.
Advertisement
The architecture
NP: verifiable in poly time.
NP-complete: NP + all NP problems reduce to it.
Advertisement
How it works end to end
Reduction: transform problem A to B in poly time. If B solvable poly, so is A.
Approaches for NP-hard: approximation algorithms, heuristics, SAT/ILP solvers, special-case algorithms.
Classic NP-C: SAT, TSP, knapsack, graph coloring.