Page 1 of 1

Manually overriding the start time of a tour

Posted: Fri Jun 23, 2017 11:03 am
by ptvs-ff
Hello everybody

We would like to know if it's possible to manually override the earliest time a tour may begin.

Our research has shown us that there are 2 possible ways: to either use startTimeEarliest on AbstractTour, or to simply lift up the vehicle's openingIntervals.

However, the first option doesn't properly work for us, since we are trying to optimize a tour, and therefore can't provide an inputPlan.

before we go ahead and try to use the (much more restricting) second option, we would like to get some feedback from you guys :D

Best regards, Fabian

Re: Manually overriding the start time of a tour

Posted: Wed Jun 28, 2017 11:13 am
by columbs
Hello everyone,

is it possible to set a "preferable" starttime of a tour, when I plan it without any inputplan? Is it only possible to set as hard restiction by adjusting the availability of the vehicle? Example: Vehilce 1 is in general available from 5:00 till 22:00, but if I want to start the trip at 6:30, I have to define that the vehicle 1 is usable only from 6:30 till 22:00. Right?

Thank you in advance

Re: Manually overriding the start time of a tour

Posted: Wed Jun 28, 2017 1:16 pm
by Bernd Welter
Hi guys,

you could also use startTimeFixed without an input plan. Here are some examples with same restrictions
  • 20 orders of 5minutes
  • 07:00 - 17:00 operating interval
  • 09:00 - 18:00 opening interval
just the startTime is different:
StartTime not set. Tour starts 08:55, first customer is visited at 09:00.
StartTime not set. Tour starts 08:55, first customer is visited at 09:00.
StartTime set to 11:00. Tour start at depot is 11:00. First customer to be visited: 11:00
StartTime set to 11:00. Tour start at depot is 11:00. First customer to be visited: 11:00
Start time set to 07:00. Tour starts early, arrival time at customer produces waiting time because opening is at 09:00.
Start time set to 07:00. Tour starts early, arrival time at customer produces waiting time because opening is at 09:00.
Best regards
Bernd

Re: Manually overriding the start time of a tour

Posted: Wed Jun 28, 2017 2:11 pm
by columbs
Hi Bernd,
thank you very much!
regards,
Sebastiano

Re: Manually overriding the start time of a tour

Posted: Fri Jun 30, 2017 9:11 am
by ptvs-ff
Hello Bernd,

thank you for your answer! However, we need further guidance... How can we specify startTimeFixed on a Tour entity, without sending said tour inside an inputPlan?

Best regards, Fabian

Re: Manually overriding the start time of a tour

Posted: Tue Jul 04, 2017 11:12 am
by Bernd Welter
Probably you need the Vehicle's propertie departureTimeFixed?
starttimeFixed.PNG

Re: Manually overriding the start time of a tour

Posted: Tue Jul 04, 2017 11:22 am
by ptvs-ff
Hello Bernd,

this is amazing! it's exactly what we need. Interesting how both sebastiano and me didn't see this when we looked at the docs :D

thank you very much for your help!

Best Regards,
Fabian