-- May 14 Final Review
Siddharth, Shantanu, Shashank
Ans.5) Define NP, NP-complete, and NP-hard. Argue the problem of determining where every assignment to a 3-SAT instance is satisfying is NP-hard.
NP: A Language L belongs to NP if there exists a two input polynomial-time algorithm A and a constant c such that
L = { x ∈ {0,1}* : ∃y, |y| = O(|x|^{c}) and A(x,y)=1 }
NP-Complete: A Language L is NP-Complete if
1) L ∈ NP, and
2) L' ≤ L in polynomial time, for every L' ∈ NP
NP-Hard : A language which satisfies (2) but not necessarily (1) is called NP-Hard. We can say that NP-Complete is a subset of NP-Hard.
We are trying to solve the second part of this question, if anyone feels they have a solution, do upload.
(
Edited: 2018-05-15)
Siddharth, Shantanu, Shashank
Ans.5) Define NP, NP-complete, and NP-hard. Argue the problem of determining where every assignment to a 3-SAT instance is satisfying is NP-hard.
----
NP: A Language L belongs to NP if there exists a two input polynomial-time algorithm A and a constant c such that
L = { x ∈ {0,1}* : ∃y, |y| = O(|x|^{c}) and A(x,y)=1 }
NP-Complete: A Language L is NP-Complete if
1) L ∈ NP, and
2) L' ≤ L in polynomial time, for every L' ∈ NP
NP-Hard : A language which satisfies (2) but not necessarily (1) is called NP-Hard. We can say that NP-Complete is a subset of NP-Hard.
----
We are trying to solve the second part of this question, if anyone feels they have a solution, do upload.