Example 3 – Multi-Day Routes
Description of the problem
In this example, we have a request to solve a logistics problem for a company that operates a fleet composed of 1 VUC-type vehicle and 15 delivery service orders in the northeast region of Brazil. The planning considers multiple days, respecting legal regulations regarding driving breaks and daily working hours.
Among the 15 deliveries, all have a wide time window spanning 3 days, which provides flexibility for the driver to comply with mandatory breaks.
There are no specific volume or weight restrictions beyond the driver’s working time window, and each delivery has a customer handling time of 900 seconds (15 minutes).
15 DELIVERY LOCATIONS | ![]() 1 DEPOT | 1 VUC 3/4 TRUCK | 15 ORDERS |
The 15 delivery locations are distributed across the state of Bahia, in the Northeast region of Brazil. The vehicle must start and return to the “Bahia Vidros” depot, complying with legal regulations related to driving and working hours.
The planning considers the following restrictions: a maximum continuous driving time of 3h45min before a mandatory 1-hour break, a maximum continuous working time of 8 hours before a 15-hour rest period, in addition to mandatory daily breaks.
These restrictions are defined in the legistlationProfiles parameter, as shown in the example below:
"legislationProfiles": [
{
"name": "DEFAULT",
"maxContinuousDrivingTime": 13500,
"drivingPauseDuration": 3600,
"maxContinuousWorkingTime": 28800,
"workingPauseDuration": 54000
}
]
Finally, the created legislation profile must be referenced in the vehicles declared in the vehicles parameter, as shown in the example below:
"vehicles": [
{
"name": "TMP-3020",
"vehicleType": "VUC",
"legislationProfile": "DEFAULT",
"availablePeriods": [
{
"departureSite": "Bahia Vidros",
"arrivalSite": "Bahia Vidros",
"timeWindow": {
"start": 1603364400000,
"end": 1603659600000
}
}
]
}
]
Request
The full request can be seen below:
{
"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
}
]
}
]
}
Solution to the logistics problem
The API response will be returned in JSON format, containing the best sequencing of delivery operations for the vehicle, considering breaks (after 3h45min of driving) and overnight rest periods (after 8 hours of work).

Breaks will be returned in vehicleRoutes[n].routes[n].activities, identified as "activity": "PAUSE". The first break represents the moment when the driver stops for lunch after reaching the 3h45min continuous driving limit defined in maxContinuousDrivingTime. The second represents the moment when the driver stops working to rest after reaching the 8-hour working limit defined in maxContinuousWorkingTime.
In the example, the driver starts the workday at 08:00 on 10/22, drives for approximately 3h45min, completes some deliveries, and takes a 1-hour lunch break. After that, the driver resumes activities until 17:00, when the workday ends and the rest period begins until 08:00 on the following day.
This pattern repeats on subsequent days, with the breaks properly incorporated into the planning to ensure compliance with the legislation.
Response
{
"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
}
}
