Skip to main content
GuidesExamples

Create Optimization

This collection of articles covers a wide range of features and techniques related to the GemMap widget.

Add Optimization with Full Details image

Add Optimization with Full Details

This example shows how to create and optimize a fleet management solution using the Fleet Management SDK, including custom optimizations, order details, vehicle constraints.
Add Optimization with Single Vehicle image

Add Optimization with Single Vehicle

This example shows how to create and optimize a fleet management solution with a single vehicle using the Fleet Management SDK, covering order details, vehicle constraints.
Add Optimization with Multiple Departures image

Add Optimization with Multiple Departures

This example shows how to optimize a fleet management solution using the Fleet Management SDK with multiple vehicles departing from different locations, covering order details, vehicle constraints.
Add Optimization with Multiple Destinations image

Add Optimization with Multiple Destinations

This example shows how to optimize a fleet management solution using the Fleet Management SDK, where multiple vehicles start from one location but end at different destinations. It covers order details, vehicle constraints, and routes for efficient planning.
Add Optimization with Fixed Orders Sequence image

Add Optimization with Fixed Orders Sequence

This example shows how to optimize a fleet management solution where specific orders must be visited in a fixed sequence by the same vehicle.
Reoptimize Optimization image

Reoptimize Optimization

This example shows how to reoptimize an existing optimization to generate a new and potentially better solution.
Update Optimization image

Update Optimization

This example shows how to update an existing optimization by modifying its configuration, vehicles, constraints, and other fields. The updated optimization can be reoptimized to generate a new solution; otherwise, the changes will not be applied to the optimization's routes.
Reoptimize Route image

Reoptimize Route

This example shows how to reoptimize an existing route to rearrange the orders into a better sequence of visits, if a more efficient sequence is available.
Update Route image

Update Route

This example shows how to update an existing route by modifying its configuration, vehicle constraints, and other fields. The updated route can be reoptimized to generate a new visit order. If not reoptimized, the changes won’t affect the route’s optimization. However, some configuration changes (e.g., ignoring time windows or adjusting optimization criteria) will automatically trigger reoptimization.
Unlink Route image

Unlink Route

This example shows how to unlink a route from its optimization. The route will be removed from the optimization, and a new optimization will be created for the unlinked route, retaining its configuration and vehicle constraints.
Merge Routes image

Merge Routes

This example shows how to merge multiple routes into one. A new optimization will be created for the merged route, inheriting configuration and vehicle constraints from the first route, but it will **not** be automatically optimized.
Add Orders To Optimization image

Add Orders To Optimization

This example shows how to add a list of orders to an existing optimization, where the orders will be assigned to routes if reoptimization is enabled, or stored without assignment if reoptimization is not enabled.
Add Orders To Route image

Add Orders To Route

This example shows how to add a list of orders into an existing route's order list at optimal positions determined by the algorithm.