Traveling Salesman Problem
Find the shortest closed route visiting every given city exactly once.
The traveling salesman problem is a benchmark for optimization and computational complexity. Exact solutions are possible for many large instances, but the general problem is NP-hard and no polynomial-time exact algorithm is known.
Formula
Find the shortest Hamiltonian cycle visiting all n cities — the canonical NP-hard combinatorial optimization problem.
Deciding whether a tour of cost ≤ k exists is NP-complete; no polynomial-time exact algorithm is known.
The 1976 algorithm guarantees a tour within 3/2 of optimal for metric instances — unbeaten for nearly 50 years until Karlin et al. (2021).
Summary
The traveling salesman problem is a benchmark for optimization and computational complexity. Exact solutions are possible for many large instances, but the general problem is NP-hard and no polynomial-time exact algorithm is known.

