{"model":{"shipments":[{"deliveries":[{"arrivalLocation":{"latitude":9.9312330000000006435811883420683443546295166015625,"longitude":76.267303999999995767211657948791980743408203125}}],"loadDemands":{"weight_kg":{"amount":50},"volume_cbm":{"amount":20}}},{"deliveries":[{"arrivalLocation":{"latitude":9.948634999999999450892573804594576358795166015625,"longitude":76.253838999999999259671312756836414337158203125}}],"loadDemands":{"weight_kg":{"amount":120},"volume_cbm":{"amount":60}}},{"deliveries":[{"arrivalLocation":{"latitude":9.95804700000000053705662139691412448883056640625,"longitude":76.31243299999999862848198972642421722412109375}}],"loadDemands":{"weight_kg":{"amount":80},"volume_cbm":{"amount":40}}},{"deliveries":[{"arrivalLocation":{"latitude":9.9750840000000007279368219315074384212493896484375,"longitude":76.2822149999999936653694021515548229217529296875}}],"loadDemands":{"weight_kg":{"amount":150},"volume_cbm":{"amount":80}}},{"deliveries":[{"arrivalLocation":{"latitude":9.9937559999999994175823303521610796451568603515625,"longitude":76.2868079999999935125742922537028789520263671875}}],"loadDemands":{"weight_kg":{"amount":200},"volume_cbm":{"amount":100}}},{"deliveries":[{"arrivalLocation":{"latitude":10.012344999999999828332875040359795093536376953125,"longitude":76.354678000000006932168616913259029388427734375}}],"loadDemands":{"weight_kg":{"amount":250},"volume_cbm":{"amount":120}}},{"deliveries":[{"arrivalLocation":{"latitude":10.041233999999999326746547012589871883392333984375,"longitude":76.4012340000000023110260372050106525421142578125}}],"loadDemands":{"weight_kg":{"amount":300},"volume_cbm":{"amount":150}}},{"deliveries":[{"arrivalLocation":{"latitude":10.061344999999999316742105293087661266326904296875,"longitude":76.4512339999999994688550941646099090576171875}}],"loadDemands":{"weight_kg":{"amount":350},"volume_cbm":{"amount":170}}},{"deliveries":[{"arrivalLocation":{"latitude":10.0812340000000002504521035007201135158538818359375,"longitude":76.5012339999999966266841511242091655731201171875}}],"loadDemands":{"weight_kg":{"amount":400},"volume_cbm":{"amount":200}}}],"vehicles":[{"startLocation":{"latitude":9.9644671999999996359065335127525031566619873046875,"longitude":76.294411800000005996480467729270458221435546875},"endLocation":{"latitude":9.9644671999999996359065335127525031566619873046875,"longitude":76.294411800000005996480467729270458221435546875},"costPerKilometer":1,"loadLimits":{"weight_kg":{"maxLoad":1100},"volume_cbm":{"maxLoad":150}}},{"startLocation":{"latitude":9.9644671999999996359065335127525031566619873046875,"longitude":76.294411800000005996480467729270458221435546875},"endLocation":{"latitude":9.9644671999999996359065335127525031566619873046875,"longitude":76.294411800000005996480467729270458221435546875},"costPerKilometer":1.5,"loadLimits":{"weight_kg":{"maxLoad":1100},"volume_cbm":{"maxLoad":150}}},{"startLocation":{"latitude":9.9644671999999996359065335127525031566619873046875,"longitude":76.294411800000005996480467729270458221435546875},"endLocation":{"latitude":9.9644671999999996359065335127525031566619873046875,"longitude":76.294411800000005996480467729270458221435546875},"costPerKilometer":2,"loadLimits":{"weight_kg":{"maxLoad":1100},"volume_cbm":{"maxLoad":150}}}],"globalStartTime":"2026-10-26T09:00:00.000Z","globalEndTime":"2026-10-26T12:00:00.000Z"}}
{
"routes": [
{
"vehicleStartTime": "2026-10-26T09:00:00Z",
"vehicleEndTime": "2026-10-26T10:02:39Z",
"visits": [
{
"shipmentIndex": 1,
"startTime": "2026-10-26T09:23:11Z",
"detour": "0s",
"loadDemands": {
"volume_cbm": {
"amount": "-60"
},
"weight_kg": {
"amount": "-120"
}
},
"visitType": "DELIVER_SHIPMENT"
},
{
"startTime": "2026-10-26T09:33:31Z",
"detour": "1054s",
"loadDemands": {
"volume_cbm": {
"amount": "-20"
},
"weight_kg": {
"amount": "-50"
}
},
"visitType": "DELIVER_SHIPMENT"
},
{
"shipmentIndex": 2,
"startTime": "2026-10-26T09:52:55Z",
"detour": "2545s",
"loadDemands": {
"weight_kg": {
"amount": "-80"
},
"volume_cbm": {
"amount": "-40"
}
},
"visitType": "DELIVER_SHIPMENT"
}
],
"transitions": [
{
"travelDuration": "1391s",
"travelDistanceMeters": 9507,
"waitDuration": "0s",
"totalDuration": "1391s",
"startTime": "2026-10-26T09:00:00Z",
"vehicleLoads": {
"volume_cbm": {
"amount": "120"
},
"weight_kg": {
"amount": "250"
}
}
},
{
"travelDuration": "620s",
"travelDistanceMeters": 3730,
"waitDuration": "0s",
"totalDuration": "620s",
"startTime": "2026-10-26T09:23:11Z",
"vehicleLoads": {
"weight_kg": {
"amount": "130"
},
"volume_cbm": {
"amount": "60"
}
}
},
{
"travelDuration": "1164s",
"travelDistanceMeters": 7171,
"waitDuration": "0s",
"totalDuration": "1164s",
"startTime": "2026-10-26T09:33:31Z",
"vehicleLoads": {
"volume_cbm": {
"amount": "40"
},
"weight_kg": {
"amount": "80"
}
}
},
{
"travelDuration": "584s",
"travelDistanceMeters": 3017,
"waitDuration": "0s",
"totalDuration": "584s",
"startTime": "2026-10-26T09:52:55Z",
"vehicleLoads": {
"weight_kg": {},
"volume_cbm": {}
}
}
],
"metrics": {
"performedShipmentCount": 3,
"travelDuration": "3759s",
"waitDuration": "0s",
"delayDuration": "0s",
"breakDuration": "0s",
"visitDuration": "0s",
"totalDuration": "3759s",
"travelDistanceMeters": 23425,
"maxLoads": {
"volume_cbm": {
"amount": "120"
},
"weight_kg": {
"amount": "250"
}
},
"performedMandatoryShipmentCount": 3
},
"routeCosts": {
"model.vehicles.cost_per_kilometer": 23.425
},
"routeTotalCost": 23.425,
"vehicleFullness": {
"maxFullness": 0.8,
"maxLoad": 0.8,
"activeSpan": 0.34805555555555556
}
},
{
"vehicleIndex": 1,
"vehicleStartTime": "2026-10-26T09:00:00Z",
"vehicleEndTime": "2026-10-26T09:28:51Z",
"visits": [
{
"shipmentIndex": 4,
"startTime": "2026-10-26T09:14:08Z",
"detour": "0s",
"loadDemands": {
"weight_kg": {
"amount": "-200"
},
"volume_cbm": {
"amount": "-100"
}
},
"visitType": "DELIVER_SHIPMENT"
}
],
"transitions": [
{
"travelDuration": "848s",
"travelDistanceMeters": 4826,
"waitDuration": "0s",
"totalDuration": "848s",
"startTime": "2026-10-26T09:00:00Z",
"vehicleLoads": {
"volume_cbm": {
"amount": "100"
},
"weight_kg": {
"amount": "200"
}
}
},
{
"travelDuration": "883s",
"travelDistanceMeters": 5019,
"waitDuration": "0s",
"totalDuration": "883s",
"startTime": "2026-10-26T09:14:08Z",
"vehicleLoads": {
"volume_cbm": {},
"weight_kg": {}
}
}
],
"metrics": {
"performedShipmentCount": 1,
"travelDuration": "1731s",
"waitDuration": "0s",
"delayDuration": "0s",
"breakDuration": "0s",
"visitDuration": "0s",
"totalDuration": "1731s",
"travelDistanceMeters": 9845,
"maxLoads": {
"volume_cbm": {
"amount": "100"
},
"weight_kg": {
"amount": "200"
}
},
"performedMandatoryShipmentCount": 1
},
"routeCosts": {
"model.vehicles.cost_per_kilometer": 14.7675
},
"routeTotalCost": 14.7675,
"vehicleFullness": {
"maxFullness": 0.66666666666666663,
"maxLoad": 0.66666666666666663,
"activeSpan": 0.16027777777777777
}
},
{
"vehicleIndex": 2,
"vehicleStartTime": "2026-10-26T09:00:00Z",
"vehicleEndTime": "2026-10-26T09:17:19Z",
"visits": [
{
"shipmentIndex": 3,
"startTime": "2026-10-26T09:08:48Z",
"detour": "0s",
"loadDemands": {
"volume_cbm": {
"amount": "-80"
},
"weight_kg": {
"amount": "-150"
}
},
"visitType": "DELIVER_SHIPMENT"
}
],
"transitions": [
{
"travelDuration": "528s",
"travelDistanceMeters": 2560,
"waitDuration": "0s",
"totalDuration": "528s",
"startTime": "2026-10-26T09:00:00Z",
"vehicleLoads": {
"weight_kg": {
"amount": "150"
},
"volume_cbm": {
"amount": "80"
}
}
},
{
"travelDuration": "511s",
"travelDistanceMeters": 2700,
"waitDuration": "0s",
"totalDuration": "511s",
"startTime": "2026-10-26T09:08:48Z",
"vehicleLoads": {
"volume_cbm": {},
"weight_kg": {}
}
}
],
"metrics": {
"performedShipmentCount": 1,
"travelDuration": "1039s",
"waitDuration": "0s",
"delayDuration": "0s",
"breakDuration": "0s",
"visitDuration": "0s",
"totalDuration": "1039s",
"travelDistanceMeters": 5260,
"maxLoads": {
"weight_kg": {
"amount": "150"
},
"volume_cbm": {
"amount": "80"
}
},
"performedMandatoryShipmentCount": 1
},
"routeCosts": {
"model.vehicles.cost_per_kilometer": 10.52
},
"routeTotalCost": 10.52,
"vehicleFullness": {
"maxFullness": 0.53333333333333333,
"maxLoad": 0.53333333333333333,
"activeSpan": 0.096203703703703708
}
}
],
"skippedShipments": [
{
"index": 5
},
{
"index": 6
},
{
"index": 8,
"reasons": [
{
"code": "DEMAND_EXCEEDS_VEHICLE_CAPACITY",
"exampleVehicleIndex": 0,
"exampleExceededCapacityType": "volume_cbm"
}
],
"estimatedIncompatibleVehicleRatio": 1
},
{
"index": 7,
"reasons": [
{
"code": "DEMAND_EXCEEDS_VEHICLE_CAPACITY",
"exampleVehicleIndex": 0,
"exampleExceededCapacityType": "volume_cbm"
}
],
"estimatedIncompatibleVehicleRatio": 1
}
],
"metrics": {
"aggregatedRouteMetrics": {
"performedShipmentCount": 5,
"travelDuration": "6529s",
"waitDuration": "0s",
"delayDuration": "0s",
"breakDuration": "0s",
"visitDuration": "0s",
"totalDuration": "6529s",
"travelDistanceMeters": 38530,
"maxLoads": {
"volume_cbm": {
"amount": "120"
},
"weight_kg": {
"amount": "250"
}
},
"performedMandatoryShipmentCount": 5
},
"skippedMandatoryShipmentCount": 4,
"usedVehicleCount": 3,
"earliestVehicleStartTime": "2026-10-26T09:00:00Z",
"latestVehicleEndTime": "2026-10-26T10:02:39Z",
"totalCost": 48.712500000000006,
"costs": {
"model.vehicles.cost_per_kilometer": 48.712500000000006
}
}
}
Array
(
[consolidatedData] => Array
(
[0] => Array
(
[vehicleStartTime] => 2026-10-26T09:00:00Z
[vehicleEndTime] => 2026-10-26T10:02:39Z
[visits] => Array
(
[0] => Array
(
[shipmentIndex] => 1
[startTime] => 2026-10-26T09:23:11Z
[detour] => 0s
[loadDemands] => Array
(
[volume_cbm] => Array
(
[amount] => -60
)
[weight_kg] => Array
(
[amount] => -120
)
)
[visitType] => DELIVER_SHIPMENT
)
[1] => Array
(
[startTime] => 2026-10-26T09:33:31Z
[detour] => 1054s
[loadDemands] => Array
(
[volume_cbm] => Array
(
[amount] => -20
)
[weight_kg] => Array
(
[amount] => -50
)
)
[visitType] => DELIVER_SHIPMENT
)
[2] => Array
(
[shipmentIndex] => 2
[startTime] => 2026-10-26T09:52:55Z
[detour] => 2545s
[loadDemands] => Array
(
[weight_kg] => Array
(
[amount] => -80
)
[volume_cbm] => Array
(
[amount] => -40
)
)
[visitType] => DELIVER_SHIPMENT
)
)
[totalWeightKg] => -250
[totalVolumeCbm] => -120
[vehicleWeight] => 1100
[vehicleVolume] => 150
[weightPercentage] => -22.727272727273
[volumePercentage] => -80
)
[1] => Array
(
[vehicleStartTime] => 2026-10-26T09:00:00Z
[vehicleEndTime] => 2026-10-26T09:28:51Z
[visits] => Array
(
[0] => Array
(
[shipmentIndex] => 4
[startTime] => 2026-10-26T09:14:08Z
[detour] => 0s
[loadDemands] => Array
(
[weight_kg] => Array
(
[amount] => -200
)
[volume_cbm] => Array
(
[amount] => -100
)
)
[visitType] => DELIVER_SHIPMENT
)
)
[totalWeightKg] => -200
[totalVolumeCbm] => -100
[vehicleWeight] => 1100
[vehicleVolume] => 150
[weightPercentage] => -18.181818181818
[volumePercentage] => -66.666666666667
)
[2] => Array
(
[vehicleStartTime] => 2026-10-26T09:00:00Z
[vehicleEndTime] => 2026-10-26T09:17:19Z
[visits] => Array
(
[0] => Array
(
[shipmentIndex] => 3
[startTime] => 2026-10-26T09:08:48Z
[detour] => 0s
[loadDemands] => Array
(
[volume_cbm] => Array
(
[amount] => -80
)
[weight_kg] => Array
(
[amount] => -150
)
)
[visitType] => DELIVER_SHIPMENT
)
)
[totalWeightKg] => -150
[totalVolumeCbm] => -80
[vehicleWeight] => 1100
[vehicleVolume] => 150
[weightPercentage] => -13.636363636364
[volumePercentage] => -53.333333333333
)
)
[unassignedOrders] => Array
(
[0] => Array
(
[deliveries] => Array
(
[0] => Array
(
[arrivalLocation] => Array
(
[latitude] => 10.012345
[longitude] => 76.354678
)
)
)
[loadDemands] => Array
(
[weight_kg] => Array
(
[amount] => 250
)
[volume_cbm] => Array
(
[amount] => 120
)
)
)
[1] => Array
(
[deliveries] => Array
(
[0] => Array
(
[arrivalLocation] => Array
(
[latitude] => 10.041234
[longitude] => 76.401234
)
)
)
[loadDemands] => Array
(
[weight_kg] => Array
(
[amount] => 300
)
[volume_cbm] => Array
(
[amount] => 150
)
)
)
[2] => Array
(
[deliveries] => Array
(
[0] => Array
(
[arrivalLocation] => Array
(
[latitude] => 10.081234
[longitude] => 76.501234
)
)
)
[loadDemands] => Array
(
[weight_kg] => Array
(
[amount] => 400
)
[volume_cbm] => Array
(
[amount] => 200
)
)
)
[3] => Array
(
[deliveries] => Array
(
[0] => Array
(
[arrivalLocation] => Array
(
[latitude] => 10.061345
[longitude] => 76.451234
)
)
)
[loadDemands] => Array
(
[weight_kg] => Array
(
[amount] => 350
)
[volume_cbm] => Array
(
[amount] => 170
)
)
)
)
)