Planning

Exemplo 4 – Cargas separadas por tipo de veículo

Neste exemplo, temos uma requisição para resolver um problema logístico de uma empresa que utiliza veículos especializados para diferentes tipos de carga: congelados, resfriados e secos.

3 veículos disponíveis — um para refrigerados (capaz de transportar cargas congeladas e resfriadas), um para cargas secas e um híbrido (capaz de transportar todos os tipos).

Ao todo, existem 15 operações de entrega, com produtos atribuídos a grupos específicos, garantindo que cada veículo transporte apenas cargas compatíveis.

Descrição do problema

As entregas envolvem produtos como peixe (congelado), leite (resfriado) e soja (seco). Os veículos são configurados com compartimentos que restringem os grupos permitidos, simulando cenários reais da logística de alimentos perecíveis, em que temperatura e tipo de carga são fatores críticos.

Não há janelas de horário restritas para as entregas; no entanto, o planejamento busca otimizar as distâncias percorridas e a utilização da capacidade dos veículos.


15
OPERAÇÕES DE ENTREGA

1
DEPÓSITO

3
VEÍCULOS ESPECIALIZADOS (REFRIGERADO, SECO, HÍBRIDO)

15
TIPOS DE PRODUTOS (CONGELADO, RESFRIADO, SECO)
Descrição do problema logístico

Os pontos de entrega estão distribuídos em diferentes localidades, e a otimização atribui cargas compatíveis a cada veículo: o refrigerado transporta leite e, quando necessário, também peixe; o veículo para cargas secas transporta soja; e o veículo híbrido atende às demais entregas.

Essa abordagem evita contaminação cruzada ou violações de temperatura, situações comuns em cadeias de suprimento de alimentos.

Parâmetros utilizados

  • "optimizationProfile": "BRAZIL46" – Para essa simulação, foi usado o perfil de otimização BRAZIL46. Para os tipos disponíveis, verifique em optimizationProfile.
  • "tripsProfile": "MAPLINKBR" – Utilizamos o perfil MAPLINKBR por se tratar de uma rota localizada apenas no Brasil.
  • "startDate": 1624608000000 –  Horário de início de referência para o cálculo da otimização logística.
  • "legislationProfiles" – Parâmetro com o nome do perfil que se aplica ao tempo de direção, duração de um dia de trabalho ou intervalo. Neste exemplo não há nenhuma característica definida.
  • "logisticConstraints" – Restrições logísticas usadas para determinar o tempo fixo de carregamento e descarregamento da carga. Neste exemplo não há nenhuma característica definida.
  • "products" – Produtos a serem utilizados no problema logístico e seus respectivos grupos. Nesse exemplo os seguintes produtos serão definidos: peixe (grupo CONGELADOS), leite (grupo RESFRIADOS), soja (grupo SECOS).
  • "sites" – Localização onde ocorrerão as atividades de entregas, com definição do nome e a restrição logística com o tempo de entrega.
  • "depots" – Localização do centro de distribuição, com definição do nome e a restrição logística com o tempo de carregamento do caminhão.
  • "vehicleTypes" – Neste parâmetro especificamos a capacidade de carga dos veículos da frota, como volume e peso máximos, tamanh e o nome da tipologia. Neste exemplo também vamos definir os compartimentos de cada tipo de veículos, quer serão: REFRIGERADO (permite produtos CONGELADOS/RESFRIADOS), SECO (apenas produtos SECOS), HIBRIDO (todos).
  • "vehicles" – Veículos disponíveis para executar a rota. No exemplo, há 3 veículos, cada um atribuído a um tipo específico de carga, cada um disponíveis para operação durante um dia.
  • "operations" –  São as características das operações de entregas, definindo o local, peso e volume, produto, tipo de atividade, centro de distribuição da origem do produto e o horário que o cliente irá receber. No exemplo serão 15 entregas com produtos e quantidades específicas.

Requisição completa

A requisição completa pode ser conferida abaixo:

