This feature is configurable via .json
input, without the need for code customization and is available for both the Marketplace app and Platform. You can find a list of all available features here.
This how-to guide assumes you already completed the get started with vehicle routing tutorial.
Field name | Required | Data type | SI Unit | Defined on | Example | Configurable via defaults |
---|---|---|---|---|---|---|
stop_duration_multiplier | No | float | NA | vehicle | {"stop_duration_multiplier": 1.23} | ✅ |
The stop_duration_multiplier
specifies a multiplier for the vehicle on:
For example, a large semi-truck might take longer to park than a sedan, so the semi-truck's stop durations should be scaled up in comparison.
Here is an example defining a stop duration multiplier on a vehicle. A sample output obtained after solving the problem is also shown.