Route Optimization OptiFlow API - Api Changes 1.27.0 (08.10.2025)

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

Route Optimization OptiFlow API - Api Changes 1.27.0 (08.10.2025)

Post by Bernd Welter »

ApiVarVersionTypeDateDescription
Route Optimization OptiFlow API1.27.0FEATURE08.10.2025Added support for early termination via maximumStagnationDuration, allowing optimizations to stop if no better solution is found within a specified time window.
  • maximumStagnationDuration :
    Defines the maximum duration (in seconds) the optimization may continue without improving the best-known solution. If no better solution is found within this period, the optimization will stop early - even if the overall duration limit has not yet been reached. This mechanism helps reduce unnecessary computation time when progress stalls. The stagnation timer starts when the optimization enters the RUNNING status and resets each time a better solution is found. Use with caution: This feature may prematurely terminate optimizations that could still yield better solutions given more time. Since the timing of improvements is inherently unpredictable, relying on this setting can lead to suboptimal results. It is recommended to disable this feature or set a conservative value unless you have strong reasons to limit runtime based on stagnation.
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:
Post Reply