Weird result when planning multi-day one-way with overnight
Posted: Fri Jan 14, 2022 4:01 pm
Hi,
we recently observed a strange behaviour of xTour Internet when doing tour optimization using "planOvernightTours", specifically multi-day one-way tours with overnight stays.
We have a request where about 50 TransportOrders are to be planned, with an available time frame of 5 days.
The time restriction on the driver is every day 08:00 - 17:00; the time restrictions on the transport orders are every day 00:00 - 23:59.
Overnight stays are allowed for every day.
When we plan the tour as a roundtrip (i.e. start depot = end depot), all the transport orders are scheduled as expected.
However when we plan the tour with exactly the same transport orders and all the same restrictions EXCEPT that the tour is planned as a one-way trip (i.e. start depot is not end depot), the result is that only the first 9 or so transport orders are planned (all on one day; which day it is appears to be random), while the rest of the week will be unused and all the other transport orders marked as unscheduled.
The use case of a multi-day one-way tour with overnight stays is rare for the users of our application, so we don't know for how long this has been that way without being noticed. But I'm pretty sure this used to work differently some time in the past.
Can you please elaborate why xTour behaves that way?
I can send you the request as XML if needed.
Thanks in advance & greetings
Oliver Meyer
Nagarro ES GmbH
we recently observed a strange behaviour of xTour Internet when doing tour optimization using "planOvernightTours", specifically multi-day one-way tours with overnight stays.
We have a request where about 50 TransportOrders are to be planned, with an available time frame of 5 days.
The time restriction on the driver is every day 08:00 - 17:00; the time restrictions on the transport orders are every day 00:00 - 23:59.
Overnight stays are allowed for every day.
When we plan the tour as a roundtrip (i.e. start depot = end depot), all the transport orders are scheduled as expected.
However when we plan the tour with exactly the same transport orders and all the same restrictions EXCEPT that the tour is planned as a one-way trip (i.e. start depot is not end depot), the result is that only the first 9 or so transport orders are planned (all on one day; which day it is appears to be random), while the rest of the week will be unused and all the other transport orders marked as unscheduled.
The use case of a multi-day one-way tour with overnight stays is rare for the users of our application, so we don't know for how long this has been that way without being noticed. But I'm pretty sure this used to work differently some time in the past.
Can you please elaborate why xTour behaves that way?
I can send you the request as XML if needed.
Thanks in advance & greetings
Oliver Meyer
Nagarro ES GmbH