|
|
|
|
|
by PeterisP
3861 days ago
|
|
That works for one way (where the tour exists), however, if the true answer to the particular decision problem is "no! it can't be done in L steps!" - then the only way to verify is to repeat the whole process, no? Having an easily verifiable tour that does it in L+1 doesn't really help in verification that some other combination could or could not do it in L steps. |
|
Besides that, if you can solve the decision problem and the distances are well-behaved, for example integers, you can solve the other variants, you can perform a binary search for the minimal tour length and you can find the actual tour by probing all edges, i.e. removing one by one and checking whether that increases the minimal tour length.