2 ms·
> Even verifying a solution to the problem (Is this sequence of cities the shortest path?) cannot be done in polynomial time. This is a pretty funny claim to
by thaumasiotes 11y ago
> Even verifying a solution to the problem (Is this sequence of cities the shortest path?) cannot be done in polynomial time.
This is a pretty funny claim to see made about one of the most famous NP-complete problems there is. As thelema314 points out, the usual certificate verifies "is this path shorter than a threshold?".
- zardo 11y agoThere are variations of the problem. The optimization version is NP-Hard, the decision version is NP-Complete.