Hint: ViolatedTours

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:

Hint: ViolatedTours

Post by Bernd Welter »

Hello together,

I was just asked by a community member how xTour deals with input plans in case of existing violations such as TourViolations. The fellow expected xTour to be able to resolve the violation(s) and to optimize afterwards. But: this isn't the case and therefore I'd like to provide some simple statements about input plans. This should enable you to understand some principles of xTour ;-) The following statement therefore refers to transactions with a non empty input plan (e.g. at least one tour of at least one single vehicle).
  • Before xTour starts the optimization itself it evaluates the given input tours for each chain that is part of the input plan:If at least one single tour of a vehicle is corrupt the whole chain is marked as corrupt. This vehicle is therefore not touched by the optimization. Any assigned order remains on this vehicle. Violations will remain on the tours.
  • In other words: xTour will not resolve such conflicts automatically. The potential of optimization is therefore reduced to
    • vehicles without input tours
    • vehicles with violation free input tours
  • We recommend to inform a user about violations so he can decide how to resolve the conflicts (enlarge time intervals, assign ressources with sufficient skillsets or capacities...). After the manual resolution a new optimization approach is meaningful.
Do not hesitate to provide feedback or questions,

Best regards
Bernd
Post Reply