Page 1 of 1

Minimize number of approaches at a site

Posted: Thu Feb 01, 2024 5:32 pm
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

Re: Minimize number of approaches at a site

Posted: Wed Feb 14, 2024 8:01 am
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

Re: Minimize number of approaches at a site

Posted: Thu Feb 22, 2024 4:02 pm
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.