Skip to main content Accessibility help
×
Hostname: page-component-84b7d79bbc-2l2gl Total loading time: 0 Render date: 2024-07-26T12:13:13.237Z Has data issue: false hasContentIssue false

4 - NP-Completeness

Published online by Cambridge University Press:  05 June 2012

Oded Goldreich
Affiliation:
Weizmann Institute of Science, Israel
Get access

Summary

Overview: In light of the difficulty of settling the P-vs-NP Question, when faced with a hard problem H in NP, we cannot expect to prove that H is not in P (unconditionally), because this would imply PNP. The best we can expect is a conditional proof that H is not in P, based on the assumption that NP is different from P. The contrapositive is proving that if H is in P, then so is any problem in NP (i.e., NP equals P). One possible way of proving such an assertion is showing that any problem in NP is polynomial-time reducible to H. This is the essence of the theory of NP-completeness.

In this chapter we prove the existence of NP-complete problems, that is, the existence of individual problems that “effectively encode” a wide class of seemingly unrelated problems (i.e., all problems in NP). We also prove that deciding the satisfiability of a given Boolean formula is NP-complete. Other NP-complete problems include deciding whether a given graph is 3-colorable and deciding whether a given graph contains a clique of a given size. The core of establishing the NP-completeness of these problems is showing that each of them can encode any other problem in NP. Thus, these demonstrations provide a method of encoding instances of any NP problem as instances of the target NP-complete problem.

Organization. We start by defining NP-complete problems (see Section 4.1) and demonstrating their existence (see Section 4.2). […]

Type
Chapter
Information
P, NP, and NP-Completeness
The Basics of Computational Complexity
, pp. 96 - 141
Publisher: Cambridge University Press
Print publication year: 2010

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • NP-Completeness
  • Oded Goldreich, Weizmann Institute of Science, Israel
  • Book: P, NP, and NP-Completeness
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511761355.009
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • NP-Completeness
  • Oded Goldreich, Weizmann Institute of Science, Israel
  • Book: P, NP, and NP-Completeness
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511761355.009
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • NP-Completeness
  • Oded Goldreich, Weizmann Institute of Science, Israel
  • Book: P, NP, and NP-Completeness
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511761355.009
Available formats
×