Google OR-Tools TSP-TW the earliest time to return

257 Views Asked by At

I'm working on the traveling salesman problem with time-constrained (TSP with Time Windows). I'd like to find a solution that will give me the earliest time to return to the depot. However, the expected solution has not been obtained. Specifically, it is as follows.

  • I set start time to 8:00 am and end time 21:00 pm, but he proposes a plan to wait until 10:00 am at the depot, even though there are nodes (no time-constrained) near the depot. He seems to want me to visit the near nodes at night. As a result, I end up returning late at night.

My request is not to reduce total travel time. Any idea?

1

There are 1 best solutions below

1
On