Proving NP-Hardness Flashcards

1
Q

Why is proving that problems are NP-Hard challenging?

A

Because 3-SAT or SAT is structurally very different to many problems that we believe to be in this class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the Hamiltonian Cycle Problem?

A

The decision problem that takes a directed graph and outputs yes if there is a directed path that starts at one node, visits each other node in the graph then returns to the start node.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does P != NP imply?

A
  • NP - Hard problems are not in P
  • There are no polynomial time algorithms for the most difficult problems in NP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does P = NP imply?

A
  • Even the most difficult problems in NP (the ones that are NP-Hard) are also in P
  • There is a polynomial time algorithm for every problem in NP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What makes many people believe that P != NP?

A

We have not yet been able to find a polynomial time solution for any of the many NP-Hard problems

We are good at finding algorithms and bad at proving they do not exist

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How can we prove that a problem is NP-Hard?

A

With our problem ‘x’ we can take a known NP-Hard problem ‘a’ and:

  • Take an instance of ‘a’ and convert it to problem ‘x’ in polynomial time of ‘a’
  • Solving problem ‘x’ would then yield a solution to problem ‘a’

This proves that ‘x’ is np hard because if you know how to solve ‘x’, then you know how to solve ‘a’, and since ‘a’ is np hard ‘x’ must also be np hard

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly