Classic NPC Problems
3-SAT
Given a CNF formula , is there a satisfying assignment?
instance :
certificate t:
Set Cover Problem
Given a set of elements, a collection of subsets of , , and an integer , does there exist a collection of size whose union is equal to ?
Example:
Let . Yes, we have and .
Vertex Cover Problem
A vertex cover of a graph is a set of vertices such that each edge of the graph is incident to at least one vertex of the set. Finding a minimum vertex cover is NP-hard. The decision version is NP-complete. To formally state this,
given an undirected graph , a vertex cover of is a subset such that, for every edge , we have either or . Is there a vertex cover such that ?
VC is a special case of set cover. Here is the reduction from vertex cover. So set cover is at least as hard as VC.
Let , then set cover of size iff vertex cover of size .
Clique Cover Problem
Independent Set Problem
In a graph, an independent set is a set of vertices such that no two of which are adjacent. A maximum independent set is an independent set of largest possible size for a given graph G. Again, max independent set is NP-hard. The decision version of independent set is NPC.
Reference
Last updated