Planning

Ejemplo 2 – Operaciones con varios vehículos

En este ejemplo, tenemos una solicitud para resolver un problema de logística para una empresa con una flota de 4 vehículos, de los cuales 2 son camiones tipo VUC y los otros 2 son camiones tipo VUC ¾, y hay 40 órdenes de servicio de entrega en la Región Metropolitana de São Paulo.

Descripción del problema

De las 40 entregas, 15 tienen una restricción temporal, es decir, el cliente sólo puede aceptar la entrega durante un periodo determinado.


25
LUGARES SIN HORARIO RESTRINGIDO

15
LUGARES CON HORARIO RESTRINGIDO

1
DEPÓSITO

2
CAMIONES VUC 3⁄4

2
CAMIONES VUC

40
PEDIDOS DE 2 KG Y 2 M³
Descripción del problema logístico

Los 40 puntos de entrega están repartidos por toda la Región Metropolitana de São Paulo, como muestra la imagen inferior:

Parámetros utilizados

  • "optimizationProfile": "BRAZIL46". – Para esta simulación se utilizó el perfil de optimización BRAZIL46. Para conocer los tipos disponibles, consulte optimizationProfile.
  • "tripsProfile": "MAPLINK" – Utilizamos el perfil con el mapa más actualizado y lo configuramos para que utilizara el modo de cálculo para usar rutas más rápidas.
  • "startDate": 1519750219000 – Hora de inicio de referencia para el cálculo de la optimización logística.
  • "legislationProfiles" – Parámetro con el nombre del perfil que se aplica al tiempo de conducción, a la duración de una jornada laboral o a la pausa. En este caso no hay características definidas.
  • "logisticConstraints" – Restricciones logísticas utilizadas para determinar el tiempo fijo de carga y descarga de la mercancía. En este ejemplo, hemos utilizado 1800 segundos (30 minutos) para el tiempo de carga del camión y 300 segundos (5 minutos) para la descarga en la entrega.
  • "products" – Nombre para referirse al producto.
  • "sites" – Lugar donde se llevarán a cabo las actividades de entrega, con definición del nombre y la restricción logística con el tiempo de entrega.
  • "depots" – Localización del centro de distribución, con definición del nombre y la restricción logística con el tiempo de carga del camión.
  • "vehicleTypes" – En este parámetro especificamos la capacidad de carga de los vehículos de la flota, como volumen y peso máximos y tamaño en un rango de 1 a 9, y el nombre del tipo.
  • "vehicles" – Se han especificado los vehículos disponibles para realizar la ruta. En este ejemplo hay cuatro vehículos, dos del tipo VUC y dos del tipo VUC 3/4. También define el periodo de trabajo y el perfil legislativo aplicable al conductor. Se ha decidido que los vehículos saldrán y volverán al Centro de Distribución y seguirán una ruta cada uno.
  • "operations" – Son las características de las operaciones de entrega, que definen la ubicación, el peso y el volumen, el producto, el tipo de actividad, el centro de distribución del que procede el producto y el momento en que el cliente lo recibirá. En este ejemplo, hay 40 operaciones, 15 de las cuales tienen una ventana horaria que sólo puede entregarse entre las 9.00 y las 11.00 horas.

Solicitud completa

La solicitud completa puede verse a continuación:

