by ctrl_freak · 11y ago · 0 comments
> The problem has been shown to be NP-hard (more precisely, it is complete for the complexity class FPNP; see function problem), and the decision problem version ("given the costs and a number x, decide whether there is a round-trip route cheaper than x") is NP-complete. ( https://en.wikipedia.org/wiki/Travelling_salesman_problem#Co... )
The author got this wrong in the article -- just because you can check that each house has been visited in polynomial time proves nothing.
No comments yet.