Set origin for TSP
AnsweredHi,
I have seen this example https://www.gurobi.com/resource/the-traveling-salesman-problem-demo/ for Travelling Salesman Problem.
How to set a origin for eg. Springfield?
Thanks in advance.
Niels
0
-
Official comment
Dear Neils,
It is not necessary to indicate the origin. It's enough to select the cities to be visited. Then, Gurobi should return a tour that visits each city once. Having this information, you can choose any city to be the starting point.
-
Official comment
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?.
Post is closed for comments.
Comments
2 comments