use weak time windows

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

use weak time windows

Postby columbs » Wed Jun 28, 2017 11:19 am

Hello everybody,

is it possible to use weak time windows in xTour server? I mean: I have 10 customers to deliver from 14:00 till 16:00 (hard time windows), but I could in some case also deliver till 17:00, if no feasible solution can be found. I that case I want to minimise the use of the tolerance time.
Is the functionality already available? or maybe in a next version?

Thank you in advance and best regards from Switzerland,
Sebastiano
Intertour strategy is my religion
User avatar
columbs
 
Posts: 20
Joined: Fri Oct 07, 2016 8:21 am

Re: use weak time windows

Postby Bernd Welter » Wed Jun 28, 2017 5:03 pm

Hello Sebastiano,

we do this in Smartour but then it simply opens the time interval [ from ; till ] to [ from-buffer ; till+buffer ] within a second transaction. So it is some kind of business logic around the planBasicTours calls.

Best regards,
Bernd

PS: I'll forward this to DEV
Bernd Welter
Senior Technical Consultant Developer Components
PTV GROUP - Germany

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

Re: use weak time windows

Postby melsner » Tue Nov 13, 2018 11:18 am

Hi,

is there any progress regarding this topic?
We just got questions from two different customers who want to use xTour-planSequence with time windows, and they want the tour to be calculated even if not all time windows can be matched.
Of course we could call xTour twice, passing explicit time windows in the first call, and omitting them in second call, if the first one failed, but that's a bad solution; we would have to ensure that the second call is only done if the time windows are the bottleneck, not working times or other restrictions; and we would have to use the interface twice, making calculation even slower.

Best regards
Martin
Martin Elsner

Senior consultant
inconso GmbH
User avatar
melsner
 
Posts: 5
Joined: Tue Nov 13, 2018 9:07 am

Re: use weak time windows

Postby Joost » Tue Nov 13, 2018 11:22 am

Side note:

Do not use planSequence but planBasicTours in this case. The result of planbasicTours is better if there are heterogeneous time windows.
Joost Claessen
Senior Technical Consultant
PTV Benelux
Joost
 
Posts: 243
Joined: Fri Apr 25, 2014 1:46 pm

Re: use weak time windows

Postby Bernd Welter » Tue Nov 13, 2018 11:40 am

Hello there,

Generic recommendation: viewtopic.php?f=6&t=640

About the weak time windows: I do not expect a server side feature which offers some weakness in the handling of time intervals. The time intervals are hard constraints.

About the iterative approach:
Take a look at the UnscheduledOrderAnalysis to determine why an order remained unscheduled. Maybe you can use this info to determine how to approach the second call.

Best regards,
Bernd
Bernd Welter
Senior Technical Consultant Developer Components
PTV GROUP - Germany

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

Re: use weak time windows

Postby melsner » Tue Nov 13, 2018 1:06 pm

Hello Joost and Bernd,

thanks for your help.
Then we will check if a double call is possible.
We still use planSequence as there was no need to upgrade to planBasicTours until now. But I will have a look into the API, to check if we could benefit from the differences.

Best regards
Martin Elsner

Senior consultant
inconso GmbH
User avatar
melsner
 
Posts: 5
Joined: Tue Nov 13, 2018 9:07 am


Return to PTV xTourServer

cron