{
    "optimizationProfile": "BRAZIL46",
    "tripsProfile": "MAPLINK",
    "startDate": 1620298800000,
    "legislationProfiles": [
        {
            "name": "DEFAULT"
        }
    ],
    "logisticConstraints": [
        {
            "name": "P1Pickup",
            "siteLoadingFixedTime": 1800
        },
        {
            "name": "P1Delivery",
            "siteUnloadingFixedTime": 300
        }
    ],
    "products": [
        {
            "name": "DEFAULT"
        }
    ],
    "sites": [
        {
            "name": "Cliente1",
            "coordinates": {
                "latitude": -23.507608,
                "longitude": -46.587145
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente2",
            "coordinates": {
                "latitude": -23.621059,
                "longitude": -46.756193
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente3",
            "coordinates": {
                "latitude": -23.449350,
                "longitude": -46.588822
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente4",
            "coordinates": {
                "latitude": -23.751801,
                "longitude": -46.698468
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente5",
            "coordinates": {
                "latitude": -23.520565,
                "longitude": -46.508478
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente6",
            "coordinates": {
                "latitude": -23.506592,
                "longitude": -46.524707
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente7",
            "coordinates": {
                "latitude": -23.646993,
                "longitude": -46.779077
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente8",
            "coordinates": {
                "latitude": -23.373816,
                "longitude": -46.577770
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente9",
            "coordinates": {
                "latitude": -23.476158,
                "longitude": -46.640241
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente10",
            "coordinates": {
                "latitude": -23.761565,
                "longitude": -46.655746
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente11",
            "coordinates": {
                "latitude": -23.614576,
                "longitude": -46.663392
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente12",
            "coordinates": {
                "latitude": -23.490242,
                "longitude": -46.436922
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente13",
            "coordinates": {
                "latitude": -23.563826,
                "longitude": -46.461585
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente14",
            "coordinates": {
                "latitude": -23.667805,
                "longitude": -46.730788
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente15",
            "coordinates": {
                "latitude": -23.577714,
                "longitude": -46.516821
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente16",
            "coordinates": {
                "latitude": -23.509380,
                "longitude": -46.605748
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente17",
            "coordinates": {
                "latitude": -23.636983,
                "longitude": -46.754985
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente18",
            "coordinates": {
                "latitude": -23.555013,
                "longitude": -46.453218
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente19",
            "coordinates": {
                "latitude": -23.491309,
                "longitude": -46.473965
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente20",
            "coordinates": {
                "latitude": -23.511096,
                "longitude": -46.394369
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente21",
            "coordinates": {
                "latitude": -23.545318,
                "longitude": -46.742662
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente22",
            "coordinates": {
                "latitude": -23.775297,
                "longitude": -46.675375
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente23",
            "coordinates": {
                "latitude": -23.539712,
                "longitude": -46.414413
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente24",
            "coordinates": {
                "latitude": -23.499514,
                "longitude": -46.403638
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente25",
            "coordinates": {
                "latitude": -23.640303,
                "longitude": -46.748877
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente26",
            "coordinates": {
                "latitude": -23.566131,
                "longitude": -46.468712
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente27",
            "coordinates": {
                "latitude": -23.533705,
                "longitude": -46.610324
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente28",
            "coordinates": {
                "latitude": -23.501643,
                "longitude": -46.404227
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente29",
            "coordinates": {
                "latitude": -23.545084,
                "longitude": -46.500491
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente30",
            "coordinates": {
                "latitude": -23.503554,
                "longitude": -46.452308
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente31",
            "coordinates": {
                "latitude": -23.549323,
                "longitude": -46.398843
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente32",
            "coordinates": {
                "latitude": -23.485898,
                "longitude": -46.604788
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente33",
            "coordinates": {
                "latitude": -23.698826,
                "longitude": -46.778464
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente34",
            "coordinates": {
                "latitude": -23.598558,
                "longitude": -46.485913
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente35",
            "coordinates": {
                "latitude": -23.624197,
                "longitude": -46.607246
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente36",
            "coordinates": {
                "latitude": -23.613921,
                "longitude": -46.471401
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente37",
            "coordinates": {
                "latitude": -23.535391,
                "longitude": -46.401867
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente38",
            "coordinates": {
                "latitude": -23.536688,
                "longitude": -46.405790
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente39",
            "coordinates": {
                "latitude": -23.734260,
                "longitude": -46.745064
            },
            "logisticConstraints": "P1Delivery"
        },
        {
            "name": "Cliente40",
            "coordinates": {
                "latitude": -23.498393,
                "longitude": -46.403411
            },
            "logisticConstraints": "P1Delivery"
        }
    ],
    "depots": [
        {
            "name": "CD",
            "coordinates": {
                "latitude": -23.503939,
                "longitude": -46.498419
            },
            "logisticConstraints": "P1Pickup"
        }
    ],
    "vehicleTypes": [
        {
            "name": "VUC",
            "maxVolume": 20,
            "maxWeight": 12000,
            "size": 1
        },
        {
            "name": "3/4",
            "maxVolume": 30,
            "maxWeight": 15000,
            "size": 1
        }
    ],
    "vehicles": [
        {
            "name": "VUC_1",
            "vehicleType": "VUC",
            "legislationProfile": "DEFAULT",
            "availablePeriods": [
                {
                    "departureSite": "CD",
                    "arrivalSite": "CD",
                    "timeWindow": {
                        "start": 1620298800000,
                        "end": 1620334800000
                    },
                    "maxRoutesNumber": 1
                }
            ]
        },
        {
            "name": "VUC_2",
            "vehicleType": "VUC",
            "legislationProfile": "DEFAULT",
            "availablePeriods": [
                {
                    "departureSite": "CD",
                    "arrivalSite": "CD",
                    "timeWindow": {
                        "start": 1620298800000,
                        "end": 1620334800000
                    },
                    "maxRoutesNumber": 1
                }
            ]
        },
        {
            "name": "3/4_1",
            "vehicleType": "3/4",
            "legislationProfile": "DEFAULT",
            "availablePeriods": [
                {
                    "departureSite": "CD",
                    "arrivalSite": "CD",
                    "timeWindow": {
                        "start": 1620298800000,
                        "end": 1620334800000
                    },
                    "maxRoutesNumber": 1
                }
            ]
        },
        {
            "name": "3/4_2",
            "vehicleType": "3/4",
            "legislationProfile": "DEFAULT",
            "availablePeriods": [
                {
                    "departureSite": "CD",
                    "arrivalSite": "CD",
                    "timeWindow": {
                        "start": 1620298800000,
                        "end": 1620334800000
                    },
                    "maxRoutesNumber": 1
                }
            ]
        }
    ],
    "operations": [
        {
            "id": "P1",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente1",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620309600000
                }
            ]
        },
        {
            "id": "P2",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente2",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620309600000
                }
            ]
        },
        {
            "id": "P3",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente3",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620309600000
                }
            ]
        },
        {
            "id": "P4",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente4",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620309600000
                }
            ]
        },
        {
            "id": "P5",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente4",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620309600000
                }
            ]
        },
        {
            "id": "P6",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente6",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620309600000
                }
            ]
        },
        {
            "id": "P7",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente7",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620309600000
                }
            ]
        },
        {
            "id": "P8",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente8",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620309600000
                }
            ]
        },
        {
            "id": "P9",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente9",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620309600000
                }
            ]
        },
        {
            "id": "P10",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente10",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620309600000
                }
            ]
        },
        {
            "id": "P11",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente11",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620309600000
                }
            ]
        },
        {
            "id": "P12",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente12",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620309600000
                }
            ]
        },
        {
            "id": "P13",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente13",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620309600000
                }
            ]
        },
        {
            "id": "P14",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente14",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620309600000
                }
            ]
        },
        {
            "id": "P15",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente15",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620309600000
                }
            ]
        },
        {
            "id": "P16",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente16",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P17",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente17",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P18",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente18",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P19",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente19",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P20",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente20",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P21",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente21",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P22",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente22",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P23",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente23",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P24",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente24",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P25",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente25",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P26",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente26",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P27",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente27",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P28",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente28",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P29",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente29",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P30",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente30",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P31",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente31",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P32",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente32",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P33",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente33",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P34",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente34",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P35",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente35",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P36",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente36",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P37",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente37",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P38",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente38",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P39",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente39",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        },
        {
            "id": "P40",
            "weight": 2,
            "volume": 2,
            "product": "DEFAULT",
            "type": "DELIVERY",
            "depotSite": "CD",
            "customerSite": "Cliente40",
            "customerTimeWindows": [
                {
                    "start": 1620302400000,
                    "end": 1620331200000
                }
            ]
        }
    ]
}

Resolver el problema logístico

La respuesta de la API se devolverá en formato json con la mejor secuencia de operaciones de entrega para cada vehículo.

Un mapa muestra la secuencia de operaciones de cada vehículo:

Se devuelven los siguientes indicadores globales:

IndicadorResultados
Duración total del servicio:05:15:00
Tiempo total de entrega:03:15:00
Tiempo total de trabajo diurno:15:12:13
Tiempo total trabajado por la noche:00:00:00
Tiempo total de descarga:00:00:00
Tiempo total de trabajo:15:12:13
Tiempo total de recogida:00:00:00
Número de ventanas temporales:4
Tiempo total de conducción:09:57:13
Tiempo total de carga:02:00:00
Tiempo total:15:12:13
Distancia total:376,39 km
Índice medio de ocupación en Volumen:80
Tasa de ocupación media en pesos:0.15
Número de rechazos:0
Tiempo total de espera:00:00:00
Tiempo total de descanso:00:00:00
Número de rutas:4
Indicadores de rutas globales


La respuesta también devuelve la secuencia temporal de las actividades de cada vehículo. Este es un ejemplo de un vehículo llamado «3/4_1»:

VEÍCULOATIVIDADEID DO LOCAL DE PARTIDAID DO LOCAL DE DESTINODISTÂNCIADURAÇÃO NOMINALINÍCIO DA JANELA HORÁRIA FIM DA JANELA HORÁRIA
3/4_1ROUTE_STARTCD06/05/21 08:1006/05/21 08:10
3/4_1LOADINGCD06/05/21 08:1006/05/21 08:40
3/4_1DRIVINGCDCliente1310.40 km00:19:5706/05/21 08:4006/05/21 09:00
3/4_1DELIVERYCliente1306/05/21 09:0006/05/21 09:05
3/4_1DRIVINGCliente13Cliente157.20 km00:11:2706/05/21 09:0506/05/21 09:16
3/4_1DELIVERYCliente1506/05/21 09:1606/05/21 09:21
3/4_1DRIVINGCliente15Cliente3515.11 km00:22:2806/05/21 09:2106/05/21 09:43
3/4_1DELIVERYCliente3506/05/21 09:4306/05/21 09:48
3/4_1DRIVINGCliente35Cliente117.74 km00:12:3906/05/21 09:4806/05/21 10:01
3/4_1DELIVERYCliente1106/05/21 10:0106/05/21 10:06
3/4_1DRIVINGCliente11Cliente420.76 km00:25:5606/05/21 10:0606/05/21 10:32
3/4_1DELIVERYCliente406/05/21 10:3206/05/21 10:37
3/4_1DRIVINGCliente4Cliente224.50 km00:08:3106/05/21 10:3706/05/21 10:46
3/4_1DELIVERYCliente2206/05/21 10:4606/05/21 10:51
3/4_1DRIVINGCliente22Cliente104.62 km00:08:0206/05/21 10:5106/05/21 10:59
3/4_1DELIVERYCliente1006/05/21 10:5906/05/21 11:04
3/4_1DRIVINGCliente10Cliente3640.12 km00:57:5406/05/21 11:0406/05/21 12:01
3/4_1DELIVERYCliente3606/05/21 12:0106/05/21 12:06
3/4_1DRIVINGCliente36Cliente342.41 km00:03:5006/05/21 12:0606/05/21 12:10
3/4_1DELIVERYCliente3406/05/21 12:1006/05/21 12:15
3/4_1DRIVINGCliente34Cliente265.31 km00:08:2606/05/21 12:1506/05/21 12:24
3/4_1DELIVERYCliente2606/05/21 12:2406/05/21 12:29
3/4_1DRIVINGCliente26Cliente183.34 km00:05:3706/05/21 12:2906/05/21 12:34
3/4_1DELIVERYCliente1806/05/21 12:3406/05/21 12:39
3/4_1DRIVINGCliente18Cliente296.34 km00:11:1806/05/21 12:3906/05/21 12:51
3/4_1DELIVERYCliente2906/05/21 12:5106/05/21 12:56
3/4_1DRIVINGCliente29CD7.83 km00:17:1106/05/21 12:5606/05/21 13:13
3/4_1ROUTE_ENDCD06/05/21 13:1306/05/21 13:13
Descripción de las actividades de uno de los vehículos

Respuesta completa

A continuación encontrará la respuesta completa:

{
    "id": "60940c9dd7cb173bfb2b7798",
    "clientId": "0wfdGfgEOFpME1RcsrBj4U5yAAJjeqFG",
    "vehicleRoutes": [
        {
            "routes": [
                {
                    "id": "NewRoute_1_1",
                    "activities": [
                        {
                            "activity": "ROUTE_START",
                            "timeWindow": {
                                "start": 1620298800000,
                                "end": 1620298800000
                            },
                            "type": "SITE",
                            "site": "CD",
                            "operations": []
                        },
                        {
                            "activity": "LOADING",
                            "timeWindow": {
                                "start": 1620298800000,
                                "end": 1620300600000
                            },
                            "type": "SITE",
                            "site": "CD",
                            "fixedTimeSite": 1800,
                            "operations": [
                                "P27",
                                "P21",
                                "P2",
                                "P25",
                                "P17",
                                "P7",
                                "P14",
                                "P39",
                                "P33"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620300600000,
                                "end": 1620302812000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente21",
                            "departureSite": "CD",
                            "distance": 33052,
                            "nominalDuration": 2212
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620302812000,
                                "end": 1620303112000
                            },
                            "type": "SITE",
                            "site": "Cliente21",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P21"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620303112000,
                                "end": 1620304337000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente2",
                            "departureSite": "Cliente21",
                            "distance": 12316,
                            "nominalDuration": 1225
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620304337000,
                                "end": 1620304637000
                            },
                            "type": "SITE",
                            "site": "Cliente2",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P2"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620304637000,
                                "end": 1620305084000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente7",
                            "departureSite": "Cliente2",
                            "distance": 4765,
                            "nominalDuration": 447
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620305084000,
                                "end": 1620305384000
                            },
                            "type": "SITE",
                            "site": "Cliente7",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P7"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620305384000,
                                "end": 1620306089000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente33",
                            "departureSite": "Cliente7",
                            "distance": 7665,
                            "nominalDuration": 705
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620306089000,
                                "end": 1620306389000
                            },
                            "type": "SITE",
                            "site": "Cliente33",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P33"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620306389000,
                                "end": 1620307434000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente39",
                            "departureSite": "Cliente33",
                            "distance": 6976,
                            "nominalDuration": 1045
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620307434000,
                                "end": 1620307734000
                            },
                            "type": "SITE",
                            "site": "Cliente39",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P39"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620307734000,
                                "end": 1620309291000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente14",
                            "departureSite": "Cliente39",
                            "distance": 12795,
                            "nominalDuration": 1557
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620309291000,
                                "end": 1620309591000
                            },
                            "type": "SITE",
                            "site": "Cliente14",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P14"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620309591000,
                                "end": 1620310413000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente17",
                            "departureSite": "Cliente14",
                            "distance": 7692,
                            "nominalDuration": 822
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620310413000,
                                "end": 1620310713000
                            },
                            "type": "SITE",
                            "site": "Cliente17",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P17"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620310713000,
                                "end": 1620310963000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente25",
                            "departureSite": "Cliente17",
                            "distance": 1389,
                            "nominalDuration": 250
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620310963000,
                                "end": 1620311263000
                            },
                            "type": "SITE",
                            "site": "Cliente25",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P25"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620311263000,
                                "end": 1620313160000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente27",
                            "departureSite": "Cliente25",
                            "distance": 22947,
                            "nominalDuration": 1897
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620313160000,
                                "end": 1620313460000
                            },
                            "type": "SITE",
                            "site": "Cliente27",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P27"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620313460000,
                                "end": 1620314661000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "CD",
                            "departureSite": "Cliente27",
                            "distance": 14692,
                            "nominalDuration": 1201
                        },
                        {
                            "activity": "ROUTE_END",
                            "timeWindow": {
                                "start": 1620314661000,
                                "end": 1620314661000
                            },
                            "type": "SITE",
                            "site": "CD",
                            "operations": []
                        }
                    ],
                    "status": null,
                    "violationConstraints": null,
                    "compartmentConfiguration": null
                }
            ],
            "vehicle": "VUC_1",
            "period": {
                "timeWindow": {
                    "start": 1620298800000,
                    "end": 1620334800000
                },
                "departureSite": "CD",
                "arrivalSite": "CD",
                "maxRoutesNumber": 1,
                "maxWorkingTime": null,
                "maxDrivingTime": null
            }
        },
        {
            "routes": [
                {
                    "id": "NewRoute_2_1",
                    "activities": [
                        {
                            "activity": "ROUTE_START",
                            "timeWindow": {
                                "start": 1620299258000,
                                "end": 1620299258000
                            },
                            "type": "SITE",
                            "site": "CD",
                            "operations": []
                        },
                        {
                            "activity": "LOADING",
                            "timeWindow": {
                                "start": 1620299258000,
                                "end": 1620301058000
                            },
                            "type": "SITE",
                            "site": "CD",
                            "fixedTimeSite": 1800,
                            "operations": [
                                "P8",
                                "P9",
                                "P3",
                                "P32",
                                "P16",
                                "P1",
                                "P6"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620301058000,
                                "end": 1620302400000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente1",
                            "departureSite": "CD",
                            "distance": 13245,
                            "nominalDuration": 1342
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620302400000,
                                "end": 1620302700000
                            },
                            "type": "SITE",
                            "site": "Cliente1",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P1"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620302700000,
                                "end": 1620303044000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente16",
                            "departureSite": "Cliente1",
                            "distance": 2762,
                            "nominalDuration": 344
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620303044000,
                                "end": 1620303344000
                            },
                            "type": "SITE",
                            "site": "Cliente16",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P16"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620303344000,
                                "end": 1620303706000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente32",
                            "departureSite": "Cliente16",
                            "distance": 3817,
                            "nominalDuration": 362
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620303706000,
                                "end": 1620304006000
                            },
                            "type": "SITE",
                            "site": "Cliente32",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P32"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620304006000,
                                "end": 1620304579000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente9",
                            "departureSite": "Cliente32",
                            "distance": 5323,
                            "nominalDuration": 573
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620304579000,
                                "end": 1620304879000
                            },
                            "type": "SITE",
                            "site": "Cliente9",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P9"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620304879000,
                                "end": 1620305732000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente3",
                            "departureSite": "Cliente9",
                            "distance": 8043,
                            "nominalDuration": 853
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620305732000,
                                "end": 1620306032000
                            },
                            "type": "SITE",
                            "site": "Cliente3",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P3"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620306032000,
                                "end": 1620307407000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente8",
                            "departureSite": "Cliente3",
                            "distance": 13369,
                            "nominalDuration": 1375
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620307407000,
                                "end": 1620307707000
                            },
                            "type": "SITE",
                            "site": "Cliente8",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P8"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620307707000,
                                "end": 1620309515000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente6",
                            "departureSite": "Cliente8",
                            "distance": 24275,
                            "nominalDuration": 1808
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620309515000,
                                "end": 1620309815000
                            },
                            "type": "SITE",
                            "site": "Cliente6",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P6"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620309815000,
                                "end": 1620310124000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "CD",
                            "departureSite": "Cliente6",
                            "distance": 3075,
                            "nominalDuration": 309
                        },
                        {
                            "activity": "ROUTE_END",
                            "timeWindow": {
                                "start": 1620310124000,
                                "end": 1620310124000
                            },
                            "type": "SITE",
                            "site": "CD",
                            "operations": []
                        }
                    ],
                    "status": null,
                    "violationConstraints": null,
                    "compartmentConfiguration": null
                }
            ],
            "vehicle": "VUC_2",
            "period": {
                "timeWindow": {
                    "start": 1620298800000,
                    "end": 1620334800000
                },
                "departureSite": "CD",
                "arrivalSite": "CD",
                "maxRoutesNumber": 1,
                "maxWorkingTime": null,
                "maxDrivingTime": null
            }
        },
        {
            "routes": [
                {
                    "id": "NewRoute_3_1",
                    "activities": [
                        {
                            "activity": "ROUTE_START",
                            "timeWindow": {
                                "start": 1620299403000,
                                "end": 1620299403000
                            },
                            "type": "SITE",
                            "site": "CD",
                            "operations": []
                        },
                        {
                            "activity": "LOADING",
                            "timeWindow": {
                                "start": 1620299403000,
                                "end": 1620301203000
                            },
                            "type": "SITE",
                            "site": "CD",
                            "fixedTimeSite": 1800,
                            "operations": [
                                "P29",
                                "P18",
                                "P13",
                                "P26",
                                "P15",
                                "P34",
                                "P36",
                                "P35",
                                "P11",
                                "P4",
                                "P5",
                                "P22",
                                "P10"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620301203000,
                                "end": 1620302400000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente13",
                            "departureSite": "CD",
                            "distance": 10397,
                            "nominalDuration": 1197
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620302400000,
                                "end": 1620302700000
                            },
                            "type": "SITE",
                            "site": "Cliente13",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P13"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620302700000,
                                "end": 1620303387000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente15",
                            "departureSite": "Cliente13",
                            "distance": 7203,
                            "nominalDuration": 687
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620303387000,
                                "end": 1620303687000
                            },
                            "type": "SITE",
                            "site": "Cliente15",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P15"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620303687000,
                                "end": 1620305035000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente35",
                            "departureSite": "Cliente15",
                            "distance": 15105,
                            "nominalDuration": 1348
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620305035000,
                                "end": 1620305335000
                            },
                            "type": "SITE",
                            "site": "Cliente35",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P35"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620305335000,
                                "end": 1620306094000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente11",
                            "departureSite": "Cliente35",
                            "distance": 7741,
                            "nominalDuration": 759
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620306094000,
                                "end": 1620306394000
                            },
                            "type": "SITE",
                            "site": "Cliente11",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P11"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620306394000,
                                "end": 1620307950000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente4",
                            "departureSite": "Cliente11",
                            "distance": 20758,
                            "nominalDuration": 1556
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620307950000,
                                "end": 1620308250000
                            },
                            "type": "SITE",
                            "site": "Cliente4",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P4",
                                "P5"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620308250000,
                                "end": 1620308761000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente22",
                            "departureSite": "Cliente4",
                            "distance": 4503,
                            "nominalDuration": 511
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620308761000,
                                "end": 1620309061000
                            },
                            "type": "SITE",
                            "site": "Cliente22",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P22"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620309061000,
                                "end": 1620309543000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente10",
                            "departureSite": "Cliente22",
                            "distance": 4620,
                            "nominalDuration": 482
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620309543000,
                                "end": 1620309843000
                            },
                            "type": "SITE",
                            "site": "Cliente10",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P10"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620309843000,
                                "end": 1620313317000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente36",
                            "departureSite": "Cliente10",
                            "distance": 40124,
                            "nominalDuration": 3474
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620313317000,
                                "end": 1620313617000
                            },
                            "type": "SITE",
                            "site": "Cliente36",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P36"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620313617000,
                                "end": 1620313847000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente34",
                            "departureSite": "Cliente36",
                            "distance": 2410,
                            "nominalDuration": 230
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620313847000,
                                "end": 1620314147000
                            },
                            "type": "SITE",
                            "site": "Cliente34",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P34"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620314147000,
                                "end": 1620314653000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente26",
                            "departureSite": "Cliente34",
                            "distance": 5309,
                            "nominalDuration": 506
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620314653000,
                                "end": 1620314953000
                            },
                            "type": "SITE",
                            "site": "Cliente26",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P26"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620314953000,
                                "end": 1620315290000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente18",
                            "departureSite": "Cliente26",
                            "distance": 3341,
                            "nominalDuration": 337
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620315290000,
                                "end": 1620315590000
                            },
                            "type": "SITE",
                            "site": "Cliente18",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P18"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620315590000,
                                "end": 1620316268000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente29",
                            "departureSite": "Cliente18",
                            "distance": 6340,
                            "nominalDuration": 678
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620316268000,
                                "end": 1620316568000
                            },
                            "type": "SITE",
                            "site": "Cliente29",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P29"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620316568000,
                                "end": 1620317599000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "CD",
                            "departureSite": "Cliente29",
                            "distance": 7828,
                            "nominalDuration": 1031
                        },
                        {
                            "activity": "ROUTE_END",
                            "timeWindow": {
                                "start": 1620317599000,
                                "end": 1620317599000
                            },
                            "type": "SITE",
                            "site": "CD",
                            "operations": []
                        }
                    ],
                    "status": null,
                    "violationConstraints": null,
                    "compartmentConfiguration": null
                }
            ],
            "vehicle": "3/4_1",
            "period": {
                "timeWindow": {
                    "start": 1620298800000,
                    "end": 1620334800000
                },
                "departureSite": "CD",
                "arrivalSite": "CD",
                "maxRoutesNumber": 1,
                "maxWorkingTime": null,
                "maxDrivingTime": null
            }
        },
        {
            "routes": [
                {
                    "id": "NewRoute_4_1",
                    "activities": [
                        {
                            "activity": "ROUTE_START",
                            "timeWindow": {
                                "start": 1620300135000,
                                "end": 1620300135000
                            },
                            "type": "SITE",
                            "site": "CD",
                            "operations": []
                        },
                        {
                            "activity": "LOADING",
                            "timeWindow": {
                                "start": 1620300135000,
                                "end": 1620301935000
                            },
                            "type": "SITE",
                            "site": "CD",
                            "fixedTimeSite": 1800,
                            "operations": [
                                "P37",
                                "P31",
                                "P38",
                                "P23",
                                "P20",
                                "P28",
                                "P40",
                                "P24",
                                "P12",
                                "P30",
                                "P19"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620301935000,
                                "end": 1620302400000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente19",
                            "departureSite": "CD",
                            "distance": 3578,
                            "nominalDuration": 465
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620302400000,
                                "end": 1620302700000
                            },
                            "type": "SITE",
                            "site": "Cliente19",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P19"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620302700000,
                                "end": 1620303118000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente30",
                            "departureSite": "Cliente19",
                            "distance": 3309,
                            "nominalDuration": 418
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620303118000,
                                "end": 1620303418000
                            },
                            "type": "SITE",
                            "site": "Cliente30",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P30"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620303418000,
                                "end": 1620304318000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente23",
                            "departureSite": "Cliente30",
                            "distance": 7698,
                            "nominalDuration": 900
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620304318000,
                                "end": 1620304618000
                            },
                            "type": "SITE",
                            "site": "Cliente23",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P23"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620304618000,
                                "end": 1620304947000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente31",
                            "departureSite": "Cliente23",
                            "distance": 3110,
                            "nominalDuration": 329
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620304947000,
                                "end": 1620305247000
                            },
                            "type": "SITE",
                            "site": "Cliente31",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P31"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620305247000,
                                "end": 1620305565000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente38",
                            "departureSite": "Cliente31",
                            "distance": 3056,
                            "nominalDuration": 318
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620305565000,
                                "end": 1620305865000
                            },
                            "type": "SITE",
                            "site": "Cliente38",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P38"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620305865000,
                                "end": 1620305966000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente37",
                            "departureSite": "Cliente38",
                            "distance": 813,
                            "nominalDuration": 101
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620305966000,
                                "end": 1620306266000
                            },
                            "type": "SITE",
                            "site": "Cliente37",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P37"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620306266000,
                                "end": 1620306648000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente20",
                            "departureSite": "Cliente37",
                            "distance": 4065,
                            "nominalDuration": 382
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620306648000,
                                "end": 1620306948000
                            },
                            "type": "SITE",
                            "site": "Cliente20",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P20"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620306948000,
                                "end": 1620307240000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente28",
                            "departureSite": "Cliente20",
                            "distance": 2171,
                            "nominalDuration": 292
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620307240000,
                                "end": 1620307540000
                            },
                            "type": "SITE",
                            "site": "Cliente28",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P28"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620307540000,
                                "end": 1620307586000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente24",
                            "departureSite": "Cliente28",
                            "distance": 253,
                            "nominalDuration": 46
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620307586000,
                                "end": 1620307886000
                            },
                            "type": "SITE",
                            "site": "Cliente24",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P24"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620307886000,
                                "end": 1620307959000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente40",
                            "departureSite": "Cliente24",
                            "distance": 407,
                            "nominalDuration": 73
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620307959000,
                                "end": 1620308259000
                            },
                            "type": "SITE",
                            "site": "Cliente40",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P40"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620308259000,
                                "end": 1620308742000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "Cliente12",
                            "departureSite": "Cliente40",
                            "distance": 5094,
                            "nominalDuration": 483
                        },
                        {
                            "activity": "DELIVERY",
                            "timeWindow": {
                                "start": 1620308742000,
                                "end": 1620309042000
                            },
                            "type": "SITE",
                            "site": "Cliente12",
                            "fixedTimeSite": 300,
                            "operations": [
                                "P12"
                            ]
                        },
                        {
                            "activity": "DRIVING",
                            "timeWindow": {
                                "start": 1620309042000,
                                "end": 1620309945000
                            },
                            "type": "DRIVING",
                            "operations": [],
                            "arrivalSite": "CD",
                            "departureSite": "Cliente12",
                            "distance": 8959,
                            "nominalDuration": 903
                        },
                        {
                            "activity": "ROUTE_END",
                            "timeWindow": {
                                "start": 1620309945000,
                                "end": 1620309945000
                            },
                            "type": "SITE",
                            "site": "CD",
                            "operations": []
                        }
                    ],
                    "status": null,
                    "violationConstraints": null,
                    "compartmentConfiguration": null
                }
            ],
            "vehicle": "3/4_2",
            "period": {
                "timeWindow": {
                    "start": 1620298800000,
                    "end": 1620334800000
                },
                "departureSite": "CD",
                "arrivalSite": "CD",
                "maxRoutesNumber": 1,
                "maxWorkingTime": null,
                "maxDrivingTime": null
            }
        }
    ],
    "rejectOperations": [],
    "indicators": {
        "totalServiceTime": 18900,
        "totalDeliveringTime": 11700,
        "dayWorkingTotalTime": 54733,
        "nightWorkingTotalTime": 0,
        "totalUnloadingTime": 0,
        "totalWorkingTime": 54733,
        "totalCollectingTime": 0,
        "timeWindowNumber": 4,
        "totalDrivingTime": 35833,
        "totalLoadingTime": 7200,
        "totalTime": 54733,
        "totalDistance": 376390,
        "averageOccupancyRateVolume": 80.0,
        "averageOccupancyRateWeight": 0.15,
        "rejectOperationsNumber": 0,
        "totalWaitingTime": 0,
        "totalRestTime": 0,
        "routesNumber": 4
    }
}