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_groups | No | array of array of string | NA | input | {"stop_groups": [["foo", "bar"], ["baz", "roh"]]} | ➖ |
Stop groups allow you to define stops that have to go together on the same vehicle, without further requirements. Stop groups are used with the stop_groups
feature which defines a list of groups (array
of string
). Each group must consist of at least 2 stops, given by their IDs.
Here is an example defining stop groups. A sample output obtained after solving the problem is also shown.