Skip to content Skip to sidebar Skip to footer

Or-tools Solve Traveling Salesman (tsp) Without Returning To The Home Node

I'm using Google Or-Tools to solve a Traveling Salesman Problem by using this example (basically I just replaced the distances matrix with mine). As in the example, I set data['dep

Solution 1:

Make sure the distance from all nodes to 0 (the depot) is null. This is equivalent to what you are asking for.


Post a Comment for "Or-tools Solve Traveling Salesman (tsp) Without Returning To The Home Node"