solve_traveling_salesman_problem
Optimize route planning by solving the Traveling Salesman Problem to determine the shortest path visiting all specified locations, with options for custom start, return, and time limits.
Instructions
Solve Traveling Salesman Problem (TSP) to find the shortest route visiting all locations.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
distance_matrix | No | ||
locations | Yes | ||
return_to_start | No | ||
start_location | No | ||
time_limit_seconds | No |