Routing Constraints supported by Optimiser
Documentation for Optimizer constraints:
This documentation provides detailed information about the available constraints in the both ORTOOLS
and XLRTE
routing strategies. These constraints enable you to configure and optimize vehicle routes while considering various factors such as weight, volume, time windows, dimensions, and more.
S. No. | Constraints | Description | Use Case | XLRTE | ORTOOLS |
---|---|---|---|---|---|
1 | Weight | Ensure that the total weight of consignments assigned to a vehicle does not exceed a defined limit (weight capacity of vehicle) | Prevent overloading and ensure safe transportation by setting a maximum weight for each vehicle |
|
|
2 | Volume | Limit the total volume of consignments assigned to a vehicle based on a specified threshold (volume capacity of vehicle) | Manage vehicle capacity efficiently by controlling the volume of consignments/orders transported | ||
3 | Number | Specify the maximum number of consignments that a vehicle can handle in a single route | Manage vehicle consignment capacity efficiently by controlling the count of consignments/orders transported | ||
4 | Time | Enforce time windows for tasks to ensure they are serviced within specific time intervals and also consider the vehicle time windows (rider shifts) | Optimize route efficiency by meeting customer preferences and operational time frames | ||
5 | Length | Set maximum dimensions for vehicles with specific length capacity available | Accommodate tasks with unique size specifications while optimizing routes | ||
6 | Width | Set maximum dimensions for vehicles with specific width capacity available | Accommodate tasks with unique size specifications while optimizing routes | ||
7 | Height | Set maximum dimensions for vehicles with specific height capacity available | Accommodate tasks with unique size specifications while optimizing routes | ||
6 | Service Time | Defines the maximum time a vehicle can spend in total in a given trip at various task locations. | Optimize by capping service times to reduce waiting and enhance overall efficiency. | ||
7 | Tags | Assign tags to tasks and regulate which tasks can be served via particular vehicle based on tag compatibility. | Align tasks with similar characteristics or requirements for eligible vehicles to improve routing. | ||
8 | Distance | Limit the distance that a vehicle can travel in a single trip | Manage fuel costs and optimize routes by controlling the distance traveled | ||
9 | Product Value | Set a maximum value limit for the whole trip | Ensure security for valuable cargo by limiting exposure during transportation | ||
10 | Consecutive Distance | Restrict the maximum consecutive distance between tasks assigned to a vehicle | Improve route efficiency by managing the sequence of tasks | ||
11 | Service Radius | Define a maximum distance radius within which rider can be assigned | Optimize operations by limiting travel time of riders which have to pickup consignments from hub | ||
12 | Tasks | Specify a subset of tasks that must be included in a vehicle's route → pickup, delivery tasks under PUDO | Manage vehicle task capacity efficiently by controlling the count of tasks done by the vehicle/rider | ||
13 | Non-Depot Pickup Streak | Limit the number of consecutive non-depot pickups in a vehicle's route | Optimize route planning by managing the arrangement of tasks | ||
14 | Group Segregate | Ensure tasks belonging to specific groups are segregated in a vehicle's route | Improve organization and delivery by separating tasks with distinct attributes | ||
15 | Internode Distance | Control the maximum distance (in km) between any two nodes(tasks) in a cluster(in a vehicle's route) | Optimize route distances by regulating the spacing between tasks |