Sequence post-optimization
If you use balancing with large penalties or geographic grouping with large global_proximity_factor
values, you might receive routes that have an inefficient delivery sequence. To solve this problem, use the sequence post-optimization mode. You can enable sequence post-optimization by using the post_optimization
option:
"options": { "post_optimization": true }
Copied to clipboard
If you enable this option, the algorithm will optimize the sequence for each individual route at the end of the planning task.
Example 1 (no post-optimization)
This example uses global_proximity_factor
and the balancing option.
API request (JSON) ⋅ API response ⋅ View on map
Example 2 (with post-optimization)
Same as example 1 but with the added post_optimization
option. The result is lower total mileage and reduced time en route and in motion. Routes have become more predictable.