The code sample explains how to create a simple plan for a round trip starting at a depot location and returning to it at the end of a route. All transport is delivered from one single depot location, which is also the start and end location of the vehicle.
The whole process to create a simple plan for a round trip might be summarised in the following steps:
- Create a plan
Create a simple plan for a round trip containing a vehicle, transports and related locations, see Round Trip - Create a Plan.
- Optimise the plan
Start of the optimisation process for the previously created plan, see Round Trip - Optimise the Plan.
- Get the operation status of the optimisation run
Get the operation status of the optimisation run if the optimization process was started before, see Round Trip - Get Operation Status of Optimisation Run.
- Get a plan
After successful completion of the optimization process, you get an optimised plan, see Round Trip - Get a Plan.
- Delete a plan
Delete the already existing plan, see Round Trip - Delete a Plan.