Professional Documents
Culture Documents
NP Hard and NP Complete
NP Hard and NP Complete
NP Hard and NP Complete
Veningston. K
Computer Science and Engineering
Unit V - Outline
• NP
– Set of all problems which could be verified in polynomial
time.
– This set even contains P algorithms
• We will try to find out one problem to which every
problem in NP could be reduced to that problem in
polynomial time.
Reducibility
A
Why do we find such a problem?
• Arm Wrestling
What are the implications?
NOTE: Till now, no one is ever able to find out a polynomial time
solution to any NP-Hard problems
NP-Complete
• Arm Wrestling
Same class?
NP-Complete
– As well as, it is NP
– Therefore, it is NP-Complete
NP-Complete - Formal definition
• Summary:
– NP-Hard or NP-Complete is solved in polynomial
time, then P == NP