Minimize number of approaches at a site

Questions refering to the Optiflow based API within PTV Developer (launched on 20.12.2023)
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2816
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Minimize number of approaches at a site

Post by Bernd Welter »

Hi there,

One of my partners wants to ensure that count of approaching a site is preferred to be minimized.
We used to apply some additional "parking time" (labelled "site period" in the xServer approach) but is there a dedicated mechanism in place?

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:
michael.unrau
Posts: 5
Joined: Tue May 16, 2023 11:51 am

Re: Minimize number of approaches at a site

Post by michael.unrau »

Yes, there is a preparationDuration property which can be found under stopProperties of a location. This duration will be applied at the corresponding location before any task can be executed. See https://developer.myptv.com/en/document ... pts/routes for details.

Cheers,
Michael
Michael Unrau
DevOps Engineer
PTV Logistics - Germany
Guillaume_Vallin
Posts: 2
Joined: Tue Nov 19, 2019 2:35 pm

Re: Minimize number of approaches at a site

Post by Guillaume_Vallin »

Hi,

What about using locationGroupId & LocationGroup Penalty ? It is very useful for many cases with the application.

Not accessible yet in the API, but existing in the engine itself.
Post Reply