Template:Strong and weak NP hardness

From Vigyanwiki
Revision as of 01:22, 26 July 2023 by alpha>Indicwiki (Created page with "== Strong and weak NP-hardness vs. strong and weak polynomial-time algorithms == Assuming P ≠ NP, the following are true for computational problems on integers:<ref>{{cite w...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Strong and weak NP-hardness vs. strong and weak polynomial-time algorithms

Assuming P ≠ NP, the following are true for computational problems on integers:[1]

  • If a problem is weakly NP-hard, then it does not have a weakly polynomial time algorithm (polynomial in the number of integers and the number of bits in the largest integer), but it may have a pseudopolynomial time algorithm (polynomial in the number of integers and the magnitude of the largest integer). An example is the partition problem. Both weak NP-hardness and weak polynomial-time correspond to encoding the input agents in binary coding.
Template documentation

[[Category:Template documentation pages{{#translation:}}]]

  1. Demaine, Erik. "Algorithmic Lower Bounds: Fun with Hardness Proofs, Lecture 2".