Example 4 – Separate loads by vehicle type
In this example, we have a request to solve a logistics problem for a company that uses vehicles specialized for different types of cargo: frozen, chilled, and dry.
There are 3 vehicles available — one for refrigerated cargo (able to carry both frozen and chilled loads), one for dry cargo, and one hybrid vehicle (able to carry all types).
In total, there are 15 delivery operations, with products assigned to specific groups, ensuring that each vehicle only carries compatible cargo.
Problem description
The deliveries involve products such as fish (frozen), milk (chilled), and soybeans (dry). The vehicles are configured with compartments that restrict the allowed groups, simulating real-world scenarios from perishable food logistics, where temperature and cargo type are critical factors.
The defined time windows cover the entire operating period available for the vehicles (from 08:00 on one day to 18:00 the next day), meaning they don’t impose any additional restriction beyond the fleet’s own availability. The focus of the planning, therefore, is on respecting compartment compatibility and optimizing the distance traveled.
![]() 15 DELIVERY OPERATIONS | ![]() 1 DEPOT | ![]() 3 SPECIALIZED VEHICLES (REFRIGERATED, DRY, HYBRID) | ![]() 3 PRODUCT TYPES (FROZEN, CHILLED, DRY) |
The delivery points are spread across different locations — there are even two customers (STOPPOINT_7 and STOPPOINT_8) that share the same coordinates, simulating, for example, two recipients at the same hub or warehouse. The optimization assigns compatible cargo to each vehicle: the refrigerated vehicle carries milk and, when the route makes it worthwhile, also fish (since its compartment accepts both packaging types); the dry-cargo vehicle carries soybeans; and the hybrid vehicle handles the remaining deliveries, combining all three product types in a single compartment.
This approach avoids cross-contamination or temperature violations, situations that are common in food supply chains.
Parameters that solve the cargo-vehicle combination
Before looking at the full request, it’s worth isolating the three parameters that actually decide which vehicle can carry which product. These are the ones the Planning API cross-references internally to build the routes — the other fields in the payload (profiles, legislation, time windows, etc.) don’t affect this combination and are covered in another article.
products[].packagings— defines which packaging/storage type each product belongs to. In the example,FISHis inFROZEN,MILKis inCHILLED, andSOYBEANis inDRY. This field says nothing about vehicles — it only labels the product.vehicleTypes[].compartmentConfigurations[].compartments[].allowedPackagings— on the vehicle side, each compartment declares which packagings it accepts. This is where compatibility actually happens: theREFRIGERATEDcompartment accepts["FROZEN", "CHILLED"], theDRYcompartment accepts only["DRY"], and theHYBRIDcompartment accepts all three —["FROZEN", "CHILLED", "DRY"].compartments[].type(FIXED) andcompartments[].maximumCapacity— beyond accepting or rejecting the packaging, each compartment has a fixed maximum capacity (1000 for all of them in this example). The API only assigns an operation to a compartment if the product’s packaging is inallowedPackagingsand the running total of volume/weight still fits withinmaximumCapacity.
Combining the first two fields, you can build the compatibility matrix used in this use case without even running the API:
| Product | Packaging (products[].packagings) | Compatible compartments (allowedPackagings) |
|---|---|---|
| FISH | FROZEN | REFRIGERATED, HYBRID |
| MILK | CHILLED | REFRIGERATED, HYBRID |
| SOYBEAN | DRY | DRY, HYBRID |
Note that the HYBRID vehicle is the only one compatible with all three products — which is why it absorbs most of the deliveries in the final solution, while REFRIGERATED and DRY are restricted to the products of their respective packagings.
Full request
The full request can be seen below. Pay attention to the products and vehicleTypes.compartmentConfigurations blocks — they are exactly the three parameters described above:
{
"optimizationProfile": "BRAZIL46",
"tripsProfile": "MAPLINKBR",
"startDate": 1624608000000,
"legislationProfiles": [
{
"name": "DEFAULT"
}
],
"logisticConstraints": [
{
"name": "DEFAULT"
}
],
"products": [
{
"name": "FISH",
"packagings": [
"FROZEN"
]
},
{
"name": "MILK",
"packagings": [
"CHILLED"
]
},
{
"name": "SOYBEAN",
"packagings": [
"DRY"
]
}
],
"sites": [
{
"name": "STOPPOINT_1",
"coordinates": {
"latitude": -23.524322,
"longitude": -46.706273
},
"logisticConstraints": "DEFAULT"
},
{
"name": "STOPPOINT_2",
"coordinates": {
"latitude": -23.623525,
"longitude": -46.703297
},
"logisticConstraints": "DEFAULT"
},
{
"name": "STOPPOINT_3",
"coordinates": {
"latitude": -23.588551,
"longitude": -46.646401
},
"logisticConstraints": "DEFAULT"
},
{
"name": "STOPPOINT_4",
"coordinates": {
"latitude": -23.504494,
"longitude": -46.857385
},
"logisticConstraints": "DEFAULT"
},
{
"name": "STOPPOINT_5",
"coordinates": {
"latitude": -29.823819,
"longitude": -51.14773
},
"logisticConstraints": "DEFAULT"
},
{
"name": "STOPPOINT_6",
"coordinates": {
"latitude": -25.556829,
"longitude": -49.348827
},
"logisticConstraints": "DEFAULT"
},
{
"name": "STOPPOINT_7",
"coordinates": {
"latitude": -29.827506,
"longitude": -51.172703
},
"logisticConstraints": "DEFAULT"
},
{
"name": "STOPPOINT_8",
"coordinates": {
"latitude": -29.827506,
"longitude": -51.172703
},
"logisticConstraints": "DEFAULT"
},
{
"name": "STOPPOINT_9",
"coordinates": {
"latitude": -25.242227,
"longitude": -53.981779
},
"logisticConstraints": "DEFAULT"
},
{
"name": "STOPPOINT_10",
"coordinates": {
"latitude": -29.638353,
"longitude": -51.004301
},
"logisticConstraints": "DEFAULT"
}
],
"depots": [
{
"name": "DEPOT",
"coordinates": {
"latitude": -23.504494,
"longitude": -46.857385
},
"logisticConstraints": "DEFAULT"
}
],
"vehicleTypes": [
{
"name": "REFRIGERATED",
"maxVolume": 100,
"maxWeight": 100,
"size": 10,
"compartmentsAccessMode": "REAR_ACCESS",
"compartmentConfigurations": [
{
"name": "COMPARTMENT_REFRIGERATED",
"compartments": [
{
"name": "REFRIGERATED",
"type": "FIXED",
"maximumCapacity": 1000,
"loadingRule": "NONE",
"allowedPackagings": [
"FROZEN",
"CHILLED"
]
}
]
}
]
},
{
"name": "DRY",
"maxVolume": 100,
"maxWeight": 100,
"size": 10,
"compartmentsAccessMode": "REAR_ACCESS",
"compartmentConfigurations": [
{
"name": "COMPARTMENT_DRY",
"compartments": [
{
"name": "DRY",
"type": "FIXED",
"maximumCapacity": 1000,
"loadingRule": "NONE",
"allowedPackagings": [
"DRY"
]
}
]
}
]
},
{
"name": "HYBRID",
"maxVolume": 100,
"maxWeight": 100,
"size": 10,
"compartmentsAccessMode": "REAR_ACCESS",
"compartmentConfigurations": [
{
"name": "COMPARTMENT_HYBRID",
"compartments": [
{
"name": "HYBRID",
"type": "FIXED",
"maximumCapacity": 1000,
"loadingRule": "NONE",
"allowedPackagings": [
"FROZEN",
"CHILLED",
"DRY"
]
}
]
}
]
}
],
"vehicles": [
{
"name": "VEHICLE_1",
"vehicleType": "REFRIGERATED",
"legislationProfile": "DEFAULT",
"availablePeriods": [
{
"departureSite": "DEPOT",
"arrivalSite": "DEPOT",
"timeWindow": {
"start": 1624608000000,
"end": 1624730400000
},
"maxRoutesNumber": 1
}
]
},
{
"name": "VEHICLE_2",
"vehicleType": "DRY",
"legislationProfile": "DEFAULT",
"availablePeriods": [
{
"departureSite": "DEPOT",
"arrivalSite": "DEPOT",
"timeWindow": {
"start": 1624608000000,
"end": 1624730400000
},
"maxRoutesNumber": 1
}
]
},
{
"name": "VEHICLE_3",
"vehicleType": "HYBRID",
"legislationProfile": "DEFAULT",
"availablePeriods": [
{
"departureSite": "DEPOT",
"arrivalSite": "DEPOT",
"timeWindow": {
"start": 1624608000000,
"end": 1624730400000
},
"maxRoutesNumber": 1
}
]
}
],
"operations": [
{
"id": "STOPPOINT_1",
"priority": 0,
"volume": 10,
"weight": 5,
"product": "FISH",
"type": "DELIVERY",
"depotSite": "DEPOT",
"customerSite": "STOPPOINT_1",
"customerTimeWindows": [
{
"start": 1624608000000,
"end": 1624730400000
}
]
},
{
"id": "STOPPOINT_2",
"priority": 0,
"volume": 10,
"weight": 5,
"product": "FISH",
"type": "DELIVERY",
"depotSite": "DEPOT",
"customerSite": "STOPPOINT_2",
"customerTimeWindows": [
{
"start": 1624608000000,
"end": 1624730400000
}
]
},
{
"id": "STOPPOINT_3",
"priority": 0,
"volume": 10,
"weight": 5,
"product": "FISH",
"type": "DELIVERY",
"depotSite": "DEPOT",
"customerSite": "STOPPOINT_3",
"customerTimeWindows": [
{
"start": 1624608000000,
"end": 1624730400000
}
]
},
{
"id": "STOPPOINT_4",
"priority": 0,
"volume": 0,
"weight": 0,
"product": "FISH",
"type": "DELIVERY",
"depotSite": "DEPOT",
"customerSite": "STOPPOINT_4",
"customerTimeWindows": [
{
"start": 1624608000000,
"end": 1624730400000
}
]
},
{
"id": "STOPPOINT_5",
"priority": 0,
"volume": 0,
"weight": 0,
"product": "FISH",
"type": "DELIVERY",
"depotSite": "DEPOT",
"customerSite": "STOPPOINT_5",
"customerTimeWindows": [
{
"start": 1624608000000,
"end": 1624730400000
}
]
},
{
"id": "STOPPOINT_6",
"priority": 0,
"volume": 0,
"weight": 0,
"product": "MILK",
"type": "DELIVERY",
"depotSite": "DEPOT",
"customerSite": "STOPPOINT_6",
"customerTimeWindows": [
{
"start": 1624608000000,
"end": 1624730400000
}
]
},
{
"id": "STOPPOINT_7",
"priority": 0,
"volume": 0,
"weight": 0,
"product": "MILK",
"type": "DELIVERY",
"depotSite": "DEPOT",
"customerSite": "STOPPOINT_7",
"customerTimeWindows": [
{
"start": 1624608000000,
"end": 1624730400000
}
]
},
{
"id": "STOPPOINT_8",
"priority": 0,
"volume": 0,
"weight": 0,
"product": "MILK",
"type": "DELIVERY",
"depotSite": "DEPOT",
"customerSite": "STOPPOINT_8",
"customerTimeWindows": [
{
"start": 1624608000000,
"end": 1624730400000
}
]
},
{
"id": "STOPPOINT_9",
"priority": 0,
"volume": 0,
"weight": 0,
"product": "MILK",
"type": "DELIVERY",
"depotSite": "DEPOT",
"customerSite": "STOPPOINT_9",
"customerTimeWindows": [
{
"start": 1624608000000,
"end": 1624730400000
}
]
},
{
"id": "STOPPOINT_10",
"priority": 0,
"volume": 0,
"weight": 0,
"product": "MILK",
"type": "DELIVERY",
"depotSite": "DEPOT",
"customerSite": "STOPPOINT_10",
"customerTimeWindows": [
{
"start": 1624608000000,
"end": 1624730400000
}
]
},
{
"id": "STOPPOINT_11",
"priority": 0,
"volume": 100,
"weight": 100,
"product": "SOYBEAN",
"type": "DELIVERY",
"depotSite": "DEPOT",
"customerSite": "STOPPOINT_1",
"customerTimeWindows": [
{
"start": 1624608000000,
"end": 1624730400000
}
]
},
{
"id": "STOPPOINT_12",
"priority": 0,
"volume": 0,
"weight": 0,
"product": "SOYBEAN",
"type": "DELIVERY",
"depotSite": "DEPOT",
"customerSite": "STOPPOINT_2",
"customerTimeWindows": [
{
"start": 1624608000000,
"end": 1624730400000
}
]
},
{
"id": "STOPPOINT_13",
"priority": 0,
"volume": 0,
"weight": 0,
"product": "SOYBEAN",
"type": "DELIVERY",
"depotSite": "DEPOT",
"customerSite": "STOPPOINT_3",
"customerTimeWindows": [
{
"start": 1624608000000,
"end": 1624730400000
}
]
},
{
"id": "STOPPOINT_14",
"priority": 0,
"volume": 0,
"weight": 0,
"product": "SOYBEAN",
"type": "DELIVERY",
"depotSite": "DEPOT",
"customerSite": "STOPPOINT_4",
"customerTimeWindows": [
{
"start": 1624608000000,
"end": 1624730400000
}
]
},
{
"id": "STOPPOINT_15",
"priority": 0,
"volume": 0,
"weight": 0,
"product": "SOYBEAN",
"type": "DELIVERY",
"depotSite": "DEPOT",
"customerSite": "STOPPOINT_5",
"customerTimeWindows": [
{
"start": 1624608000000,
"end": 1624730400000
}
]
}
]
}
Note that only the FISH operations at the first three points (30 kg/30 L in total) and the SOYBEAN operation at STOPPOINT_11 (100 kg/100 L) carry real volume and weight — the rest represent symbolic visit/delivery stops, deliberately kept at zero so the example stays focused on compartment compatibility rather than capacity optimization. It’s worth noting that the soybean operation (100/100) already sits at the exact maximumCapacity limit of the DRY compartment — meaning the example exercises both packaging validation and the vehicle’s capacity limit at once.
Solving the logistics problem
The API response returns the best sequencing of operations for each vehicle, respecting the compatibility matrix described above. In practice:
- VEHICLE_1 (REFRIGERATED) delivers to STOPPOINT_9, STOPPOINT_6 (milk), and STOPPOINT_4 (fish) — since its compartment accepts both
CHILLEDandFROZEN, it can serve that fish stop without violating the packaging rule, even though it’s the “milk vehicle”. - VEHICLE_2 (DRY) delivers only to STOPPOINT_1, carrying the soybeans (100 kg/100 L) — the only packaging its compartment accepts, and right at the maximum capacity limit.
- VEHICLE_3 (HYBRID) absorbs the rest of the 15 operations, since it’s the only compartment compatible with all three packagings at once (including the fish with real volume at STOPPOINT_1, 2, and 3).
A field-by-field breakdown of the response (activities, indicators, route times, etc.) is covered in a separate article dedicated to the Planning API’s response structure.

