Questions: Approximation Algorithms

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

An approximation algorithm for minimum vertex cover returns a solution of size 24. Given a 2-approximation guarantee, what can you conclude about the size of the optimal solution?

AThe optimal solution has size at most 12
BThe optimal solution has size exactly 12
CThe optimal solution has size at least 12
DThe optimal solution has size at most 24
Question 2 Multiple Choice

What is the key difference between a PTAS and an FPTAS for an optimization problem?

AA PTAS gives a constant-factor approximation; an FPTAS gives a (1+ε)-approximation
BIn a PTAS, running time is polynomial in n for each fixed ε but may grow exponentially as ε→0; in an FPTAS, running time is also polynomial in 1/ε
CA PTAS requires the problem to be in APX; an FPTAS works on any NP-hard problem
DA PTAS approximates within 1% of optimal; an FPTAS approximates within 0.1% of optimal
Question 3 True / False

An approximation ratio of 2 is a worst-case guarantee, so the algorithm's actual output may be much closer to optimal on typical inputs.

TTrue
FFalse
Question 4 True / False

Since most NP-hard problems are computationally equivalent under polynomial reductions, they are most equally difficult to approximate.

TTrue
FFalse
Question 5 Short Answer

Explain why the greedy maximal-matching algorithm for vertex cover achieves a 2-approximation. What property of the optimal solution provides the key lower bound?

Think about your answer, then reveal below.