Manually overriding the start time of a tour

This forum deals with any kind of trip optimization whether it is automatic planning or manual dispatching, refering to transport orders or service planning.
Post Reply
User avatar
ptvs-ff
Posts: 5
Joined: Mon Jun 19, 2017 12:38 pm

Manually overriding the start time of a tour

Post 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
when in danger or in doubt, run in circles, scream and shout!
User avatar
columbs
Posts: 20
Joined: Fri Oct 07, 2016 8:21 am

Re: Manually overriding the start time of a tour

Post 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
Intertour strategy is my religion
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Manually overriding the start time of a tour

Post 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
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
User avatar
columbs
Posts: 20
Joined: Fri Oct 07, 2016 8:21 am

Re: Manually overriding the start time of a tour

Post by columbs »

Hi Bernd,
thank you very much!
regards,
Sebastiano
Intertour strategy is my religion
User avatar
ptvs-ff
Posts: 5
Joined: Mon Jun 19, 2017 12:38 pm

Re: Manually overriding the start time of a tour

Post 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
when in danger or in doubt, run in circles, scream and shout!
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Manually overriding the start time of a tour

Post by Bernd Welter »

Probably you need the Vehicle's propertie departureTimeFixed?
starttimeFixed.PNG
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
User avatar
ptvs-ff
Posts: 5
Joined: Mon Jun 19, 2017 12:38 pm

Re: Manually overriding the start time of a tour

Post 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
when in danger or in doubt, run in circles, scream and shout!
Post Reply