Finalization Type
The Finalization Type is a post-processing instruction that fine-tunes the exact scheduled time for a stop after the optimal route has already been determined.
It does not change the sequence of stops in a route, but it adjusts when a vehicle is scheduled to arrive at a node within its available time window. This allows planners to control for preferences like minimizing vehicle waiting time or prioritizing early arrivals.
This setting is applied on a per-node basis using the finalization_type property.
How Finalization Type Works
Once the optimization engine has found the most efficient sequence of stops for a vehicle, the finalization step adjusts the arrival times based on one of two settings:
max: Schedule as late as possible. The optimizer pushes the scheduled arrival time to the latest possible moment within the node's time window.min: Schedule as early as possible. The optimizer sets the scheduled arrival time to the earliest possible moment.