Page 1 of 1

What is the meaning of "ONLY_ONE_TOUR_PER_VEHICLE_INTERVAL"?

Posted: Thu Apr 05, 2018 8:24 am
by Bernd Welter
Hi there,

a customer of mine received the following Violation in his planOvernight call:
ONLY_ONE_TOUR_PER_VEHICLE_INTERVAL

The combination of the following parameters has an impact on that message:
  • maxTourCountPerChain=1
  • depotIdStart: -1 and depotIdEnd: 201, so the start of the plan isn't the depot
  • startLocation is given
  • overnight stays are forbidden
The usage of the start location causes the algorithm to create another internal tour.
Overnights are forbidden, so the internal tour is assigned to an individual interval (and has to be completed within that interval).
Unfortunately there is only one single interval and the number of tours is restricted to one so there's no proper solution available.

If possible try to use the start depot as the beginning of the tour.

Best regards,
Bernd