What is the meaning of "ONLY_ONE_TOUR_PER_VEHICLE_INTERVAL"?

This forum deals with any kind of trip optimization based on xTour1, xTour2 and the Developer APIs "RouteOptimization" and "SequenceOptimization". No matter whether it is automatic planning or manual dispatching, refering to transport orders or service planning.
Attention: this does not refer to PTV Optiflow SaaS and PTV Developer RouteOptimization Optiflow.
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

What is the meaning of "ONLY_ONE_TOUR_PER_VEHICLE_INTERVAL"?

Post 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
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply