Ejemplo 3 – Rutas de varios días
Descripción del problema
En este ejemplo, tenemos una solicitud para resolver un problema logístico de una empresa que cuenta con una flota compuesta por 1 vehículo del tipo VUC y 15 órdenes de servicio de entrega en la región Nordeste de Brasil. La planificación considera múltiples días, respetando las reglas de la legislación relacionadas con las pausas de conducción y la jornada laboral diaria.
De las 15 entregas, todas tienen una ventana horaria amplia, abarcando 3 días, lo que permite flexibilidad para que el conductor cumpla con las pausas obligatorias.
No existen restricciones específicas de volumen o peso además de la ventana horaria del conductor, y cada entrega tiene un tiempo de manipulación en el cliente de 900 segundos (15 minutos).
15 LUGARES DE ENTREGA | ![]() 1 DEPÓSITO | 1 CAMIÓN TIPO VUC 3/4 | 15 PEDIDOS |
Los 15 lugares de entrega están distribuidos por el estado de Bahía, en la región Nordeste de Brasil. El vehículo debe iniciar y regresar al depósito “Bahia Vidros”, respetando las reglas de la legislación relacionadas con la conducción y la jornada laboral.
La planificación considera las siguientes restricciones: conducción continua máxima de 3h45min antes de una pausa obligatoria de 1h, trabajo continuo máximo de 8h antes de un descanso de 15h, además de las pausas diarias obligatorias.
Estas restricciones se definen en el parámetro legistlationProfiles, conforme al ejemplo a continuación:
"legislationProfiles": [
{
"name": "DEFAULT",
"maxContinuousDrivingTime": 13500,
"drivingPauseDuration": 3600,
"maxContinuousWorkingTime": 28800,
"workingPauseDuration": 54000
}
]
Y por último, el perfil de legislación creado debe ser referenciado en los vehículos declarados en el parámetro vehicles, conforme al ejemplo a continuación:
"vehicles": [
{
"name": "TMP-3020",
"vehicleType": "VUC",
"legislationProfile": "DEFAULT",
"availablePeriods": [
{
"departureSite": "Bahia Vidros",
"arrivalSite": "Bahia Vidros",
"timeWindow": {
"start": 1603364400000,
"end": 1603659600000
}
}
]
}
]
Solicitud completa
La solicitud completa puede verse a continuación:
{
"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
}
]
}
]
}
Solución al problema logístico
La respuesta de la API será devuelta en formato JSON, conteniendo la mejor secuencia de las operaciones de entrega para el vehículo, considerando pausas (después de 3h45min de conducción) y descanso nocturno (después de 8h de trabajo).

Las pausas serán devueltas en vehicleRoutes[n].routes[n].activities, identificadas como "activity": "PAUSE". La primera pausa corresponde al momento en que el conductor se detiene para almorzar, después de alcanzar las 3h45min de conducción continua definidas en maxContinuousDrivingTime. La segunda corresponde al momento en que el conductor deja de trabajar para descansar, después de alcanzar las 8 horas de trabajo definidas en maxContinuousWorkingTime.
En el ejemplo, el conductor inicia la jornada a las 08:00 del día 22/10, conduce durante aproximadamente 3h45min, realiza algunas entregas y hace una pausa de 1h para almorzar. Luego, retoma las actividades hasta las 17:00, cuando finaliza la jornada laboral e inicia el período de descanso hasta las 08:00 del día siguiente.
Este patrón se repite en los días posteriores, con las pausas debidamente incorporadas en la planificación para garantizar el cumplimiento de la legislación.
Respuesta 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
}
}
