One of the most requested features in the last ten years is finally here: you can now optimize when a vehicle departs from its start location, instead of always leaving at earliest_start.
How it works
Set latest_start on a vehicle to define a departure window. The optimizer will then choose the best departure time within that window to minimize waiting time along the route.
{
"vehicle_id": "driver_1",
"earliest_start": 1750057200,
"latest_start": 1750071600,
"latest_end": 1750100400
}
You can also control the preference with departure_preference:
"late"(default) — departs as late as possible while meeting all time windows"early"— departs as early as possible, eliminating waiting time along the route
The response includes a new departure_window on the start activity showing the feasible departure range.
The feature only activates when you send latest_start.
This is a beta feature. We’d love your feedback on the results and behavior. Let us know in this thread or via email.