Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are all problems in NP which are not P NP-complete?

  1. Are all problems in NP which are not P NP-complete? To make myself more clear, is NP-P=NPC? If not, can you give an example of an NP problem that is neither P nor NP-complete?

  2. Are all NP-complete problems NP-hard?

Thank you very much in advance.

like image 505
user3740951 Avatar asked Sep 03 '25 05:09

user3740951


1 Answers

First, a picture

enter image description here

  1. Problems in NP not known to be in P or NP-complete

It was shown by Ladner that if P ≠ NP then there exist problems in NP that are neither in P nor NP-complete. Such problems are called NP-intermediate problems. The graph isomorphism problem, the discrete logarithm problem and the integer factorization problem are examples of problems believed to be NP-intermediate. They are some of the very few NP problems not known to be in P or to be NP-complete.

  1. NP-hard is a class of problems which are at least as hard as the hardest problems in NP. Thus, yes, every NP-complete problem is NP-hard.
like image 188
DAle Avatar answered Sep 04 '25 23:09

DAle



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!