NP, and NP-Complete Problems…
Dr. Ajay Pratap
Asst. Professor, Dept. of CSE, IIT (BHU), Varanasi, India
[email protected]
3SAT Problem
3SAT Problem…
3SAT Problem…
Problems according to computational requirements
Packing and covering problems
Independent set
Vertex cover
Question
Vertex cover and independent set reduce to one another
Vertex cover and independent set reduce to one another
Vertex cover and independent set reduce to one another
Set Cover
Set Cover
Question
Vertex cover reduces to set cover
Vertex cover reduces to set cover
Vertex cover reduces to set cover
Recap on SAT Problem
Satisfiability
Satisfiability is hard
3-satisfiability reduces to independent set
3-satisfiability reduces to independent set
3-satisfiability reduces to independent set
Recap…..
Review
Decision, search, and optimization problems
Decision problem. Does there exist a vertex cover of size ≤k ?
Search problem. Find a vertex cover of size ≤k.
Optimization problem. Find a vertex cover of minimum size.
All three problems poly-time reduce to one another.
Acknowledgment
Thank you!
Acknowledgment
• Some of the contents are taken from Dr.Animesh Chaturvedi’s PPT
• Some Contents are taken from Lecture slides by Kevin Wayne
Copyright © 2005 Pearson-Addison Wesley
http://www.cs.princeton.edu/~wayne/kleinberg-tardos
• Some contents are taken from MIT Lecture notes.