Dragonfall
- 1,023
- 5
I don't understand how travenlling salesman is NP-complete. In particular, how can you possibly verify that a given route is the shortest one in polynomial time?
The discussion revolves around the classification of the Travelling Salesman Problem (TSP) in terms of computational complexity, specifically addressing whether it is NP-complete or NP-hard. Participants explore the implications of different formulations of the problem, including the decision version and the verification of routes.
Participants exhibit disagreement regarding the classification of TSP, with some asserting it is NP-hard while others maintain it is NP-complete in the context of the decision version. The discussion remains unresolved as differing views are presented.
The discussion highlights the distinction between NP-completeness and NP-hardness, but does not resolve the implications of these classifications or the specifics of polynomial-time verification.