{
    "optimizationProfile": "BRAZIL46",
    "tripsProfile": "MAPLINKBR",
    "startDate": 1624608000000,
    "legislationProfiles": [
        {
            "name": "DEFAULT"
        }
    ],
    "logisticConstraints": [
        {
            "name": "TEST",
            "siteUnloadingFixedTime": 0,
            "unloadingPositionInRoute": "INDIFFERENT"
        }
    ],
    "products": [
        {
            "name": "PEIXE",
            "packagings": [
                "CONGELADOS"
            ]
        },
        {
            "name": "LEITE",
            "packagings": [
                "RESFRIADOS"
            ]
        },
        {
            "name": "SOJA",
            "packagings": [
                "SECOS"
            ]
        }
    ],
    "sites": [
        {
            "name": "STOPPOINT_1",
            "coordinates": {
                "latitude": -23.524322,
                "longitude": -46.706273
            },
            "logisticConstraints": "TEST"
        },
        {
            "name": "STOPPOINT_2",
            "coordinates": {
                "latitude": -23.623525,
                "longitude": -46.703297
            },
            "logisticConstraints": "TEST"
        },
        {
            "name": "STOPPOINT_3",
            "coordinates": {
                "latitude": -23.588551,
                "longitude": -46.646401
            },
            "logisticConstraints": "TEST"
        },
        {
            "name": "STOPPOINT_4",
            "coordinates": {
                "latitude": -23.504494,
                "longitude": -46.857385
            },
            "logisticConstraints": "TEST"
        },
        {
            "name": "STOPPOINT_5",
            "coordinates": {
                "latitude": -29.823819,
                "longitude": -51.14773
            },
            "logisticConstraints": "TEST"
        },
        {
            "name": "STOPPOINT_6",
            "coordinates": {
                "latitude": -25.556829,
                "longitude": -49.348827
            },
            "logisticConstraints": "TEST"
        },
        {
            "name": "STOPPOINT_7",
            "coordinates": {
                "latitude": -29.827506,
                "longitude": -51.172703
            },
            "logisticConstraints": "TEST"
        },
        {
            "name": "STOPPOINT_8",
            "coordinates": {
                "latitude": -29.827506,
                "longitude": -51.172703
            },
            "logisticConstraints": "TEST"
        },
        {
            "name": "STOPPOINT_9",
            "coordinates": {
                "latitude": -25.242227,
                "longitude": -53.981779
            },
            "logisticConstraints": "TEST"
        },
        {
            "name": "STOPPOINT_10",
            "coordinates": {
                "latitude": -29.638353,
                "longitude": -51.004301
            },
            "logisticConstraints": "TEST"
        }
    ],
    "depots": [
        {
            "name": "DEPOT",
            "coordinates": {
                "latitude": -23.504494,
                "longitude": -46.857385
            },
            "logisticConstraints": "TEST"
        }
    ],
    "vehicleTypes": [
        {
            "name": "REFRIGERADO",
            "maxVolume": 100,
            "maxWeight": 100,
            "size": 10,
            "compartmentsAccessMode": "REAR_ACCESS",
            "compartmentConfigurations": [
                {
                    "name": "COMPARTIMENTO_REFRIGERADO",
                    "compartments": [
                        {
                            "name": "REFRIGERADO",
                            "type": "FIXED",
                            "maximumCapacity": 1000,
                            "loadingRule": "NONE",
                            "allowedPackagings": [
                                "CONGELADOS",
                                "RESFRIADOS"
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "SECO",
            "maxVolume": 100,
            "maxWeight": 100,
            "size": 10,
            "compartmentsAccessMode": "REAR_ACCESS",
            "compartmentConfigurations": [
                {
                    "name": "COMPARTIMENTO_SECO",
                    "compartments": [
                        {
                            "name": "SECO",
                            "type": "FIXED",
                            "maximumCapacity": 1000,
                            "loadingRule": "NONE",
                            "allowedPackagings": [
                                "SECOS"
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "HIBRIDO",
            "maxVolume": 100,
            "maxWeight": 100,
            "size": 10,
            "compartmentsAccessMode": "REAR_ACCESS",
            "compartmentConfigurations": [
                {
                    "name": "COMPARTIMENTO_HIBRIDO",
                    "compartments": [
                        {
                            "name": "HIBRIDO",
                            "type": "FIXED",
                            "maximumCapacity": 1000,
                            "loadingRule": "NONE",
                            "allowedPackagings": [
                                "CONGELADOS",
                                "RESFRIADOS",
                                "SECOS"
                            ]
                        }
                    ]
                }
            ]
        }
    ],
    "vehicles": [
        {
            "name": "VEHICLE_1",
            "vehicleType": "REFRIGERADO",
            "legislationProfile": "DEFAULT",
            "availablePeriods": [
                {
                    "departureSite": "DEPOT",
                    "arrivalSite": "DEPOT",
                    "timeWindow": {
                        "start": 1624608000000,
                        "end": 1624730400000
                    },
                    "maxRoutesNumber": 1
                }
            ]
        },
        {
            "name": "VEHICLE_2",
            "vehicleType": "SECO",
            "legislationProfile": "DEFAULT",
            "availablePeriods": [
                {
                    "departureSite": "DEPOT",
                    "arrivalSite": "DEPOT",
                    "timeWindow": {
                        "start": 1624608000000,
                        "end": 1624730400000
                    },
                    "maxRoutesNumber": 1
                }
            ]
        },
        {
            "name": "VEHICLE_3",
            "vehicleType": "HIBRIDO",
            "legislationProfile": "DEFAULT",
            "availablePeriods": [
                {
                    "departureSite": "DEPOT",
                    "arrivalSite": "DEPOT",
                    "timeWindow": {
                        "start": 1624608000000,
                        "end": 1624730400000
                    },
                    "maxRoutesNumber": 1
                }
            ]
        }
    ],
    "operations": [
        {
            "id": "STOPPOINT_1",
            "priority": 0,
            "volume": 10,
            "weight": 5,
            "product": "PEIXE",
            "type": "DELIVERY",
            "depotSite": "DEPOT",
            "customerSite": "STOPPOINT_1",
            "customerTimeWindows": [
                {
                    "start": 1624608000000,
                    "end": 1624730400000
                }
            ]
        },
        {
            "id": "STOPPOINT_2",
            "priority": 0,
            "volume": 10,
            "weight": 5,
            "product": "PEIXE",
            "type": "DELIVERY",
            "depotSite": "DEPOT",
            "customerSite": "STOPPOINT_2",
            "customerTimeWindows": [
                {
                    "start": 1624608000000,
                    "end": 1624730400000
                }
            ]
        },
        {
            "id": "STOPPOINT_3",
            "priority": 0,
            "volume": 10,
            "weight": 5,
            "product": "PEIXE",
            "type": "DELIVERY",
            "depotSite": "DEPOT",
            "customerSite": "STOPPOINT_3",
            "customerTimeWindows": [
                {
                    "start": 1624608000000,
                    "end": 1624730400000
                }
            ]
        },
        {
            "id": "STOPPOINT_4",
            "priority": 0,
            "volume": 0,
            "weight": 0,
            "product": "PEIXE",
            "type": "DELIVERY",
            "depotSite": "DEPOT",
            "customerSite": "STOPPOINT_4",
            "customerTimeWindows": [
                {
                    "start": 1624608000000,
                    "end": 1624730400000
                }
            ]
        },
        {
            "id": "STOPPOINT_5",
            "priority": 0,
            "volume": 0,
            "weight": 0,
            "product": "PEIXE",
            "type": "DELIVERY",
            "depotSite": "DEPOT",
            "customerSite": "STOPPOINT_5",
            "customerTimeWindows": [
                {
                    "start": 1624608000000,
                    "end": 1624730400000
                }
            ]
        },
        {
            "id": "STOPPOINT_6",
            "priority": 0,
            "volume": 0,
            "weight": 0,
            "product": "LEITE",
            "type": "DELIVERY",
            "depotSite": "DEPOT",
            "customerSite": "STOPPOINT_6",
            "customerTimeWindows": [
                {
                    "start": 1624608000000,
                    "end": 1624730400000
                }
            ]
        },
        {
            "id": "STOPPOINT_7",
            "priority": 0,
            "volume": 0,
            "weight": 0,
            "product": "LEITE",
            "type": "DELIVERY",
            "depotSite": "DEPOT",
            "customerSite": "STOPPOINT_7",
            "customerTimeWindows": [
                {
                    "start": 1624608000000,
                    "end": 1624730400000
                }
            ]
        },
        {
            "id": "STOPPOINT_8",
            "priority": 0,
            "volume": 0,
            "weight": 0,
            "product": "LEITE",
            "type": "DELIVERY",
            "depotSite": "DEPOT",
            "customerSite": "STOPPOINT_8",
            "customerTimeWindows": [
                {
                    "start": 1624608000000,
                    "end": 1624730400000
                }
            ]
        },
        {
            "id": "STOPPOINT_9",
            "priority": 0,
            "volume": 0,
            "weight": 0,
            "product": "LEITE",
            "type": "DELIVERY",
            "depotSite": "DEPOT",
            "customerSite": "STOPPOINT_9",
            "customerTimeWindows": [
                {
                    "start": 1624608000000,
                    "end": 1624730400000
                }
            ]
        },
        {
            "id": "STOPPOINT_10",
            "priority": 0,
            "volume": 0,
            "weight": 0,
            "product": "LEITE",
            "type": "DELIVERY",
            "depotSite": "DEPOT",
            "customerSite": "STOPPOINT_10",
            "customerTimeWindows": [
                {
                    "start": 1624608000000,
                    "end": 1624730400000
                }
            ]
        },
        {
            "id": "STOPPOINT_11",
            "priority": 0,
            "volume": 100,
            "weight": 100,
            "product": "SOJA",
            "type": "DELIVERY",
            "depotSite": "DEPOT",
            "customerSite": "STOPPOINT_1",
            "customerTimeWindows": [
                {
                    "start": 1624608000000,
                    "end": 1624730400000
                }
            ]
        },
        {
            "id": "STOPPOINT_12",
            "priority": 0,
            "volume": 0,
            "weight": 0,
            "product": "SOJA",
            "type": "DELIVERY",
            "depotSite": "DEPOT",
            "customerSite": "STOPPOINT_2",
            "customerTimeWindows": [
                {
                    "start": 1624608000000,
                    "end": 1624730400000
                }
            ]
        },
        {
            "id": "STOPPOINT_13",
            "priority": 0,
            "volume": 0,
            "weight": 0,
            "product": "SOJA",
            "type": "DELIVERY",
            "depotSite": "DEPOT",
            "customerSite": "STOPPOINT_3",
            "customerTimeWindows": [
                {
                    "start": 1624608000000,
                    "end": 1624730400000
                }
            ]
        },
        {
            "id": "STOPPOINT_14",
            "priority": 0,
            "volume": 0,
            "weight": 0,
            "product": "SOJA",
            "type": "DELIVERY",
            "depotSite": "DEPOT",
            "customerSite": "STOPPOINT_4",
            "customerTimeWindows": [
                {
                    "start": 1624608000000,
                    "end": 1624730400000
                }
            ]
        },
        {
            "id": "STOPPOINT_15",
            "priority": 0,
            "volume": 0,
            "weight": 0,
            "product": "SOJA",
            "type": "DELIVERY",
            "depotSite": "DEPOT",
            "customerSite": "STOPPOINT_5",
            "customerTimeWindows": [
                {
                    "start": 1624608000000,
                    "end": 1624730400000
                }
            ]
        }
    ]
}

Solução do problema logístico

A resposta da API será retornada no formato JSON, contendo o melhor sequenciamento das operações para cada veículo, respeitando as restrições de packagings e de compartimentos.

Os seguintes indicadores globais são retornados:

IndicadorResultado
Tempo total de trabalho diurno:37:40:42
Tempo total de trabalho noturno:17:58:00
Tempo total de trabalho:55:38:42
Número de janelas de horário:3
Tempo total de condução:55:38:42
Tempo total:55:38:42
Distância total:4318.63 km
Taxa de ocupação média em Volume:43.34
Taxa de ocupação média em Peso:38.34
Número de rotas:3
Indicadores globais da rota
VEÍCULOATIVIDADEID DO LOCAL DE PARTIDAID DO LOCAL DE DESTINODISTÂNCIADURAÇÃO NOMINALINÍCIO DA JANELA HORÁRIAFIM DA JANELA HORÁRIA
VEHICLE_3ROUTE_STARTDEPOT28/06/2021 00:0028/06/2021 00:00
VEHICLE_3LOADINGDEPOT28/06/2021 00:0028/06/2021 00:00
VEHICLE_3DELIVERYSTOPPOINT_428/06/2021 00:0028/06/2021 00:00
VEHICLE_3DRIVINGSTOPPOINT_4STOPPOINT_117.91 km00:19:5428/06/2021 00:0028/06/2021 00:19:54
VEHICLE_3DELIVERYSTOPPOINT_128/06/2021 00:19:5428/06/2021 00:19:54
VEHICLE_3DRIVINGSTOPPOINT_1STOPPOINT_312.73 km00:21:2828/06/2021 00:19:5428/06/2021 00:41:22
VEHICLE_3DELIVERYSTOPPOINT_328/06/2021 00:41:2228/06/2021 00:41:22
VEHICLE_3DRIVINGSTOPPOINT_3STOPPOINT_210.24 km00:16:5528/06/2021 00:41:2228/06/2021 00:58:17
VEHICLE_3DELIVERYSTOPPOINT_228/06/2021 00:58:1728/06/2021 00:58:17
VEHICLE_3DRIVINGSTOPPOINT_2STOPPOINT_101119.03 km14:14:4228/06/2021 00:58:1728/06/2021 15:12:59
VEHICLE_3DELIVERYSTOPPOINT_1028/06/2021 15:12:5928/06/2021 15:12:59
VEHICLE_3DRIVINGSTOPPOINT_10STOPPOINT_740.14 km00:39:4928/06/2021 15:12:5928/06/2021 15:52:48
VEHICLE_3DELIVERYSTOPPOINT_728/06/2021 15:52:4828/06/2021 15:52:48
VEHICLE_3DELIVERYSTOPPOINT_828/06/2021 15:52:4828/06/2021 15:52:48
VEHICLE_3DRIVINGSTOPPOINT_8STOPPOINT_54.11 km00:06:1328/06/2021 15:52:4828/06/2021 15:59:01
VEHICLE_3DELIVERYSTOPPOINT_528/06/2021 15:59:0128/06/2021 15:59:01
VEHICLE_3DRIVINGSTOPPOINT_5DEPOT1120.29 km13:36:0028/06/2021 15:59:0129/06/2021 05:35:01
VEHICLE_3ROUTE_ENDDEPOT29/06/2021 05:35:0129/06/2021 05:35:01
Descrição das atividades de um dos veículos

Descrição das atividades de um dos veículos

No exemplo, o VEHICLE_1 (refrigerado) transporta apenas leite (STOPPOINT_6 e STOPPOINT_9). O VEHICLE_2 (seco) transporta soja (STOPPOINT_11). Já o VEHICLE_3 (híbrido) lida com combinações de cargas, como peixe, leite e soja, nas demais entregas.

As atividades incluem carregamento no depósito (LOADING) e entregas sequenciais (DELIVERY), com deslocamentos entre os pontos (DRIVING).

Resposta completa

A resposta completa pode ser conferida abaixo:

{
  "id": "60d649338f3a352047cee330",
  "clientId": "0wfdGfgEOFpME1RcsrBj4U5yAAJjeqFG",
  "vehicleRoutes": [
    {
      "routes": [
        {
          "id": "NewRoute_1_1",
          "activities": [
            {
              "activity": "ROUTE_START",
              "timeWindow": {
                "start": 1624608000000,
                "end": 1624608000000
              },
              "type": "SITE",
              "site": "DEPOT",
              "operations": []
            },
            {
              "activity": "LOADING",
              "timeWindow": {
                "start": 1624608000000,
                "end": 1624608000000
              },
              "type": "SITE",
              "site": "DEPOT",
              "fixedTimeSite": 0,
              "operations": [
                "STOPPOINT_14",
                "STOPPOINT_4",
                "STOPPOINT_1",
                "STOPPOINT_13",
                "STOPPOINT_3",
                "STOPPOINT_2",
                "STOPPOINT_12",
                "STOPPOINT_10",
                "STOPPOINT_7",
                "STOPPOINT_8",
                "STOPPOINT_5",
                "STOPPOINT_15"
              ],
              "operationCompartments": {
                "STOPPOINT_7": [
                  {
                    "compartment": "HIBRIDO",
                    "capacityUsed": 1.0
                  }
                ],
                "STOPPOINT_8": [
                  {
                    "compartment": "HIBRIDO",
                    "capacityUsed": 1.0
                  }
                ],
                "STOPPOINT_5": [
                  {
                    "compartment": "HIBRIDO",
                    "capacityUsed": 1.0
                  }
                ],
                "STOPPOINT_3": [
                  {
                    "compartment": "HIBRIDO",
                    "capacityUsed": 10000.0
                  }
                ],
                "STOPPOINT_4": [
                  {
                    "compartment": "HIBRIDO",
                    "capacityUsed": 1.0
                  }
                ],
                "STOPPOINT_1": [
                  {
                    "compartment": "HIBRIDO",
                    "capacityUsed": 10000.0
                  }
                ],
                "STOPPOINT_2": [
                  {
                    "compartment": "HIBRIDO",
                    "capacityUsed": 10000.0
                  }
                ],
                "STOPPOINT_14": [
                  {
                    "compartment": "HIBRIDO",
                    "capacityUsed": 1.0
                  }
                ],
                "STOPPOINT_15": [
                  {
                    "compartment": "HIBRIDO",
                    "capacityUsed": 1.0
                  }
                ],
                "STOPPOINT_12": [
                  {
                    "compartment": "HIBRIDO",
                    "capacityUsed": 1.0
                  }
                ],
                "STOPPOINT_13": [
                  {
                    "compartment": "HIBRIDO",
                    "capacityUsed": 1.0
                  }
                ],
                "STOPPOINT_10": [
                  {
                    "compartment": "HIBRIDO",
                    "capacityUsed": 1.0
                  }
                ]
              }
            },
            {
              "activity": "DELIVERY",
              "timeWindow": {
                "start": 1624608000000,
                "end": 1624608000000
              },
              "type": "SITE",
              "site": "STOPPOINT_4",
              "fixedTimeSite": 0,
              "operations": [
                "STOPPOINT_14",
                "STOPPOINT_4"
              ]
            },
            {
              "activity": "DRIVING",
              "timeWindow": {
                "start": 1624608000000,
                "end": 1624609194000
              },
              "type": "DRIVING",
              "operations": [],
              "arrivalSite": "STOPPOINT_1",
              "departureSite": "STOPPOINT_4",
              "distance": 17911,
              "nominalDuration": 1194
            },
            {
              "activity": "DELIVERY",
              "timeWindow": {
                "start": 1624609194000,
                "end": 1624609194000
              },
              "type": "SITE",
              "site": "STOPPOINT_1",
              "fixedTimeSite": 0,
              "operations": [
                "STOPPOINT_1"
              ]
            },
            {
              "activity": "DRIVING",
              "timeWindow": {
                "start": 1624609194000,
                "end": 1624610482000
              },
              "type": "DRIVING",
              "operations": [],
              "arrivalSite": "STOPPOINT_3",
              "departureSite": "STOPPOINT_1",
              "distance": 12726,
              "nominalDuration": 1288
            },
            {
              "activity": "DELIVERY",
              "timeWindow": {
                "start": 1624610482000,
                "end": 1624610482000
              },
              "type": "SITE",
              "site": "STOPPOINT_3",
              "fixedTimeSite": 0,
              "operations": [
                "STOPPOINT_13",
                "STOPPOINT_3"
              ]
            },
            {
              "activity": "DRIVING",
              "timeWindow": {
                "start": 1624610482000,
                "end": 1624611497000
              },
              "type": "DRIVING",
              "operations": [],
              "arrivalSite": "STOPPOINT_2",
              "departureSite": "STOPPOINT_3",
              "distance": 10235,
              "nominalDuration": 1015
            },
            {
              "activity": "DELIVERY",
              "timeWindow": {
                "start": 1624611497000,
                "end": 1624611497000
              },
              "type": "SITE",
              "site": "STOPPOINT_2",
              "fixedTimeSite": 0,
              "operations": [
                "STOPPOINT_2",
                "STOPPOINT_12"
              ]
            },
            {
              "activity": "DRIVING",
              "timeWindow": {
                "start": 1624611497000,
                "end": 1624662779000
              },
              "type": "DRIVING",
              "operations": [],
              "arrivalSite": "STOPPOINT_10",
              "departureSite": "STOPPOINT_2",
              "distance": 1119034,
              "nominalDuration": 51282
            },
            {
              "activity": "DELIVERY",
              "timeWindow": {
                "start": 1624662779000,
                "end": 1624662779000
              },
              "type": "SITE",
              "site": "STOPPOINT_10",
              "fixedTimeSite": 0,
              "operations": [
                "STOPPOINT_10"
              ]
            },
            {
              "activity": "DRIVING",
              "timeWindow": {
                "start": 1624662779000,
                "end": 1624665168000
              },
              "type": "DRIVING",
              "operations": [],
              "arrivalSite": "STOPPOINT_7",
              "departureSite": "STOPPOINT_10",
              "distance": 40144,
              "nominalDuration": 2389
            },
            {
              "activity": "DELIVERY",
              "timeWindow": {
                "start": 1624665168000,
                "end": 1624665168000
              },
              "type": "SITE",
              "site": "STOPPOINT_7",
              "fixedTimeSite": 0,
              "operations": [
                "STOPPOINT_7"
              ]
            },
            {
              "activity": "DELIVERY",
              "timeWindow": {
                "start": 1624665168000,
                "end": 1624665168000
              },
              "type": "SITE",
              "site": "STOPPOINT_8",
              "fixedTimeSite": 0,
              "operations": [
                "STOPPOINT_8"
              ]
            },
            {
              "activity": "DRIVING",
              "timeWindow": {
                "start": 1624665168000,
                "end": 1624665541000
              },
              "type": "DRIVING",
              "operations": [],
              "arrivalSite": "STOPPOINT_5",
              "departureSite": "STOPPOINT_8",
              "distance": 4108,
              "nominalDuration": 373
            },
            {
              "activity": "DELIVERY",
              "timeWindow": {
                "start": 1624665541000,
                "end": 1624665541000
              },
              "type": "SITE",
              "site": "STOPPOINT_5",
              "fixedTimeSite": 0,
              "operations": [
                "STOPPOINT_5",
                "STOPPOINT_15"
              ]
            },
            {
              "activity": "DRIVING",
              "timeWindow": {
                "start": 1624665541000,
                "end": 1624714501000
              },
              "type": "DRIVING",
              "operations": [],
              "arrivalSite": "DEPOT",
              "departureSite": "STOPPOINT_5",
              "distance": 1120285,
              "nominalDuration": 48960
            },
            {
              "activity": "ROUTE_END",
              "timeWindow": {
                "start": 1624714501000,
                "end": 1624714501000
              },
              "type": "SITE",
              "site": "DEPOT",
              "operations": []
            }
          ],
          "status": null,
          "violationConstraints": null,
          "compartmentConfiguration": "COMPARTIMENTO_HIBRIDO"
        }
      ],
      "vehicle": "VEHICLE_3",
      "period": {
        "timeWindow": {
          "start": 1624608000000,
          "end": 1624730400000
        },
        "departureSite": "DEPOT",
        "arrivalSite": "DEPOT",
        "maxRoutesNumber": 1,
        "maxWorkingTime": null,
        "maxDrivingTime": null
      }
    },
    {
      "routes": [
        {
          "id": "NewRoute_2_1",
          "activities": [
            {
              "activity": "ROUTE_START",
              "timeWindow": {
                "start": 1624608000000,
                "end": 1624608000000
              },
              "type": "SITE",
              "site": "DEPOT",
              "operations": []
            },
            {
              "activity": "LOADING",
              "timeWindow": {
                "start": 1624608000000,
                "end": 1624608000000
              },
              "type": "SITE",
              "site": "DEPOT",
              "fixedTimeSite": 0,
              "operations": [
                "STOPPOINT_6",
                "STOPPOINT_9"
              ],
              "operationCompartments": {
                "STOPPOINT_6": [
                  {
                    "compartment": "REFRIGERADO",
                    "capacityUsed": 1.0
                  }
                ],
                "STOPPOINT_9": [
                  {
                    "compartment": "REFRIGERADO",
                    "capacityUsed": 1.0
                  }
                ]
              }
            },
            {
              "activity": "DRIVING",
              "timeWindow": {
                "start": 1624608000000,
                "end": 1624628531000
              },
              "type": "DRIVING",
              "operations": [],
              "arrivalSite": "STOPPOINT_6",
              "departureSite": "DEPOT",
              "distance": 422617,
              "nominalDuration": 20531
            },
            {
              "activity": "DELIVERY",
              "timeWindow": {
                "start": 1624628531000,
                "end": 1624628531000
              },
              "type": "SITE",
              "site": "STOPPOINT_6",
              "fixedTimeSite": 0,
              "operations": [
                "STOPPOINT_6"
              ]
            },
            {
              "activity": "DRIVING",
              "timeWindow": {
                "start": 1624628531000,
                "end": 1624655541000
              },
              "type": "DRIVING",
              "operations": [],
              "arrivalSite": "STOPPOINT_9",
              "departureSite": "STOPPOINT_6",
              "distance": 571874,
              "nominalDuration": 27010
            },
            {
              "activity": "DELIVERY",
              "timeWindow": {
                "start": 1624655541000,
                "end": 1624655541000
              },
              "type": "SITE",
              "site": "STOPPOINT_9",
              "fixedTimeSite": 0,
              "operations": [
                "STOPPOINT_9"
              ]
            },
            {
              "activity": "DRIVING",
              "timeWindow": {
                "start": 1624655541000,
                "end": 1624699521000
              },
              "type": "DRIVING",
              "operations": [],
              "arrivalSite": "DEPOT",
              "departureSite": "STOPPOINT_9",
              "distance": 964142,
              "nominalDuration": 43980
            },
            {
              "activity": "ROUTE_END",
              "timeWindow": {
                "start": 1624699521000,
                "end": 1624699521000
              },
              "type": "SITE",
              "site": "DEPOT",
              "operations": []
            }
          ],
          "status": null,
          "violationConstraints": null,
          "compartmentConfiguration": "COMPARTIMENTO_REFRIGERADO"
        }
      ],
      "vehicle": "VEHICLE_1",
      "period": {
        "timeWindow": {
          "start": 1624608000000,
          "end": 1624730400000
        },
        "departureSite": "DEPOT",
        "arrivalSite": "DEPOT",
        "maxRoutesNumber": 1,
        "maxWorkingTime": null,
        "maxDrivingTime": null
      }
    },
    {
      "routes": [
        {
          "id": "NewRoute_3_1",
          "activities": [
            {
              "activity": "ROUTE_START",
              "timeWindow": {
                "start": 1624608000000,
                "end": 1624608000000
              },
              "type": "SITE",
              "site": "DEPOT",
              "operations": []
            },
            {
              "activity": "LOADING",
              "timeWindow": {
                "start": 1624608000000,
                "end": 1624608000000
              },
              "type": "SITE",
              "site": "DEPOT",
              "fixedTimeSite": 0,
              "operations": [
                "STOPPOINT_11"
              ],
              "operationCompartments": {
                "STOPPOINT_11": [
                  {
                    "compartment": "SECO",
                    "capacityUsed": 100000.0
                  }
                ]
              }
            },
            {
              "activity": "DRIVING",
              "timeWindow": {
                "start": 1624608000000,
                "end": 1624609194000
              },
              "type": "DRIVING",
              "operations": [],
              "arrivalSite": "STOPPOINT_1",
              "departureSite": "DEPOT",
              "distance": 17911,
              "nominalDuration": 1194
            },
            {
              "activity": "DELIVERY",
              "timeWindow": {
                "start": 1624609194000,
                "end": 1624609194000
              },
              "type": "SITE",
              "site": "STOPPOINT_1",
              "fixedTimeSite": 0,
              "operations": [
                "STOPPOINT_11"
              ]
            },
            {
              "activity": "DRIVING",
              "timeWindow": {
                "start": 1624609194000,
                "end": 1624610300000
              },
              "type": "DRIVING",
              "operations": [],
              "arrivalSite": "DEPOT",
              "departureSite": "STOPPOINT_1",
              "distance": 17642,
              "nominalDuration": 1106
            },
            {
              "activity": "ROUTE_END",
              "timeWindow": {
                "start": 1624610300000,
                "end": 1624610300000
              },
              "type": "SITE",
              "site": "DEPOT",
              "operations": []
            }
          ],
          "status": null,
          "violationConstraints": null,
          "compartmentConfiguration": "COMPARTIMENTO_SECO"
        }
      ],
      "vehicle": "VEHICLE_2",
      "period": {
        "timeWindow": {
          "start": 1624608000000,
          "end": 1624730400000
        },
        "departureSite": "DEPOT",
        "arrivalSite": "DEPOT",
        "maxRoutesNumber": 1,
        "maxWorkingTime": null,
        "maxDrivingTime": null
      }
    }
  ],
  "rejectOperations": [],
  "indicators": {
    "totalServiceTime": 0,
    "totalDeliveringTime": 0,
    "dayWorkingTotalTime": 135642,
    "nightWorkingTotalTime": 64680,
    "totalUnloadingTime": 0,
    "totalWorkingTime": 200322,
    "totalCollectingTime": 0,
    "timeWindowNumber": 3,
    "totalDrivingTime": 200322,
    "totalLoadingTime": 0,
    "totalTime": 200322,
    "totalDistance": 4318629,
    "averageOccupancyRateVolume": 43.34,
    "averageOccupancyRateWeight": 38.34,
    "rejectOperationsNumber": 0,
    "totalWaitingTime": 0,
    "totalRestTime": 0,
    "routesNumber": 3
  }
}