Exemplo 3 – Rotas de vários dias
Descrição do problema
Neste exemplo, temos uma requisição para resolver um problema logístico de uma empresa que possui uma frota composta por 1 veículo do tipo VUC e 15 ordens de serviço de entrega na região Nordeste do Brasil. O planejamento considera múltiplos dias, respeitando as regras da legislação referentes às pausas de direção e à jornada diária de trabalho.
Das 15 entregas, todas possuem uma janela de horário ampla, abrangendo 3 dias, o que permite flexibilidade para que o motorista cumpra as pausas obrigatórias.
Não há restrições específicas de volume ou peso além da janela horária do motorista, e cada entrega possui um tempo de manuseio no cliente de 900 segundos (15 minutos).
15 LOCAIS DE ENTREGA | ![]() 1 DEPÓSITO | 1 CAMINHÃO DO TIPO VUC 3⁄4 | 15 PEDIDOS |
Os 15 locais de entrega estão distribuídos pelo estado da Bahia, na região Nordeste do Brasil. O veículo deve iniciar e retornar ao depósito “Bahia Vidros”, respeitando as regras da legislação relacionadas à condução e à jornada de trabalho.
O planejamento considera as seguintes restrições: direção contínua máxima de 3h45min antes de uma pausa obrigatória de 1h, trabalho contínuo máximo de 8h antes de um descanso de 15h, além das pausas diárias obrigatórias.
Essas restrições são definidas no parâmetro legistlationProfiles, conforme exemplo abaixo:
"legislationProfiles": [
{
"name": "DEFAULT",
"maxContinuousDrivingTime": 13500,
"drivingPauseDuration": 3600,
"maxContinuousWorkingTime": 28800,
"workingPauseDuration": 54000
}
]
E por fim, o perfil de legislação criado deve ser referenciado nos veículos declarados no parâmetro vehicles, conforme exemplo abaixo:
"vehicles": [
{
"name": "TMP-3020",
"vehicleType": "VUC",
"legislationProfile": "DEFAULT",
"availablePeriods": [
{
"departureSite": "Bahia Vidros",
"arrivalSite": "Bahia Vidros",
"timeWindow": {
"start": 1603364400000,
"end": 1603659600000
}
}
]
}
]
Requisição completa
A requisição completa pode ser conferida abaixo:
{
"optimizationProfile": "BRAZIL46",
"tripsProfile": "MAPLINKBR",
"startDate": 1603364400000,
"products": [
{
"name": "DEFAULT"
}
],
"legislationProfiles": [
{
"name": "DEFAULT",
"maxContinuousDrivingTime": 13500,
"drivingPauseDuration": 3600,
"maxContinuousWorkingTime": 28800,
"workingPauseDuration": 54000
}
],
"logisticConstraints": [
{
"name": "DEFAULT"
}
],
"depots": [
{
"name": "Bahia Vidros",
"coordinates": {
"latitude": -12.9850539,
"longitude": -39.2946463
},
"logisticConstraints": "DEFAULT"
}
],
"vehicleTypes": [
{
"name": "VUC",
"maxVolume": 20,
"maxWeight": 1200,
"size": 1
}
],
"vehicles": [
{
"name": "TMP-3020",
"vehicleType": "VUC",
"legislationProfile": "DEFAULT",
"availablePeriods": [
{
"departureSite": "Bahia Vidros",
"arrivalSite": "Bahia Vidros",
"timeWindow": {
"start": 1603364400000,
"end": 1603659600000
}
}
]
}
],
"sites": [
{
"name": "Penha vidros",
"coordinates": {
"latitude": -14.2805954,
"longitude": -38.9900972
},
"logisticConstraints": "DEFAULT"
},
{
"name": "Nadson Sena",
"coordinates": {
"latitude": -15.4168545,
"longitude": -39.4983672
},
"logisticConstraints": "DEFAULT"
},
{
"name": "Vidraçaria Cabral",
"coordinates": {
"latitude": -16.372485,
"longitude": -39.5867328
},
"logisticConstraints": "DEFAULT"
},
{
"name": "MUNDO DOS VIDROS",
"coordinates": {
"latitude": -16.4444137,
"longitude": -39.0698734
},
"logisticConstraints": "DEFAULT"
},
{
"name": "Vidros & Cia",
"coordinates": {
"latitude": -16.4511815,
"longitude": -39.065805
},
"logisticConstraints": "DEFAULT"
},
{
"name": "ESQUAVIDROS",
"coordinates": {
"latitude": -16.4443537,
"longitude": -39.0653656
},
"logisticConstraints": "DEFAULT"
},
{
"name": "MM CONSTRUTORA E INCORPORADORA LTDA",
"coordinates": {
"latitude": -16.4184717,
"longitude": -39.0883174
},
"logisticConstraints": "DEFAULT"
},
{
"name": "SERRALHERIA TRES IRMAOS",
"coordinates": {
"latitude": -15.8639043,
"longitude": -38.876611
},
"logisticConstraints": "DEFAULT"
},
{
"name": "MARCIO DOS SANTOS NASCIMENTO 9",
"coordinates": {
"latitude": -15.6655186,
"longitude": -38.9495478
},
"logisticConstraints": "DEFAULT"
},
{
"name": "JONES SANTOS BRAZ",
"coordinates": {
"latitude": -15.2895054,
"longitude": -39.0670267
},
"logisticConstraints": "DEFAULT"
},
{
"name": "UNA VIDROS",
"coordinates": {
"latitude": -15.2900986,
"longitude": -39.06667230000001
},
"logisticConstraints": "DEFAULT"
},
{
"name": "METALVIDROS",
"coordinates": {
"latitude": -14.785113,
"longitude": -39.2603036
},
"logisticConstraints": "DEFAULT"
},
{
"name": "VIDRACARIA IMPERIO",
"coordinates": {
"latitude": -14.7822245,
"longitude": -39.2835594
},
"logisticConstraints": "DEFAULT"
},
{
"name": "VIDRACARIA DIAMANTE (MENEZES )",
"coordinates": {
"latitude": -14.8094166,
"longitude": -39.2749927
},
"logisticConstraints": "DEFAULT"
},
{
"name": "IMPERIAL MARMORARIA E VIDRACARIA",
"coordinates": {
"latitude": -14.8180948,
"longitude": -39.2928816
},
"logisticConstraints": "DEFAULT"
}
],
"operations": [
{
"id": "5f91c86c2774500fa36af00c",
"depotSite": "Bahia Vidros",
"customerSite": "Penha vidros",
"product": "DEFAULT",
"type": "DELIVERY",
"volume": 0,
"weight": 0,
"customerHandlingDuration": 900,
"customerTimeWindows": [
{
"start": 1603364400000,
"end": 1603659600000
}
]
},
{
"id": "5f91c8c52774500fa36af00d",
"depotSite": "Bahia Vidros",
"customerSite": "Nadson Sena",
"product": "DEFAULT",
"type": "DELIVERY",
"volume": 0,
"weight": 0,
"customerHandlingDuration": 900,
"customerTimeWindows": [
{
"start": 1603364400000,
"end": 1603659600000
}
]
},
{
"id": "5f91c8e02774500fa36af00e",
"depotSite": "Bahia Vidros",
"customerSite": "Vidraçaria Cabral",
"product": "DEFAULT",
"type": "DELIVERY",
"volume": 0,
"weight": 0,
"customerHandlingDuration": 900,
"customerTimeWindows": [
{
"start": 1603364400000,
"end": 1603659600000
}
]
},
{
"id": "5f91c9002774500fa36af00f",
"depotSite": "Bahia Vidros",
"customerSite": "MUNDO DOS VIDROS",
"product": "DEFAULT",
"type": "DELIVERY",
"volume": 0,
"weight": 0,
"customerHandlingDuration": 900,
"customerTimeWindows": [
{
"start": 1603364400000,
"end": 1603659600000
}
]
},
{
"id": "5f91c9312774500fa36af010",
"depotSite": "Bahia Vidros",
"customerSite": "Vidros & Cia",
"product": "DEFAULT",
"type": "DELIVERY",
"volume": 0,
"weight": 0,
"customerHandlingDuration": 900,
"customerTimeWindows": [
{
"start": 1603364400000,
"end": 1603659600000
}
]
},
{
"id": "5f91c9512774500fa36af011",
"depotSite": "Bahia Vidros",
"customerSite": "ESQUAVIDROS",
"product": "DEFAULT",
"type": "DELIVERY",
"volume": 0,
"weight": 0,
"customerHandlingDuration": 900,
"customerTimeWindows": [
{
"start": 1603364400000,
"end": 1603659600000
}
]
},
{
"id": "5f91c98b2774500fa36af012",
"depotSite": "Bahia Vidros",
"customerSite": "MM CONSTRUTORA E INCORPORADORA LTDA",
"product": "DEFAULT",
"type": "DELIVERY",
"volume": 0,
"weight": 0,
"customerHandlingDuration": 900,
"customerTimeWindows": [
{
"start": 1603364400000,
"end": 1603659600000
}
]
},
{
"id": "5f91c9a02774500fa36af013",
"depotSite": "Bahia Vidros",
"customerSite": "SERRALHERIA TRES IRMAOS",
"product": "DEFAULT",
"type": "DELIVERY",
"volume": 0,
"weight": 0,
"customerHandlingDuration": 900,
"customerTimeWindows": [
{
"start": 1603364400000,
"end": 1603659600000
}
]
},
{
"id": "5f91c9be2774500fa36af014",
"depotSite": "Bahia Vidros",
"customerSite": "MARCIO DOS SANTOS NASCIMENTO 9",
"product": "DEFAULT",
"type": "DELIVERY",
"volume": 0,
"weight": 0,
"customerHandlingDuration": 900,
"customerTimeWindows": [
{
"start": 1603364400000,
"end": 1603659600000
}
]
},
{
"id": "5f91c9d72774500fa36af015",
"depotSite": "Bahia Vidros",
"customerSite": "JONES SANTOS BRAZ",
"product": "DEFAULT",
"type": "DELIVERY",
"volume": 0,
"weight": 0,
"customerHandlingDuration": 900,
"customerTimeWindows": [
{
"start": 1603364400000,
"end": 1603659600000
}
]
},
{
"id": "5f91c9f02774500fa36af016",
"depotSite": "Bahia Vidros",
"customerSite": "UNA VIDROS",
"product": "DEFAULT",
"type": "DELIVERY",
"volume": 0,
"weight": 0,
"customerHandlingDuration": 900,
"customerTimeWindows": [
{
"start": 1603364400000,
"end": 1603659600000
}
]
},
{
"id": "5f91ca102774500fa36af017",
"depotSite": "Bahia Vidros",
"customerSite": "METALVIDROS",
"product": "DEFAULT",
"type": "DELIVERY",
"volume": 0,
"weight": 0,
"customerHandlingDuration": 900,
"customerTimeWindows": [
{
"start": 1603364400000,
"end": 1603659600000
}
]
},
{
"id": "5f91ca242774500fa36af018",
"depotSite": "Bahia Vidros",
"customerSite": "VIDRACARIA IMPERIO",
"product": "DEFAULT",
"type": "DELIVERY",
"volume": 0,
"weight": 0,
"customerHandlingDuration": 900,
"customerTimeWindows": [
{
"start": 1603364400000,
"end": 1603659600000
}
]
},
{
"id": "5f91ca542774500fa36af019",
"depotSite": "Bahia Vidros",
"customerSite": "VIDRACARIA DIAMANTE (MENEZES )",
"product": "DEFAULT",
"type": "DELIVERY",
"volume": 0,
"weight": 0,
"customerHandlingDuration": 900,
"customerTimeWindows": [
{
"start": 1603364400000,
"end": 1603659600000
}
]
},
{
"id": "5f91ca862774500fa36af01a",
"depotSite": "Bahia Vidros",
"customerSite": "IMPERIAL MARMORARIA E VIDRACARIA",
"product": "DEFAULT",
"type": "DELIVERY",
"volume": 0,
"weight": 0,
"customerHandlingDuration": 900,
"customerTimeWindows": [
{
"start": 1603364400000,
"end": 1603659600000
}
]
}
]
}
Solução do problema logístico
A resposta da API será retornada no formato JSON, contendo o melhor sequenciamento das operações de entrega para o veículo, considerando pausas (após 3h45min de direção) e descanso noturno (após 8h de trabalho).

