I have a solver that solves normal symmetric TSP problems. The solution means the shortest path via all the nodes with no restriction on which nodes are the first and the last ones in the path.
Is there a way to transform the problem so that a specific node can be ensured as the start node, and another node as the end node?
One way would be to add an I - a very large distance - to all distances between these start/end nodes and all the others (adding I twice to the distance between start and end node), so the solver is tempted to visit them only once (thus making them as the start and the end of the path).
Are there any big disadvantages of this approach, or is there a better way to do this?