9.4 Dealing with NP-hard problems Flashcards

1
Q

Will Quantum Computers, P=NP, externalities etc. reasonably help you solve your NP hard problem by next week?

A

Nope.

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

What options do you have to solve NP-hard problems?

A
  1. Approximate solution
  2. Exploit properties to give a polynomial solution
  3. Try a slower than polynomial algorithm (sub exponential)
  4. Otherwise use a SAT solver
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the benifits / challenges of solving an NP-hard problem using an approximate solution?

A

+ Some problems like minimum vertex cover can be found within a factor of 2 (poly time)
- Others are NP hard within factor of n^0.9999 (independent set)

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

What are some exploitable parameters in graph problems?

A
  • Few edges
  • Constant max degree
  • Look like tree
  • Randomness
  • Low tree-width
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are parameterised problems (and what are fixed-parameter tractable problems), and how is efficiency defined for them

A
  • Parameterised problem is a special case where a certain parameter is fixed: eg: low max degree
  • Use Δ to represent parameter
  • Ideally g(Δ) * n^c
  • FPT are parameterised problems solvable in poly time. And W[1] hardness is the version of NP-hardness (ie intractable)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a planar graph?

A
  • Can be drawn without 2 edges overlapping (ex drawing on a map)
  • Any non-planar graph has a subform of the below 2
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can planar graphs help us (by finding a worse than polynomial time algorithm). And what is the Exponential Time Hypothesis?

A
  • Instead of a^n it is often 2^sqrt(n), which in practice can be much better than exponential
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Why is using a SAT solver not always a bad idea?

A
  • In the real world can often solve 10s of thousands of variables (exploiting some magical property)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly