Two dependent orders at one stop

This forum deals with any kind of trip optimization whether it is automatic planning or manual dispatching, refering to transport orders or service planning.

Two dependent orders at one stop

Postby jbrand » Thu Nov 28, 2019 1:26 pm


we are using xTour2 and we have the following problem.

We are planning tours for beverage specialized wholesalers in Germany. They have orders where they deliver beverages from the depot to the customer and take back empty packaging to the depot.

Such orders have three quantity-dependend times. One for pickup the beverages at the depot-site, one for delivery at the customer site and additionaly one to unload the empty packaging at the end of the trip at the depot-site.

In xTour2 we don't have such type of order so I map this to one OrderWithAlternativePickupDepots for the transport of the beverages and one OrderWithAlternativeDeliveryDepots for the empty packaging.

This works fine but I also have the restriction, that both orders have to be processed at one stop at the customer site.
And her it becomes difficult. I tested orderGroupConsideration and one group-id for each pair of these orders but oneTripPerGroup can only be activated if oneGroupPerTrip is also activated and this dosn't help.

How can I tell xTour2 this restriction?

Best Regards
Posts: 2
Joined: Mon Mar 18, 2019 9:40 am

Re: Two dependent orders at one stop

Postby Bernd Welter » Fri Nov 29, 2019 1:59 pm

Hello Jens,

from my perspective there's no link between orders such as
- take care of the "order 2" after you fullfiled "order 1" (e.g. build the wall, then put the wallpaper on it ;-) )

I will forward the challenge to DEV to get a recommendation how to approach this scenario.
(treated as XS-3453: xT2 plans deliveries and pick-ups for the same customer site in the same stop: expected for 2.17)

Best regards,

PS: Sidenote: do you know in advance how many empty bins you have to collect?
Bernd Welter
Senior Technical Consultant Developer Components
PTV GROUP - Germany

Bernd at Youtube
User avatar
Bernd Welter
Site Admin
Posts: 1665
Joined: Mon Apr 14, 2014 10:28 am

Return to PTV xTourServer