Full response
The full response can be seen below:
{
"id": "69dd5d8d8620796cf45f002b",
"clientId": "maplink",
"vehicleRoutes": [
{
"routes": [
{
"id": "NewRoute_1_1",
"activities": [
{
"activity": "ROUTE_START",
"timeWindow": {
"start": 1624608000000,
"end": 1624608000000
},
"type": "SITE",
"site": "DEPOT",
"operations": []
},
{
"activity": "LOADING",
"timeWindow": {
"start": 1624608000000,
"end": 1624608000000
},
"type": "SITE",
"site": "DEPOT",
"fixedTimeSite": 0,
"volume": 30.0,
"weight": 15.0,
"operations": [
"STOPPOINT_14",
"STOPPOINT_1",
"STOPPOINT_12",
"STOPPOINT_2",
"STOPPOINT_3",
"STOPPOINT_13",
"STOPPOINT_5",
"STOPPOINT_15",
"STOPPOINT_10",
"STOPPOINT_7",
"STOPPOINT_8"
],
"operationCompartments": [
{
"groupId": "STOPPOINT_14",
"compartmentSolutions": [
{
"compartment": "HYBRID",
"capacityWeightUsed": 0.001,
"capacityVolumeUsed": 0.001
}
]
},
{
"groupId": "STOPPOINT_1",
"compartmentSolutions": [
{
"compartment": "HYBRID",
"capacityWeightUsed": 5.0,
"capacityVolumeUsed": 10.0
}
]
},
{
"groupId": "STOPPOINT_12",
"compartmentSolutions": [
{
"compartment": "HYBRID",
"capacityWeightUsed": 0.001,
"capacityVolumeUsed": 0.001
}
]
},
{
"groupId": "STOPPOINT_2",
"compartmentSolutions": [
{
"compartment": "HYBRID",
"capacityWeightUsed": 5.0,
"capacityVolumeUsed": 10.0
}
]
},
{
"groupId": "STOPPOINT_3",
"compartmentSolutions": [
{
"compartment": "HYBRID",
"capacityWeightUsed": 5.0,
"capacityVolumeUsed": 10.0
}
]
},
{
"groupId": "STOPPOINT_13",
"compartmentSolutions": [
{
"compartment": "HYBRID",
"capacityWeightUsed": 0.001,
"capacityVolumeUsed": 0.001
}
]
},
{
"groupId": "STOPPOINT_5",
"compartmentSolutions": [
{
"compartment": "HYBRID",
"capacityWeightUsed": 0.001,
"capacityVolumeUsed": 0.001
}
]
},
{
"groupId": "STOPPOINT_15",
"compartmentSolutions": [
{
"compartment": "HYBRID",
"capacityWeightUsed": 0.001,
"capacityVolumeUsed": 0.001
}
]
},
{
"groupId": "STOPPOINT_10",
"compartmentSolutions": [
{
"compartment": "HYBRID",
"capacityWeightUsed": 0.001,
"capacityVolumeUsed": 0.001
}
]
},
{
"groupId": "STOPPOINT_7",
"compartmentSolutions": [
{
"compartment": "HYBRID",
"capacityWeightUsed": 0.001,
"capacityVolumeUsed": 0.001
}
]
},
{
"groupId": "STOPPOINT_8",
"compartmentSolutions": [
{
"compartment": "HYBRID",
"capacityWeightUsed": 0.001,
"capacityVolumeUsed": 0.001
}
]
}
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1624608000000,
"end": 1624657932000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "STOPPOINT_5",
"departureSite": "DEPOT",
"distance": 1120701,
"nominalDuration": 49932
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1624657932000,
"end": 1624657932000
},
"type": "SITE",
"site": "STOPPOINT_5",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"STOPPOINT_15",
"STOPPOINT_5"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1624657932000,
"end": 1624658489000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "STOPPOINT_8",
"departureSite": "STOPPOINT_5",
"distance": 5660,
"nominalDuration": 557
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1624658489000,
"end": 1624658489000
},
"type": "SITE",
"site": "STOPPOINT_8",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"STOPPOINT_8"
]
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1624658489000,
"end": 1624658489000
},
"type": "SITE",
"site": "STOPPOINT_7",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"STOPPOINT_7"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1624658489000,
"end": 1624660506000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "STOPPOINT_10",
"departureSite": "STOPPOINT_7",
"distance": 34459,
"nominalDuration": 2017
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1624660506000,
"end": 1624660506000
},
"type": "SITE",
"site": "STOPPOINT_10",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"STOPPOINT_10"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1624660506000,
"end": 1624711033000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "STOPPOINT_2",
"departureSite": "STOPPOINT_10",
"distance": 1116318,
"nominalDuration": 50527
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1624711033000,
"end": 1624711033000
},
"type": "SITE",
"site": "STOPPOINT_2",
"fixedTimeSite": 0,
"volume": 10.0,
"weight": 5.0,
"operations": [
"STOPPOINT_12",
"STOPPOINT_2"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1624711033000,
"end": 1624711941000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "STOPPOINT_3",
"departureSite": "STOPPOINT_2",
"distance": 9321,
"nominalDuration": 908
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1624711941000,
"end": 1624711941000
},
"type": "SITE",
"site": "STOPPOINT_3",
"fixedTimeSite": 0,
"volume": 10.0,
"weight": 5.0,
"operations": [
"STOPPOINT_3",
"STOPPOINT_13"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1624711941000,
"end": 1624713373000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "STOPPOINT_1",
"departureSite": "STOPPOINT_3",
"distance": 13302,
"nominalDuration": 1432
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1624713373000,
"end": 1624713373000
},
"type": "SITE",
"site": "STOPPOINT_1",
"fixedTimeSite": 0,
"volume": 10.0,
"weight": 5.0,
"operations": [
"STOPPOINT_1"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1624713373000,
"end": 1624714661000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "STOPPOINT_4",
"departureSite": "STOPPOINT_1",
"distance": 19063,
"nominalDuration": 1288
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1624714661000,
"end": 1624714661000
},
"type": "SITE",
"site": "STOPPOINT_4",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"STOPPOINT_14"
]
},
{
"activity": "ROUTE_END",
"timeWindow": {
"start": 1624714661000,
"end": 1624714661000
},
"type": "SITE",
"site": "DEPOT",
"operations": []
}
],
"compartmentConfiguration": "COMPARTMENT_HYBRID"
}
],
"vehicle": "VEHICLE_3",
"period": {
"timeWindow": {
"start": 1624608000000,
"end": 1624730400000
},
"departureSite": "DEPOT",
"arrivalSite": "DEPOT",
"maxRoutesNumber": 1
}
},
{
"routes": [
{
"id": "NewRoute_2_1",
"activities": [
{
"activity": "ROUTE_START",
"timeWindow": {
"start": 1624608000000,
"end": 1624608000000
},
"type": "SITE",
"site": "DEPOT",
"operations": []
},
{
"activity": "LOADING",
"timeWindow": {
"start": 1624608000000,
"end": 1624608000000
},
"type": "SITE",
"site": "DEPOT",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"STOPPOINT_4",
"STOPPOINT_9",
"STOPPOINT_6"
],
"operationCompartments": [
{
"groupId": "STOPPOINT_4",
"compartmentSolutions": [
{
"compartment": "REFRIGERATED",
"capacityWeightUsed": 0.001,
"capacityVolumeUsed": 0.001
}
]
},
{
"groupId": "STOPPOINT_9",
"compartmentSolutions": [
{
"compartment": "REFRIGERATED",
"capacityWeightUsed": 0.001,
"capacityVolumeUsed": 0.001
}
]
},
{
"groupId": "STOPPOINT_6",
"compartmentSolutions": [
{
"compartment": "REFRIGERATED",
"capacityWeightUsed": 0.001,
"capacityVolumeUsed": 0.001
}
]
}
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1624608000000,
"end": 1624651585000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "STOPPOINT_9",
"departureSite": "DEPOT",
"distance": 953923,
"nominalDuration": 43585
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1624651585000,
"end": 1624651585000
},
"type": "SITE",
"site": "STOPPOINT_9",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"STOPPOINT_9"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1624651585000,
"end": 1624680059000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "STOPPOINT_6",
"departureSite": "STOPPOINT_9",
"distance": 561860,
"nominalDuration": 28474
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1624680059000,
"end": 1624680059000
},
"type": "SITE",
"site": "STOPPOINT_6",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"STOPPOINT_6"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1624680059000,
"end": 1624700312000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "STOPPOINT_4",
"departureSite": "STOPPOINT_6",
"distance": 422688,
"nominalDuration": 20253
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1624700312000,
"end": 1624700312000
},
"type": "SITE",
"site": "STOPPOINT_4",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"STOPPOINT_4"
]
},
{
"activity": "ROUTE_END",
"timeWindow": {
"start": 1624700312000,
"end": 1624700312000
},
"type": "SITE",
"site": "DEPOT",
"operations": []
}
],
"compartmentConfiguration": "COMPARTMENT_REFRIGERATED"
}
],
"vehicle": "VEHICLE_1",
"period": {
"timeWindow": {
"start": 1624608000000,
"end": 1624730400000
},
"departureSite": "DEPOT",
"arrivalSite": "DEPOT",
"maxRoutesNumber": 1
}
},
{
"routes": [
{
"id": "NewRoute_3_1",
"activities": [
{
"activity": "ROUTE_START",
"timeWindow": {
"start": 1624608000000,
"end": 1624608000000
},
"type": "SITE",
"site": "DEPOT",
"operations": []
},
{
"activity": "LOADING",
"timeWindow": {
"start": 1624608000000,
"end": 1624608000000
},
"type": "SITE",
"site": "DEPOT",
"fixedTimeSite": 0,
"volume": 100.0,
"weight": 100.0,
"operations": [
"STOPPOINT_11"
],
"operationCompartments": [
{
"groupId": "STOPPOINT_11",
"compartmentSolutions": [
{
"compartment": "DRY",
"capacityWeightUsed": 100.0,
"capacityVolumeUsed": 100.0
}
]
}
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1624608000000,
"end": 1624609233000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "STOPPOINT_1",
"departureSite": "DEPOT",
"distance": 18005,
"nominalDuration": 1233
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1624609233000,
"end": 1624609233000
},
"type": "SITE",
"site": "STOPPOINT_1",
"fixedTimeSite": 0,
"volume": 100.0,
"weight": 100.0,
"operations": [
"STOPPOINT_11"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1624609233000,
"end": 1624610521000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "DEPOT",
"departureSite": "STOPPOINT_1",
"distance": 19063,
"nominalDuration": 1288
},
{
"activity": "ROUTE_END",
"timeWindow": {
"start": 1624610521000,
"end": 1624610521000
},
"type": "SITE",
"site": "DEPOT",
"operations": []
}
],
"compartmentConfiguration": "COMPARTMENT_DRY"
}
],
"vehicle": "VEHICLE_2",
"period": {
"timeWindow": {
"start": 1624608000000,
"end": 1624730400000
},
"departureSite": "DEPOT",
"arrivalSite": "DEPOT",
"maxRoutesNumber": 1
}
}
],
"indicators": {
"totalServiceTime": 0,
"totalDeliveringTime": 0,
"dayWorkingTotalTime": 136814,
"nightWorkingTotalTime": 64680,
"totalUnloadingTime": 0,
"totalWorkingTime": 201494,
"totalCollectingTime": 0,
"timeWindowNumber": 3,
"totalDrivingTime": 201494,
"totalLoadingTime": 0,
"totalTime": 201494,
"totalDistance": 4294363,
"averageOccupancyRateVolume": 43.34,
"averageOccupancyRateWeight": 38.34,
"rejectOperationsNumber": 0,
"totalWaitingTime": 0,
"totalRestTime": 0,
"routesNumber": 3
}
}



