Questions: Traveling Salesman Problem (TSP)

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A logistics company needs an optimal delivery route for 50 cities. They say: 'TSP is NP-hard, so finding a good route is hopeless — we'll just use any path.' What is wrong with this reasoning?

ANothing — NP-hardness means no good solution can be found efficiently, so any route is as good as any other
BNP-hardness rules out exact optimal solutions in polynomial time, but does not rule out approximations — for metric TSP, the Christofides algorithm guarantees a tour within 1.5× optimal in polynomial time
CTSP is actually polynomial for 50 cities, so brute force would work fine
DTSP is NP-hard only for non-Euclidean distances; for real-world road networks it is polynomial
Question 2 Multiple Choice

The decision version of TSP (is there a tour of length ≤ k?) is NP-complete. The optimization version (find the shortest tour) is NP-hard. What is the key distinction between these two characterizations?

ANP-complete problems are strictly harder than NP-hard problems
BNP-completeness applies to decision problems that are both in NP (verifiable in poly-time) and NP-hard; the optimization version is NP-hard but is not itself a decision problem in NP, since 'optimal' cannot be verified without solving the problem
CThe optimization version is also in NP because you can verify a given tour's length in polynomial time
DNP-hard means the problem cannot be solved; NP-complete means it can be solved with exponential resources
Question 3 True / False

The Christofides algorithm solves TSP optimally in polynomial time for metric instances.

TTrue
FFalse
Question 4 True / False

For general TSP without the triangle inequality, no polynomial-time algorithm can achieve any constant-factor approximation guarantee unless P = NP.

TTrue
FFalse
Question 5 Short Answer

Explain why TSP is NP-hard to solve exactly, yet a polynomial-time 3/2-approximation exists for metric TSP. What property of metric TSP enables the approximation?

Think about your answer, then reveal below.