As pausas irão retornar em vehicleRoutes[n].routes[n].activities identificadas como "activity": "PAUSE". A primeira pausa é o momento em que o motorista pausa para o almoço, após atingir 3h45min. de direção continua definido em maxContinuousDrivingTime. A segunda é o momento em que o motorista para de trabalhar para descansar, após atingir as 8 horas de trabalho definidas em maxContinuousWorkingTime.
No exemplo, o motorista inicia a jornada às 08:00 do dia 22/10, dirige por cerca de 3h45min, realiza algumas entregas e faz uma pausa de 1h para almoço. Em seguida, retoma as atividades até 17:00, quando encerra o dia de trabalho e inicia o período de descanso até 08:00 do dia seguinte.
Esse padrão se repete nos dias subsequentes, com as pausas devidamente incorporadas ao planejamento para garantir o cumprimento da legislação.
Resposta completa
{
"id": "69dd698b8620796cf45f0059",
"clientId": "maplink",
"vehicleRoutes": [
{
"routes": [
{
"id": "NewRoute_1_1",
"activities": [
{
"activity": "ROUTE_START",
"timeWindow": {
"start": 1603364400000,
"end": 1603364400000
},
"type": "SITE",
"site": "Bahia Vidros",
"operations": []
},
{
"activity": "LOADING",
"timeWindow": {
"start": 1603364400000,
"end": 1603364400000
},
"type": "SITE",
"site": "Bahia Vidros",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"5f91c9f02774500fa36af016",
"5f91c86c2774500fa36af00c",
"5f91ca242774500fa36af018",
"5f91ca102774500fa36af017",
"5f91ca542774500fa36af019",
"5f91ca862774500fa36af01a",
"5f91c9d72774500fa36af015",
"5f91c8c52774500fa36af00d",
"5f91c9be2774500fa36af014",
"5f91c8e02774500fa36af00e",
"5f91c9a02774500fa36af013",
"5f91c98b2774500fa36af012",
"5f91c9512774500fa36af011",
"5f91c9312774500fa36af010",
"5f91c9002774500fa36af00f"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603364400000,
"end": 1603375982000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "Penha vidros",
"departureSite": "Bahia Vidros",
"distance": 198885,
"nominalDuration": 11582
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1603375982000,
"end": 1603376882000
},
"type": "SITE",
"site": "Penha vidros",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"5f91c86c2774500fa36af00c"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603376882000,
"end": 1603378800000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "UNA VIDROS",
"departureSite": "Penha vidros",
"distance": 31812,
"nominalDuration": 1918
},
{
"activity": "PAUSE",
"timeWindow": {
"start": 1603378800000,
"end": 1603382400000
},
"type": "SITE",
"site": "UNA VIDROS",
"operations": []
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603382400000,
"end": 1603388537000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "UNA VIDROS",
"departureSite": "UNA VIDROS",
"distance": 101788,
"nominalDuration": 6137
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1603388537000,
"end": 1603389437000
},
"type": "SITE",
"site": "UNA VIDROS",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"5f91c9f02774500fa36af016"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603389437000,
"end": 1603389453000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "JONES SANTOS BRAZ",
"departureSite": "UNA VIDROS",
"distance": 87,
"nominalDuration": 16
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1603389453000,
"end": 1603390353000
},
"type": "SITE",
"site": "JONES SANTOS BRAZ",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"5f91c9d72774500fa36af015"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603390353000,
"end": 1603393577000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "MARCIO DOS SANTOS NASCIMENTO 9",
"departureSite": "JONES SANTOS BRAZ",
"distance": 55342,
"nominalDuration": 3224
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1603393577000,
"end": 1603394477000
},
"type": "SITE",
"site": "MARCIO DOS SANTOS NASCIMENTO 9",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"5f91c9be2774500fa36af014"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603394477000,
"end": 1603396800000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "SERRALHERIA TRES IRMAOS",
"departureSite": "MARCIO DOS SANTOS NASCIMENTO 9",
"distance": 29593,
"nominalDuration": 2323
},
{
"activity": "PAUSE",
"timeWindow": {
"start": 1603396800000,
"end": 1603450800000
},
"type": "SITE",
"site": "SERRALHERIA TRES IRMAOS",
"operations": []
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603450800000,
"end": 1603462510000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "SERRALHERIA TRES IRMAOS",
"departureSite": "SERRALHERIA TRES IRMAOS",
"distance": 149175,
"nominalDuration": 11710
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1603462510000,
"end": 1603463410000
},
"type": "SITE",
"site": "SERRALHERIA TRES IRMAOS",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"5f91c9a02774500fa36af013"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603463410000,
"end": 1603465200000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "Vidros & Cia",
"departureSite": "SERRALHERIA TRES IRMAOS",
"distance": 24586,
"nominalDuration": 1790
},
{
"activity": "PAUSE",
"timeWindow": {
"start": 1603465200000,
"end": 1603468800000
},
"type": "SITE",
"site": "Vidros & Cia",
"operations": []
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603468800000,
"end": 1603472510000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "Vidros & Cia",
"departureSite": "Vidros & Cia",
"distance": 50958,
"nominalDuration": 3710
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1603472510000,
"end": 1603473410000
},
"type": "SITE",
"site": "Vidros & Cia",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"5f91c9312774500fa36af010"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603473410000,
"end": 1603473588000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "ESQUAVIDROS",
"departureSite": "Vidros & Cia",
"distance": 1890,
"nominalDuration": 178
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1603473588000,
"end": 1603474488000
},
"type": "SITE",
"site": "ESQUAVIDROS",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"5f91c9512774500fa36af011"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603474488000,
"end": 1603474619000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "MUNDO DOS VIDROS",
"departureSite": "ESQUAVIDROS",
"distance": 1015,
"nominalDuration": 131
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1603474619000,
"end": 1603475519000
},
"type": "SITE",
"site": "MUNDO DOS VIDROS",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"5f91c9002774500fa36af00f"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603475519000,
"end": 1603476283000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "MM CONSTRUTORA E INCORPORADORA LTDA",
"departureSite": "MUNDO DOS VIDROS",
"distance": 6529,
"nominalDuration": 764
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1603476283000,
"end": 1603477183000
},
"type": "SITE",
"site": "MM CONSTRUTORA E INCORPORADORA LTDA",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"5f91c98b2774500fa36af012"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603477183000,
"end": 1603480854000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "Vidra?aria Cabral",
"departureSite": "MM CONSTRUTORA E INCORPORADORA LTDA",
"distance": 59915,
"nominalDuration": 3671
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1603480854000,
"end": 1603481754000
},
"type": "SITE",
"site": "Vidra?aria Cabral",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"5f91c8e02774500fa36af00e"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603481754000,
"end": 1603483200000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "Nadson Sena",
"departureSite": "Vidra?aria Cabral",
"distance": 26462,
"nominalDuration": 1446
},
{
"activity": "PAUSE",
"timeWindow": {
"start": 1603483200000,
"end": 1603537200000
},
"type": "SITE",
"site": "Nadson Sena",
"operations": []
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603537200000,
"end": 1603543385000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "Nadson Sena",
"departureSite": "Nadson Sena",
"distance": 113185,
"nominalDuration": 6185
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1603543385000,
"end": 1603544285000
},
"type": "SITE",
"site": "Nadson Sena",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"5f91c8c52774500fa36af00d"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603544285000,
"end": 1603548766000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "IMPERIAL MARMORARIA E VIDRACARIA",
"departureSite": "Nadson Sena",
"distance": 83152,
"nominalDuration": 4481
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1603548766000,
"end": 1603549666000
},
"type": "SITE",
"site": "IMPERIAL MARMORARIA E VIDRACARIA",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"5f91ca862774500fa36af01a"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603549666000,
"end": 1603549950000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "VIDRACARIA DIAMANTE (MENEZES )",
"departureSite": "IMPERIAL MARMORARIA E VIDRACARIA",
"distance": 2826,
"nominalDuration": 284
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1603549950000,
"end": 1603550850000
},
"type": "SITE",
"site": "VIDRACARIA DIAMANTE (MENEZES )",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"5f91ca542774500fa36af019"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603550850000,
"end": 1603551351000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "METALVIDROS",
"departureSite": "VIDRACARIA DIAMANTE (MENEZES )",
"distance": 5513,
"nominalDuration": 501
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1603551351000,
"end": 1603552251000
},
"type": "SITE",
"site": "METALVIDROS",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"5f91ca102774500fa36af017"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603552251000,
"end": 1603552560000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "VIDRACARIA IMPERIO",
"departureSite": "METALVIDROS",
"distance": 3663,
"nominalDuration": 309
},
{
"activity": "DELIVERY",
"timeWindow": {
"start": 1603552560000,
"end": 1603553460000
},
"type": "SITE",
"site": "VIDRACARIA IMPERIO",
"fixedTimeSite": 0,
"volume": 0.0,
"weight": 0.0,
"operations": [
"5f91ca242774500fa36af018"
]
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603553460000,
"end": 1603555200000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "Bahia Vidros",
"departureSite": "VIDRACARIA IMPERIO",
"distance": 32691,
"nominalDuration": 1740
},
{
"activity": "PAUSE",
"timeWindow": {
"start": 1603555200000,
"end": 1603558800000
},
"type": "SITE",
"site": "Bahia Vidros",
"operations": []
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603558800000,
"end": 1603569600000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "Bahia Vidros",
"departureSite": "Bahia Vidros",
"distance": 202912,
"nominalDuration": 10800
},
{
"activity": "PAUSE",
"timeWindow": {
"start": 1603569600000,
"end": 1603623600000
},
"type": "SITE",
"site": "Bahia Vidros",
"operations": []
},
{
"activity": "DRIVING",
"timeWindow": {
"start": 1603623600000,
"end": 1603623843000
},
"type": "DRIVING",
"operations": [],
"arrivalSite": "Bahia Vidros",
"departureSite": "Bahia Vidros",
"distance": 4566,
"nominalDuration": 243
},
{
"activity": "ROUTE_END",
"timeWindow": {
"start": 1603623843000,
"end": 1603623843000
},
"type": "SITE",
"site": "Bahia Vidros",
"operations": []
}
]
}
],
"vehicle": "TMP-3020",
"period": {
"timeWindow": {
"start": 1603364400000,
"end": 1603659600000
},
"departureSite": "Bahia Vidros",
"arrivalSite": "Bahia Vidros"
}
}
],
"indicators": {
"totalServiceTime": 13500,
"totalDeliveringTime": 13500,
"dayWorkingTotalTime": 86643,
"nightWorkingTotalTime": 0,
"totalUnloadingTime": 0,
"totalWorkingTime": 86643,
"totalCollectingTime": 0,
"timeWindowNumber": 1,
"totalDrivingTime": 73143,
"totalLoadingTime": 0,
"totalTime": 259443,
"totalDistance": 1186545,
"averageOccupancyRateVolume": 0.08,
"averageOccupancyRateWeight": 0.0,
"rejectOperationsNumber": 0,
"totalWaitingTime": 0,
"totalRestTime": 0,
"routesNumber": 1
}
}
