New Feature: Work shifts

This feature allows you to easily model several driver shifts. Just add a “shifts” field to your vehicles with any number of shifts as follows:

{
      "vehicle_id": "fieldworker-1",
      "type_id": "car_type",
      "shifts": [
        {
          "shift_id": "monday",
          "start_address": {
            "location_id": "your_home",
            "lon": 13.39238003043599,
            "lat": 52.50385692772726
          },
          "earliest_start": 28800,
          "latest_end": 57600
        },
        {
          "shift_id": "tuesday",
          "start_address": {
            "location_id": "your_home",
            "lon": 13.39238003043599,
            "lat": 52.50385692772726
          },
          "earliest_start": 115200,
          "latest_end": 144000
        }
      ]
}

Please note that this is still a beta feature. If you notice anything unexpected or strange, please let us know.

Here you can find a tutorial about how to model a traveling salesman problem with a week-planning horizon and driver shifts.

Happy Routing!

1 Like
Powered by Discourse