Relationship between NP-hard and undecidable problems

后端 未结 3 1971
深忆病人
深忆病人 2021-02-13 09:24

Am a bit confused about the relationship between undecidable problems and NP hard problems. Whether NP hard problems are a subset of undecidable problems, or are they just the s

3条回答
  •  不思量自难忘°
    2021-02-13 09:35

    An NP-hard is a problem that is at least as hard as any NP-complete problem.

    Therefore an undecidable problem can be NP-hard. A problem is NP-hard if an oracle for it would make solving NP-complete problems easy (i.e. solvable in polynomial time). We can imagine an undecidable problem such that, given an oracle for it, NP-complete problems would be easy to solve. For example, obviously every oracle that solves the halting problem can also solve an NP-complete problem, so every Turing-complete problem is also NP-hard in the sense that a (fast) oracle for it would make solving NP-complete problems a breeze.

    Therefore Turing-complete undecidable problems are a subset of NP-hard problems.

提交回复
热议问题