Skip to main content

Routing

What is needed to create a route

To create a route, you need to provide jobs as a collection of job pairs and fleets, a collection of fleet resources representing vehicles or drivers.

  1. Jobs: A job set is made up of pickup and delivery jobs. These can be provided directly through the routes api or as properties of orders see.

  2. Fleets: Fleets represent resources requires to complete the jobs. It is possible to specify constraints such as skills, shifts, breaks, limits which will considered during the routing and assignment process.

  3. Objectives(optional): Objectives are used to specify some routing goals in case you would like to fine tune the routing process to favor some kind of outcome.

Routes templates

Routing templates are used to pre-allocate some resources to serve an organisations operations practices. This is comprised of schedules, fleet_actors, service_actors, and services.

Route templates can be very useful for scheduling automatice routing.

Scheduling automatic routes creation

You have to setup solver_schedules in order to schedule automaic routing. You can do this to by setting up reocurring events with order filters and fleet_filters for resolving jobs an fleets respectively, as described in What is needed to create a route.