• Optimization
  • Navigation
  • Tracking
  • Maps
  • Places

  • Integrations

Re-Optimization: New Tasks

NextBillion.ai’s Route Optimization Flexible API offers a powerful re-optimization feature which allows the users to re-optimize a set of existing or new tasks by readjusting some variables, if needed.

Let’s suppose a business which has an unpredictable frequency of incoming orders (grocery delivery, courier services etc.) creates a route plan to execute the orders at a given point of time. By the time the plan is created, delivery vehicles are loaded with inventory, and drivers are contracted, another bunch of high priority orders is received. Now either the users can rebuild the entire optimization problem again and scrap the plan that was already in motion or just re-optimize the existing solution to accommodate the new priority orders with minimal or no changes to the original plan.

To re-optimize a routing plan the users need the previous solution created using the given constraints at the time. For successfully adding new orders/tasks to the re-optimized solution, users need to decide if the existing constraints of number of vehicles, shift timings or capacities of the vehicles, or the existing task time windows or any other variables need to be updated or not. The users are expected to rebuild the request using some of the above strategies while specifying all the new and existing tasks. Upon receiving a re-optimization request, the solver will try to accommodate the new tasks into the original solution without many changes. This way businesses can make quick or last-minute adjustments to their route planning without needing to make extravagant changes to the existing plans.

We cover this example through 3 steps - in the first step, we execute a basic route optimization request and get an original solution. In the next step, we review the new tasks received and re-model our original optimization request. In the last step, we use the solution attribute, and re-optimize our existing solution so that all tasks are assigned. Let’s start with building the original request.

Get Started

Readers would need a valid NextBillion API key to try this example out. If you don’t have one, please contact us to get your API key now!

Setup

Once you have a valid API Key, you can start setting up the components to be used in this example. Let’s take a look at them below. Jobs & Shipments We start by defining 6 jobs and 2 shipments. For these tasks we add:

  • A unique identifier for each task

  • Location indexes for each task

  • Specify the schedule of tasks. This is done by adding time windows within which a task must be completed. We have added a 15 min time window for all tasks.

  • The actual time taken to complete the tasks once the driver/vehicle is at the task’s location i.e. the service time for each task.

  • Skills needed to perform each task

  • Pickup and Delivery amounts for all jobs

Let’s take a look at the jobs JSON after the above properties are configured:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
  "jobs": [
    {
      "id": 1,
      "location_index": 0,
      "service": 120,
      "pickup": [
        3
      ],
      "skills": [
        1
      ],
      "time_windows": [
        [
          1693386000,
          1693386900
        ]
      ]
    },
    {
      "id": 2,
      "location_index": 1,
      "service": 120,
      "skills": [
        1
      ],
      "pickup": [
        5
      ],
      "time_windows": [
        [
          1693386900,
          1693387800
        ]
      ]
    },
    {
      "id": 3,
      "location_index": 2,
      "service": 120,
      "pickup": [
        2
      ],
      "skills": [
        1
      ],
      "time_windows": [
        [
          1693387800,
          1693388700
        ]
      ]
    },
    {
      "id": 8,
      "location_index": 3,
      "service": 120,
      "pickup": [
        2
      ],
      "skills": [
        2
      ],
      "time_windows": [
        [
          1693386000,
          1693386900
        ]
      ]
    },
    {
      "id": 9,
      "location_index": 4,
      "service": 120,
      "pickup": [
        2
      ],
      "skills": [
        2
      ],
      "time_windows": [
        [
          1693387200,
          1693388100
        ]
      ]
    },
    {
      "id": 10,
      "location_index": 5,
      "service": 120,
      "pickup": [
        2
      ],
      "skills": [
        2
      ],
      "time_windows": [
        [
          1693388400,
          1693389300
        ]
      ]
    }
  ],
  "shipments": [
    {
      "pickup": {
        "description": "Shipment Pickup 1",
        "id": 1,
        "location_index": 6,
        "time_windows": [
          [
            1693390500,
            1693390800
          ]
        ]
      },
      "delivery": {
        "description": "Shipment Delivery 1",
        "id": 1,
        "location_index": 7,
        "time_windows": [
          [
            1693392000,
            1693392300
          ]
        ]
      },
      "skills": [
        1
      ],
      "amount": [
        3
      ]
    },
    {
      "pickup": {
        "description": "Shipment Pickup 2",
        "id": 2,
        "location_index": 8,
        "time_windows": [
          [
            1693390500,
            1693390800
          ]
        ]
      },
      "delivery": {
        "description": "Shipment Delivery 2",
        "id": 2,
        "location_index": 9,
        "time_windows": [
          [
            1693392000,
            1693392300
          ]
        ]
      },
      "skills": [
        2
      ],
      "amount": [
        3
      ]
    }
  ]
}

Vehicles

Next, we add 4 vehicles that are going to fulfill the tasks within the defined constraints. To describe the vehicles and their properties we add:

  • A unique ID for each vehicle

  • Vehicle shift time or the time window. We have added the same for both vehicles in the first step.

  • Capacity to denote the amount of load that the vehicle can take

  • Start_index to denote the point from where the vehicle would start

  • Skills for all vehicles

Once the vehicle and their properties are defined, the resulting vehicles JSON is:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  "vehicles": [
    {
      "id": 1,
      "start_index": 10,
      "skills": [
        1
      ],
      "capacity": [
        20
      ],
      "time_window": [
        1693385100,
        1693400400
      ]
    },
    {
      "id": 2,
      "start_index": 11,
      "skills": [
        2
      ],
      "capacity": [
        20
      ],
      "time_window": [
        1693385100,
        1693400400
      ]
    }
  ]
}

Locations

And now, lastly we would define the locations object and add all the locations used in the problem along with a valid id. The locations object with all the points used in this example:

1
2
3
4
5
"locations":
{
"id": 1,
"location": ["34.083950,-118.318640","34.054927,-118.323726","34.075525,-118.361588","34.000215,-118.318803","33.945884,-118.325628","34.000895,-118.204929","34.076646,-118.376969","34.094986,-118.300885","34.018780,-118.317919","33.996658,-118.261708","34.057106,-118.361326","34.016137,-118.253523"]
}

Step 1: Get the original Solution

Now that we have built the basic components of an optimization problem, we can submit this request using the Optimization POST method and retrieve the solution.

Optimized POST request

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
curl --location 'https://api.nextbillion.io/optimization/v2?key=<your_api_key>' \
--header 'Content-Type: application/json' \
--data '{
   "description": "Re-optimization (new-tasks) Example",
   "jobs": [
       {
           "id": 1,
           "location_index": 0,
           "service": 120,
           "pickup":[3],
           "skills": [1],
           "time_windows": [
               [
                   1693386000,
                   1693386900
               ]
           ]
       },
       {
           "id": 2,
           "location_index": 1,
           "service": 120,
           "skills": [1],
           "pickup":[5],
           "time_windows": [
               [
                   1693386900,
                   1693387800
               ]
           ]
       },
       {
           "id": 3,
           "location_index": 2,
           "service": 120,
           "pickup":[2],
           "skills": [1],
           "time_windows": [
               [
                   1693387800,
                   1693388700
               ]
           ]
       },
       {
           "id": 8,
           "location_index": 3,
           "service": 120,
           "pickup":[2],
           "skills": [2],
           "time_windows": [
               [
                   1693386000,
                   1693386900
               ]
           ]
       },
       {
           "id": 9,
           "location_index": 4,
           "service": 120,
           "pickup":[2],
           "skills": [2],
           "time_windows": [
               [
                   1693387200,
                   1693388100
               ]
           ]
       },
       {
           "id": 10,
           "location_index": 5,
           "service": 120,
           "pickup":[2],
           "skills": [2],
           "time_windows": [
               [
                   1693388400,
                   1693389300
               ]
           ]
       }
   ],
   "shipments": [
       {
        "pickup":{
           "description": "Shipment Pickup 1",
           "id":1,
           "location_index":6,
           "time_windows":[[1693390500,1693390800]]
        },
        "delivery":{
           "description": "Shipment Delivery 1",
           "id":1,
           "location_index":7,
           "time_windows":[[1693392000,1693392300]]
           },
        "skills":[1],
        "amount":[3]
        },
        {
        "pickup":{
           "description": "Shipment Pickup 2",
           "id":2,
           "location_index":8,
           "time_windows":[[1693390500,1693390800]]
        },
        "delivery":{
           "description": "Shipment Delivery 2",
           "id":2,
           "location_index":9,
           "time_windows":[[1693392000,1693392300]]
           },
        "skills":[2],
        "amount":[3]
        }
   ],
   "vehicles": [
       {
           "id": 1,
           "start_index": 10,
           "skills":[1],
           "capacity":[20],
           "time_window": [
               1693385100,
                   1693400400
           ]
       },
       {
           "id": 2,
           "start_index": 11,
           "skills":[2],
           "capacity":[20],
           "time_window": [
               1693385100,
                   1693400400
           ]
       }
   ],
    "locations":
        {
            "id": 1,
            "location": ["34.083950,-118.318640","34.054927,-118.323726","34.075525,-118.361588","34.000215,-118.318803","33.945884,-118.325628","34.000895,-118.204929","34.076646,-118.376969","34.094986,-118.300885","34.018780,-118.317919","33.996658,-118.261708","34.057106,-118.361326","34.016137,-118.253523"]
        }
}
'

Optimized POST response

Once the request is made, we get a unique ID in the API response:

1
2
3
4
5
{
"id": "b25f9e62740c7cd5a1b9a7cb56ec604b",
"message": "Optimization job created",
"status": "Ok"
}

Optimized GET request

We take the ID and use the Optimization GET request to retrieve the original result. Here is the GET request:

1
2
curl --location 'https://api.nextbillion.io/optimization/v2/result?id=b25f9e62740c7cd5a1b9a7cb56ec604b
&key=<your_api_key>'

Following is the response

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
{
  "description": "Re-optimization (new-tasks) Example",
  "result": {
    "code": 0,
    "summary": {
      "cost": 7555,
      "routes": 2,
      "unassigned": 0,
      "service": 720,
      "duration": 7555,
      "waiting_time": 3446,
      "priority": 0,
      "delivery": [
        6
      ],
      "pickup": [
        22
      ],
      "distance": 96880.59999999999
    },
    "routes": [
      {
        "vehicle": 1,
        "cost": 2866,
        "steps": [
          {
            "type": "start",
            "arrival": 1693386190,
            "duration": 0,
            "service": 0,
            "waiting_time": 0,
            "location": [
              34.057106,
              -118.361326
            ],
            "location_index": 10,
            "load": [
              0
            ]
          },
          {
            "type": "job",
            "arrival": 1693386900,
            "duration": 710,
            "service": 120,
            "waiting_time": 0,
            "location": [
              34.08395,
              -118.31864
            ],
            "location_index": 0,
            "id": 1,
            "load": [
              3
            ]
          },
          {
            "type": "job",
            "arrival": 1693387533,
            "duration": 1223,
            "service": 120,
            "waiting_time": 0,
            "location": [
              34.054927,
              -118.323726
            ],
            "location_index": 1,
            "id": 2,
            "load": [
              8
            ]
          },
          {
            "type": "job",
            "arrival": 1693388166,
            "duration": 1736,
            "service": 120,
            "waiting_time": 0,
            "location": [
              34.075525,
              -118.361588
            ],
            "location_index": 2,
            "id": 3,
            "load": [
              10
            ]
          },
          {
            "type": "pickup",
            "arrival": 1693388496,
            "duration": 1946,
            "service": 0,
            "waiting_time": 2004,
            "location": [
              34.076646,
              -118.376969
            ],
            "location_index": 6,
            "id": 1,
            "load": [
              13
            ],
            "description": "Shipment Pickup 1"
          },
          {
            "type": "delivery",
            "arrival": 1693391420,
            "duration": 2866,
            "service": 0,
            "waiting_time": 580,
            "location": [
              34.094986,
              -118.300885
            ],
            "location_index": 7,
            "id": 1,
            "load": [
              10
            ],
            "description": "Shipment Delivery 1"
          },
          {
            "type": "end",
            "arrival": 1693392000,
            "duration": 2866,
            "service": 0,
            "waiting_time": 0,
            "location": [
              34.094986,
              -118.300885
            ],
            "location_index": 7,
            "load": [
              10
            ]
          }
        ],
        "service": 360,
        "duration": 2866,
        "waiting_time": 2584,
        "priority": 0,
        "delivery": [
          3
        ],
        "pickup": [
          13
        ],
        "distance": 28456.899999999998,
        "geometry": "ywznEjmlqUBG@G@GAEEEMIw@[q@WLoA@KB[JmAB_@?U@[?a@?iABiD?u@@c@@aB@iB@g@?S@_ABsF@aB?s@?k@@o@?m@@g@?UBgBB{EDcF@s@@qD@aB@[@gA?y@?]BuB?}@?W@m@?Q?W@{@?]?K@M?kA?Q?U?I@_@BuE@qA@W?c@DcB?u@?y@?M@}B@mA?]@g@@y@@s@a@Ii@MWG[IkA[cA[]Ia@Ma@MuCy@kBg@e@Mc@MmCu@]KW?KAI@K@M@KDGBC?MDWHE?M@QIM?O@O?}@@mB?cAAoC@w@?c@?c@@mB@Q?gE?_@?_@?_D?cAAkB@a@?g@?gAA}B@_E?kA?cF?iE?{A?gA@gCAM?s@@yBA]?o@?Q?{B?iF@iDAY?gEB_IAaFA[@[?_@?AaA?c@?U?g@?y@AwD?q@?}CAo@?qA?wA?g@?_C?O?OBY?Q@U?S?i@?i@?yAA_B?c@AwA?sA?e@@{AAcB?_@@{AAk@AO?_@?q@?W?m@?m@?i@AoA?u@?o@?i@?Y?o@?Q?y@?iBA{A@]?c@?[?u@?m@?W?m@?g@?e@?K?c@?g@?k@?cA?q@?e@?oB?a@?Y?i@AoB?Q?oA?oA?k@?e@?wA?s@_B@A`@@B?@?@?@DDBB@@@B?P?R?N?b@?d@?J?K?e@?c@?O?S?QACAACCEE?A?A?AAC@a@~AA?{A?]?iC?]?k@?o@?c@?_@?e@?Y?yA?qA?Y?y@?q@\\?\\?X?bA?^?tD?lGAlA?fB?R?hA?vAAf@?lE?|BAN@X?XBH@D@F@F@H@F?H@??D?J?H?P?H?X?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kA?M?eAAqA?gA?eA?mA?c@?Q?kAIAYCY?OA}B@mE?g@?wA@iA?S?gB?mA?mG@uD?_@?cA?Y?]?]??c@Ay@?U?y@?S?U?g@?a@?qA?U?e@?e@?mA?k@?SAe@?K@m@?U?]?aA?u@?o@?}@?O?A?SAmA?m@?iD?y@?s@?yBAk@?g@?o@Au@?k@?o@?g@?k@?iA?Y?o@?g@?m@?oB?M?O?GA[?o@?c@?_@?Q?C?O?qA?s@m@?aA?y@?QAM?U?S?U?O?C?I@K@A?G?wAAc@?U@oA?yC?_@@_B?kD?iJ@W?eA@eB?eB?wB?c@?{A?{A?m@?wD@iB?@z@?R??"
      },
      {
        "vehicle": 2,
        "cost": 4689,
        "steps": [
          {
            "type": "start",
            "arrival": 1693386089,
            "duration": 0,
            "service": 0,
            "waiting_time": 0,
            "location": [
              34.016137,
              -118.253523
            ],
            "location_index": 11,
            "load": [
              0
            ]
          },
          {
            "type": "job",
            "arrival": 1693386900,
            "duration": 811,
            "service": 120,
            "waiting_time": 0,
            "location": [
              34.000215,
              -118.318803
            ],
            "location_index": 3,
            "id": 8,
            "load": [
              2
            ]
          },
          {
            "type": "job",
            "arrival": 1693387621,
            "duration": 1412,
            "service": 120,
            "waiting_time": 0,
            "location": [
              33.945884,
              -118.325628
            ],
            "location_index": 4,
            "id": 9,
            "load": [
              4
            ]
          },
          {
            "type": "job",
            "arrival": 1693389175,
            "duration": 2846,
            "service": 120,
            "waiting_time": 0,
            "location": [
              34.000895,
              -118.204929
            ],
            "location_index": 5,
            "id": 10,
            "load": [
              6
            ]
          },
          {
            "type": "pickup",
            "arrival": 1693390410,
            "duration": 3961,
            "service": 0,
            "waiting_time": 90,
            "location": [
              34.01878,
              -118.317919
            ],
            "location_index": 8,
            "id": 2,
            "load": [
              9
            ],
            "description": "Shipment Pickup 2"
          },
          {
            "type": "delivery",
            "arrival": 1693391228,
            "duration": 4689,
            "service": 0,
            "waiting_time": 772,
            "location": [
              33.996658,
              -118.261708
            ],
            "location_index": 9,
            "id": 2,
            "load": [
              6
            ],
            "description": "Shipment Delivery 2"
          },
          {
            "type": "end",
            "arrival": 1693392000,
            "duration": 4689,
            "service": 0,
            "waiting_time": 0,
            "location": [
              33.996658,
              -118.261708
            ],
            "location_index": 9,
            "load": [
              6
            ]
          }
        ],
        "service": 360,
        "duration": 4689,
        "waiting_time": 862,
        "priority": 0,
        "delivery": [
          3
        ],
        "pickup": [
          9
        ],
        "distance": 68423.7,
        "geometry": "uwrnEbkwpUt@`@cA`D}@rC[`AUr@Qd@eCfHoBjFbB`AvAv@n@^n@^TLfAl@JFdAj@pAt@VLv@d@z@f@TNdAj@FDb@VTNFFDFFL_@hAqA|DUp@KZQf@Sp@MZa@nAEL?@Mb@M`@GLMf@ENIRENIRPNLLJHTLJD\\NL?XNZPt@`@zAx@LHl@ZnIvE`@TRJb@T`@VpAr@RLNHfAl@z@d@`CpAJHh@XVNp@\\BF@@@BBBDBHFHDJFd@T`@RbBt@f@XtAt@|@f@VNxAz@~@h@RJ^Rh@Xj@Xl@Zh@Zj@^VLRJPXDDPFJD?V@l@?H?R?^?@?H?J?fB?f@?V?n@?J?n@@hG@fC?J@vB?bA?j@?L?f@?`A@|@?^?`@?~A?\\?T?bA?X?b@?j@@R?R?N?f@?\\?tA?V@vB?R@`B?d@@dD@zK?Z?@@Z?|A?p@?N?L@b@?J@~C?f@?h@?v@?n@@Z?hA@~A?d@?x@@j@?dA?lB?N?R?f@?xB?^?l@?n@?~@Ah@?\\?v@?Z?r@?j@?l@AfA?dA?j@@n@?J?N?V?b@An@?r@?lA?xAAr@?fA?`A?f@?z@?r@?z@At@?H?`@@x@Ab@?J?dD?hE?P?jA?x@AvA?vA?h@?|A?tEArE?lA?Z?jA?T?R?t@?bA?h@?Z@pE?h@?d@?p@?j@?`I?f@?j@?t@@f@?L?\\?h@?b@?nB?\\?h@?d@?jB?\\?h@?d@@p@?\\?T?bA?p@j@CLA^Cf@CNAlB?nF?P@zAAh@?B?lA@?`B?`@?a@?a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?XAH?N?\\?r@ANAH?XCJE~@?rA?T?dB?vAAP?jA?b@?rA?h@?p@?`C?pCAb@?T?R?j@?b@?L?l@?v@?lA?d@?|@?jB?dDA`@?z@?n@?h@?vAAf@?L?h@?j@?^?T?X?r@?n@?rB?h@AhA@nA?fE@R?fH@X?dA?bA?N?b@?J?L@F@F?HB??D@FDHBHFFDGEIGICPqB@SNaBLcBHeBDw@Bo@Bu@?yDHm@Fa@F[Fa@BS@O?S?g@?S?S@[AO@a@D_@@Y?UAW@g@?i@?W?aE?_@?Y?W@}A?u@?_@BuA@kB@wA?SAeB?O?eA?W?O?sA?U@O?kA?oB@iB?aC?yA?_E@eE?_@?}B?k@?eACcG?qB?uD@S?{@?c@?kA?yA?cB?G@{A@a@CaB@y@?mA?{@@q@?gA?S?_@@{@^?f@?v@AtA@r@?|@?zB?n@?f@?^?dD?bA?tD?|A?bC?\\Ah@?\\?H?HGv@?bA?Aq@A]?I?I?KCy@Ag@Cq@?Y?WCmAGsDAaACo@AY?OCiACaAEcAAgAAs@?W?mBAoC?g@?m@?]AiB?yA?C?K?qA@Q?q@?g@@_@?]?W?O?m@L?Z@V?n@AzBA`@Ad@AHAhAIlBMbC]n@?x@?V?bBApC?zA?x@Af@?tDAH?v@?R?|AA~A?JAvAA`ACxDKhAE\\Cl@CdBGlBJ\\?v@@~@Bd@?vAAdA?r@?`@?R?L?R?`@?J?F?J??O?y@?MAG?I?S@i@?_@?gG?_@?u@?Y?k@?a@?O?a@?uB?[?k@?wK?s@?e@A]?w@?w@?g@?e@?_@AmBAiBAaI?_@?y@?U?y@?EAI?A?iDA_BA_BC_H?i@?S?W?_A@gA?o@AMAwP??"
      }
    ]
  },
  "status": "Ok",
  "message": ""
}

Following is a visual representation of the initial locations of tasks, vehicles and the routes suggested after optimization as per the given constraints.

Step 2: Incorporate new changes

In the original response, we can see that there were 2 routes that took care of all the tasks and none of them remained unassigned. Readers are encouraged to study both routes and task distribution in this solution.

We will now add 4 new jobs to the mix and decide what changes to the original request are needed to ensure that all new jobs can be assigned. Let’s look at the updated components used in our original request.

New Jobs & Shipments

For the new jobs, We added jobs 4 & 5 with time windows between the existing task windows We added new jobs 6 & 7 with time windows starting after all the existing jobs got over in the original solution, but within the vehicle shift timings. These jobs should be appended to the existing routes.

Let’s look at how the job JSON looks like now with new changes:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
{
  "jobs": [
    {
      "id": 1,
      "location_index": 0,
      "service": 120,
      "pickup": [
        3
      ],
      "skills": [
        1
      ],
      "time_windows": [
        [
          1693386000,
          1693386900
        ]
      ]
    },
    {
      "id": 2,
      "location_index": 1,
      "service": 120,
      "skills": [
        1
      ],
      "pickup": [
        5
      ],
      "time_windows": [
        [
          1693386900,
          1693387800
        ]
      ]
    },
    {
      "id": 3,
      "location_index": 2,
      "service": 120,
      "pickup": [
        2
      ],
      "skills": [
        1
      ],
      "time_windows": [
        [
          1693387800,
          1693388700
        ]
      ]
    },
    {
      "id": 8,
      "location_index": 3,
      "service": 120,
      "pickup": [
        2
      ],
      "skills": [
        2
      ],
      "time_windows": [
        [
          1693388400,
          1693389300
        ]
      ]
    },
    {
      "id": 9,
      "location_index": 4,
      "service": 120,
      "pickup": [
        2
      ],
      "skills": [
        2
      ],
      "time_windows": [
        [
          1693387200,
          1693388100
        ]
      ]
    },
    {
      "id": 10,
      "location_index": 5,
      "service": 120,
      "pickup": [
        2
      ],
      "skills": [
        2
      ],
      "time_windows": [
        [
          1693386000,
          1693386900
        ]
      ]
    },
    {
      "id": 4,
      "location_index": 12,
      "service": 120,
      "pickup": [
        2
      ],
      "skills": [
        1
      ],
      "time_windows": [
        [
          1693389000,
          1693389600
        ]
      ]
    },
    {
      "id": 5,
      "location_index": 13,
      "service": 120,
      "pickup": [
        3
      ],
      "skills": [
        1
      ],
      "time_windows": [
        [
          1693389900,
          1693390200
        ]
      ]
    },
    {
      "id": 6,
      "location_index": 14,
      "service": 120,
      "pickup": [
        4
      ],
      "skills": [
        1
      ],
      "time_windows": [
        [
          1693394100,
          1693395000
        ]
      ]
    },
    {
      "id": 7,
      "location_index": 15,
      "service": 120,
      "pickup": [
        5
      ],
      "skills": [
        2
      ],
      "time_windows": [
        [
          1693395000,
          1693395900
        ]
      ]
    }
  ],
  "shipments": [
    {
      "pickup": {
        "description": "Shipment Pickup 1",
        "id": 1,
        "location_index": 6,
        "time_windows": [
          [
            1693390500,
            1693390800
          ]
        ]
      },
      "delivery": {
        "description": "Shipment Delivery 1",
        "id": 1,
        "location_index": 7,
        "time_windows": [
          [
            1693392000,
            1693392300
          ]
        ]
      },
      "skills": [
        1
      ],
      "amount": [
        3
      ]
    },
    {
      "pickup": {
        "description": "Shipment Pickup 2",
        "id": 2,
        "location_index": 8,
        "time_windows": [
          [
            1693390500,
            1693390800
          ]
        ]
      },
      "delivery": {
        "description": "Shipment Delivery 2",
        "id": 2,
        "location_index": 9,
        "time_windows": [
          [
            1693392000,
            1693392300
          ]
        ]
      },
      "skills": [
        2
      ],
      "amount": [
        3
      ]
    }
  ]
}

New Vehicles

Looking at the new tasks added, there is no need to add a new skill or extend vehicle time shifts. However, we do need to update the vehicle capacity so that the new tasks can be carried out. Following is the vehicle JSON after incorporating the new changes:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  "vehicles": [
    {
      "id": 1,
      "start_index": 10,
      "skills": [
        1
      ],
      "capacity": [
        30
      ],
      "time_window": [
        1693385100,
        1693400400
      ]
    },
    {
      "id": 2,
      "start_index": 11,
      "skills": [
        2
      ],
      "capacity": [
        30
      ],
      "time_window": [
        1693385100,
        1693400400
      ]
    }
  ]
}

New Locations

The locations object also needs to be updated with the locations of the newly added tasks. Following is the new locations JSON:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  "locations": {
    "id": 1,
    "location": [
      "34.083950,-118.318640",
      "34.054927,-118.323726",
      "34.075525,-118.361588",
      "34.000215,-118.318803",
      "33.945884,-118.325628",
      "34.000895,-118.204929",
      "34.076646,-118.376969",
      "34.094986,-118.300885",
      "34.018780,-118.317919",
      "33.996658,-118.261708",
      "34.057106,-118.361326",
      "34.016137,-118.253523",
      "34.076350,-118.338519",
      "34.090425,-118.338933",
      "34.037925,-118.459842",
      "34.004364,-118.421170"
    ]
  }
}

Step 3: Prepare for re-optimization

As a business operator when we get last minute new orders or changes to existing task time windows or any other change of sort in general, it might be in our interest to accommodate the new changes in the existing plan with minimal changes. In order to do that, we have updated our input request to add new tasks received and made other changes needed to our original optimization request to model the situation.

Now, in order to ensure that this new problem is not treated as a new request but as a re-optimization request instead, we add the original route plan to the solution section of the input request. This will ensure minimal changes to the existing route plan while taking care of the new tasks.

Solution

We build this object by adding the route details from the original solution as it is. Following is the JSON for solution part:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
{
  "solution": [
    {
      "vehicle": 1,
      "cost": 2866,
      "steps": [
        {
          "type": "start",
          "arrival": 1693386190,
          "duration": 0,
          "service": 0,
          "waiting_time": 0,
          "location": [
            34.057106,
            -118.361326
          ],
          "location_index": 10,
          "load": [
            0
          ]
        },
        {
          "type": "job",
          "arrival": 1693386900,
          "duration": 710,
          "service": 120,
          "waiting_time": 0,
          "location": [
            34.08395,
            -118.31864
          ],
          "location_index": 0,
          "id": 1,
          "load": [
            3
          ]
        },
        {
          "type": "job",
          "arrival": 1693387533,
          "duration": 1223,
          "service": 120,
          "waiting_time": 0,
          "location": [
            34.054927,
            -118.323726
          ],
          "location_index": 1,
          "id": 2,
          "load": [
            8
          ]
        },
        {
          "type": "job",
          "arrival": 1693388166,
          "duration": 1736,
          "service": 120,
          "waiting_time": 0,
          "location": [
            34.075525,
            -118.361588
          ],
          "location_index": 2,
          "id": 3,
          "load": [
            10
          ]
        },
        {
          "type": "pickup",
          "arrival": 1693388496,
          "duration": 1946,
          "service": 0,
          "waiting_time": 2004,
          "location": [
            34.076646,
            -118.376969
          ],
          "location_index": 6,
          "id": 1,
          "load": [
            13
          ],
          "description": "Shipment Pickup 1"
        },
        {
          "type": "delivery",
          "arrival": 1693391420,
          "duration": 2866,
          "service": 0,
          "waiting_time": 580,
          "location": [
            34.094986,
            -118.300885
          ],
          "location_index": 7,
          "id": 1,
          "load": [
            10
          ],
          "description": "Shipment Delivery 1"
        },
        {
          "type": "end",
          "arrival": 1693392000,
          "duration": 2866,
          "service": 0,
          "waiting_time": 0,
          "location": [
            34.094986,
            -118.300885
          ],
          "location_index": 7,
          "load": [
            10
          ]
        }
      ],
      "service": 360,
      "duration": 2866,
      "waiting_time": 2584,
      "priority": 0,
      "delivery": [
        3
      ],
      "pickup": [
        13
      ],
      "distance": 28456.899999999998,
      "geometry": "ywznEjmlqUBG@G@GAEEEMIw@[q@WLoA@KB[JmAB_@?U@[?a@?iABiD?u@@c@@aB@iB@g@?S@_ABsF@aB?s@?k@@o@?m@@g@?UBgBB{EDcF@s@@qD@aB@[@gA?y@?]BuB?}@?W@m@?Q?W@{@?]?K@M?kA?Q?U?I@_@BuE@qA@W?c@DcB?u@?y@?M@}B@mA?]@g@@y@@s@a@Ii@MWG[IkA[cA[]Ia@Ma@MuCy@kBg@e@Mc@MmCu@]KW?KAI@K@M@KDGBC?MDWHE?M@QIM?O@O?}@@mB?cAAoC@w@?c@?c@@mB@Q?gE?_@?_@?_D?cAAkB@a@?g@?gAA}B@_E?kA?cF?iE?{A?gA@gCAM?s@@yBA]?o@?Q?{B?iF@iDAY?gEB_IAaFA[@[?_@?AaA?c@?U?g@?y@AwD?q@?}CAo@?qA?wA?g@?_C?O?OBY?Q@U?S?i@?i@?yAA_B?c@AwA?sA?e@@{AAcB?_@@{AAk@AO?_@?q@?W?m@?m@?i@AoA?u@?o@?i@?Y?o@?Q?y@?iBA{A@]?c@?[?u@?m@?W?m@?g@?e@?K?c@?g@?k@?cA?q@?e@?oB?a@?Y?i@AoB?Q?oA?oA?k@?e@?wA?s@_B@A`@@B?@?@?@DDBB@@@B?P?R?N?b@?d@?J?K?e@?c@?O?S?QACAACCEE?A?A?AAC@a@~AA?{A?]?iC?]?k@?o@?c@?_@?e@?Y?yA?qA?Y?y@?q@\\?\\?X?bA?^?tD?lGAlA?f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iB?m@?m@?o@AuB?m@?e@?c@?m@?u@?m@?g@?a@?y@?uA?S?aB?I?kA?M?eAAqA?gA?eA?mA?c@?Q?kAIAYCY?OA}B@mE?g@?wA@iA?S?gB?mA?mG@uD?_@?cA?Y?]?]??c@Ay@?U?y@?S?U?g@?a@?qA?U?e@?e@?mA?k@?SAe@?K@m@?U?]?aA?u@?o@?}@?O?A?SAmA?m@?iD?y@?s@?yBAk@?g@?o@Au@?k@?o@?g@?k@?iA?Y?o@?g@?m@?oB?M?O?GA[?o@?c@?_@?Q?C?O?qA?s@m@?aA?y@?QAM?U?S?U?O?C?I@K@A?G?wAAc@?U@oA?yC?_@@_B?kD?iJ@W?eA@eB?eB?wB?c@?{A?{A?m@?wD@iB?@z@?R??"
    },
    {
      "vehicle": 2,
      "cost": 4689,
      "steps": [
        {
          "type": "start",
          "arrival": 1693386089,
          "duration": 0,
          "service": 0,
          "waiting_time": 0,
          "location": [
            34.016137,
            -118.253523
          ],
          "location_index": 11,
          "load": [
            0
          ]
        },
        {
          "type": "job",
          "arrival": 1693386900,
          "duration": 811,
          "service": 120,
          "waiting_time": 0,
          "location": [
            34.000215,
            -118.318803
          ],
          "location_index": 3,
          "id": 8,
          "load": [
            2
          ]
        },
        {
          "type": "job",
          "arrival": 1693387621,
          "duration": 1412,
          "service": 120,
          "waiting_time": 0,
          "location": [
            33.945884,
            -118.325628
          ],
          "location_index": 4,
          "id": 9,
          "load": [
            4
          ]
        },
        {
          "type": "job",
          "arrival": 1693389175,
          "duration": 2846,
          "service": 120,
          "waiting_time": 0,
          "location": [
            34.000895,
            -118.204929
          ],
          "location_index": 5,
          "id": 10,
          "load": [
            6
          ]
        },
        {
          "type": "pickup",
          "arrival": 1693390410,
          "duration": 3961,
          "service": 0,
          "waiting_time": 90,
          "location": [
            34.01878,
            -118.317919
          ],
          "location_index": 8,
          "id": 2,
          "load": [
            9
          ],
          "description": "Shipment Pickup 2"
        },
        {
          "type": "delivery",
          "arrival": 1693391228,
          "duration": 4689,
          "service": 0,
          "waiting_time": 772,
          "location": [
            33.996658,
            -118.261708
          ],
          "location_index": 9,
          "id": 2,
          "load": [
            6
          ],
          "description": "Shipment Delivery 2"
        },
        {
          "type": "end",
          "arrival": 1693392000,
          "duration": 4689,
          "service": 0,
          "waiting_time": 0,
          "location": [
            33.996658,
            -118.261708
          ],
          "location_index": 9,
          "load": [
            6
          ]
        }
      ],
      "service": 360,
      "duration": 4689,
      "waiting_time": 862,
      "priority": 0,
      "delivery": [
        3
      ],
      "pickup": [
        9
      ],
      "distance": 68423.7,
      "geometry": "uwrnEbkwpUt@`@cA`D}@rC[`AUr@Qd@eCfHoBjFbB`AvAv@n@^n@^TLfAl@JFdAj@pAt@VLv@d@z@f@TNdAj@FDb@VTNFFDFFL_@hAqA|DUp@KZQf@Sp@MZa@nAEL?@Mb@M`@GLMf@ENIRENIRPNLLJHTLJD\\NL?XNZPt@`@zAx@LHl@ZnIvE`@TRJb@T`@VpAr@RLNHfAl@z@d@`CpAJHh@XVNp@\\BF@@@BBBDBHFHDJFd@T`@RbBt@f@XtAt@|@f@VNxAz@~@h@RJ^Rh@Xj@Xl@Zh@Zj@^VLRJPXDDPFJD?V@l@?H?R?^?@?H?J?fB?f@?V?n@?J?n@@hG@fC?J@vB?bA?j@?L?f@?`A@|@?^?`@?~A?\\?T?bA?X?b@?j@@R?R?N?f@?\\?tA?V@vB?R@`B?d@@dD@zK?Z?@@Z?|A?p@?N?L@b@?J@~C?f@?h@?v@?n@@Z?hA@~A?d@?x@@j@?dA?lB?N?R?f@?xB?^?l@?n@?~@Ah@?\\?v@?Z?r@?j@?l@AfA?dA?j@@n@?J?N?V?b@An@?r@?lA?xAAr@?fA?`A?f@?z@?r@?z@At@?H?`@@x@Ab@?J?dD?hE?P?jA?x@AvA?vA?h@?|A?tEArE?lA?Z?jA?T?R?t@?bA?h@?Z@pE?h@?d@?p@?j@?`I?f@?j@?t@@f@?L?\\?h@?b@?nB?\\?h@?d@?jB?\\?h@?d@@p@?\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Bb@NzC@X?@@n@@dA@`B@tA@tABr@Bp@J~A@XBX?D@F?B@BT@f@@J?XAH?N?\\?r@ANAH?XCJE~@?rA?T?dB?vAAP?jA?b@?rA?h@?p@?`C?pCAb@?T?R?j@?b@?L?l@?v@?lA?d@?|@?jB?dDA`@?z@?n@?h@?vAAf@?L?h@?j@?^?T?X?r@?n@?rB?h@AhA@nA?fE@R?fH@X?dA?bA?N?b@?J?L@F@F?HB??D@FDHBHFFDGEIGICPqB@SNaBLcBHeBDw@Bo@Bu@?yDHm@Fa@F[Fa@BS@O?S?g@?S?S@[AO@a@D_@@Y?UAW@g@?i@?W?aE?_@?Y?W@}A?u@?_@BuA@kB@wA?SAeB?O?eA?W?O?sA?U@O?kA?oB@iB?aC?yA?_E@eE?_@?}B?k@?eACcG?qB?uD@S?{@?c@?kA?yA?cB?G@{A@a@CaB@y@?mA?{@@q@?gA?S?_@@{@^?f@?v@AtA@r@?|@?zB?n@?f@?^?dD?bA?tD?|A?bC?\\Ah@?\\?H?HGv@?bA?Aq@A]?I?I?KCy@Ag@Cq@?Y?WCmAGsDAaACo@AY?OCiACaAEcAAgAAs@?W?mBAoC?g@?m@?]AiB?yA?C?K?qA@Q?q@?g@@_@?]?W?O?m@L?Z@V?n@AzBA`@Ad@AHAhAIlBMbC]n@?x@?V?bBApC?zA?x@Af@?tDAH?v@?R?|AA~A?JAvAA`ACxDKhAE\\Cl@CdBGlBJ\\?v@@~@Bd@?vAAdA?r@?`@?R?L?R?`@?J?F?J??O?y@?MAG?I?S@i@?_@?gG?_@?u@?Y?k@?a@?O?a@?uB?[?k@?wK?s@?e@A]?w@?w@?g@?e@?_@AmBAiBAaI?_@?y@?U?y@?EAI?A?iDA_BA_BC_H?i@?S?W?_A@gA?o@AMAwP??"
    }
  ]
}

Optimization POST Request

Now let’s put all these components together and create the final POST request that we will submit to the optimizer. Please ensure to add the new jobs, shipments, vehicles & locations attributes, reflecting the updated changes, instead of the original ones. Following is the final re-optimization request.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
curl --location 'https://api.nextbillion.io/optimization/v2?key=<your_api_key>' \
--header 'Content-Type: application/json' \
--data-raw '{
   "description": "Re-optimization (new-tasks) Example",
   "jobs": [
       {
           "id": 1,
           "location_index": 0,
           "service": 120,
           "pickup":[3],
           "skills": [1],
           "time_windows": [
               [
                   1693386000,
                   1693386900
               ]
           ]
       },
       {
           "id": 2,
           "location_index": 1,
           "service": 120,
           "skills": [1],
           "pickup":[5],
           "time_windows": [
               [
                   1693386900,
                   1693387800
               ]
           ]
       },
       {
           "id": 3,
           "location_index": 2,
           "service": 120,
           "pickup":[2],
           "skills": [1],
           "time_windows": [
               [
                   1693387800,
                   1693388700
               ]
           ]
       },
       {
           "id": 8,
           "location_index": 3,
           "service": 120,
           "pickup":[2],
           "skills": [2],
           "time_windows": [
               [
                   1693386000,
                   1693386900
               ]
           ]
       },
       {
           "id": 9,
           "location_index": 4,
           "service": 120,
           "pickup":[2],
           "skills": [2],
           "time_windows": [
               [
                   1693387200,
                   1693388100
               ]
           ]
       },
       {
           "id": 10,
           "location_index": 5,
           "service": 120,
           "pickup":[2],
           "skills": [2],
           "time_windows": [
               [
                   1693388400,
                   1693389300
               ]
           ]
       },
       {
           "id": 4,
           "location_index": 12,
           "service": 120,
           "pickup":[2],
           "skills": [1],
           "time_windows": [
               [
                   1693389000,
                   1693389600
               ]
           ]
       },
       {
           "id": 5,
           "location_index": 13,
           "service": 120,
           "pickup":[3],
           "skills": [1],
           "time_windows": [
               [
                   1693389900,
                   1693390200
               ]
           ]
       },
       {
           "id": 6,
           "location_index": 14,
           "service": 120,
           "pickup":[4],
           "skills": [1],
           "time_windows": [
               [
                   1693394100,
                   1693395000
               ]
           ]
       },
       {
           "id": 7,
           "location_index": 15,
           "service": 120,
           "pickup":[5],
           "skills": [2],
           "time_windows": [
               [
                   1693395000,
                   1693395900
               ]
           ]
       }
   ],
   "shipments": [
       {
        "pickup":{
           "description": "Shipment Pickup 1",
           "id":1,
           "location_index":6,
           "time_windows":[[1693390500,1693390800]]
        },
        "delivery":{
           "description": "Shipment Delivery 1",
           "id":1,
           "location_index":7,
           "time_windows":[[1693392000,1693392300]]
           },
        "skills":[1],
        "amount":[3]
        },
        {
        "pickup":{
           "description": "Shipment Pickup 2",
           "id":2,
           "location_index":8,
           "time_windows":[[1693390500,1693390800]]
        },
        "delivery":{
           "description": "Shipment Delivery 2",
           "id":2,
           "location_index":9,
           "time_windows":[[1693392000,1693392300]]
           },
        "skills":[2],
        "amount":[3]
        }
   ],
   "vehicles": [
       {
           "id": 1,
           "start_index": 10,
           "end_index": 7 ,
           "skills":[1],
           "capacity":[30],
           "time_window": [
               1693385100,
                   1693400400
           ]
       },
       {
           "id": 2,
           "start_index": 11,
           "end_index": 9,
           "skills":[2],
           "capacity":[30],
           "time_window": [
               1693385100,
                   1693400400
           ]
       }
   ],
    "locations":
        {
            "id": 1,
            "location": ["34.083950,-118.318640","34.054927,-118.323726","34.075525,-118.361588","34.000215,-118.318803","33.945884,-118.325628","34.000895,-118.204929","34.076646,-118.376969","34.094986,-118.300885","34.018780,-118.317919","33.996658,-118.261708","34.057106,-118.361326","34.016137,-118.253523","34.076350,-118.338519","34.090425,-118.338933","34.037925,-118.459842","34.004364,-118.421170"]
        },
    "solution":[
            {
                "vehicle": 1,
                "cost": 2866,
                "steps": [
                    {
                        "type": "start",
                        "arrival": 1693386190,
                        "duration": 0,
                        "service": 0,
                        "waiting_time": 0,
                        "location": [
                            34.057106,
                            -118.361326
                        ],
                        "location_index": 10,
                        "load": [
                            0
                        ]
                    },
                    {
                        "type": "job",
                        "arrival": 1693386900,
                        "duration": 710,
                        "service": 120,
                        "waiting_time": 0,
                        "location": [
                            34.08395,
                            -118.31864
                        ],
                        "location_index": 0,
                        "id": 1,
                        "load": [
                            3
                        ]
                    },
                    {
                        "type": "job",
                        "arrival": 1693387533,
                        "duration": 1223,
                        "service": 120,
                        "waiting_time": 0,
                        "location": [
                            34.054927,
                            -118.323726
                        ],
                        "location_index": 1,
                        "id": 2,
                        "load": [
                            8
                        ]
                    },
                    {
                        "type": "job",
                        "arrival": 1693388166,
                        "duration": 1736,
                        "service": 120,
                        "waiting_time": 0,
                        "location": [
                            34.075525,
                            -118.361588
                        ],
                        "location_index": 2,
                        "id": 3,
                        "load": [
                            10
                        ]
                    },
                    {
                        "type": "pickup",
                        "arrival": 1693388496,
                        "duration": 1946,
                        "service": 0,
                        "waiting_time": 2004,
                        "location": [
                            34.076646,
                            -118.376969
                        ],
                        "location_index": 6,
                        "id": 1,
                        "load": [
                            13
                        ],
                        "description": "Shipment Pickup 1"
                    },
                    {
                        "type": "delivery",
                        "arrival": 1693391420,
                        "duration": 2866,
                        "service": 0,
                        "waiting_time": 580,
                        "location": [
                            34.094986,
                            -118.300885
                        ],
                        "location_index": 7,
                        "id": 1,
                        "load": [
                            10
                        ],
                        "description": "Shipment Delivery 1"
                    },
                    {
                        "type": "end",
                        "arrival": 1693392000,
                        "duration": 2866,
                        "service": 0,
                        "waiting_time": 0,
                        "location": [
                            34.094986,
                            -118.300885
                        ],
                        "location_index": 7,
                        "load": [
                            10
                        ]
                    }
                ],
                "service": 360,
                "duration": 2866,
                "waiting_time": 2584,
                "priority": 0,
                "delivery": [
                    3
                ],
                "pickup": [
                    13
                ],
                "distance": 28456.899999999998,
                "geometry": "ywznEjmlqUBG@G@GAEEEMIw@[q@WLoA@KB[JmAB_@?U@[?a@?iABiD?u@@c@@aB@iB@g@?S@_ABsF@aB?s@?k@@o@?m@@g@?UBgBB{EDcF@s@@qD@aB@[@gA?y@?]BuB?}@?W@m@?Q?W@{@?]?K@M?kA?Q?U?I@_@BuE@qA@W?c@DcB?u@?y@?M@}B@mA?]@g@@y@@s@a@Ii@MWG[IkA[cA[]Ia@Ma@MuCy@kBg@e@Mc@MmCu@]KW?KAI@K@M@KDGBC?MDWHE?M@QIM?O@O?}@@mB?cAAoC@w@?c@?c@@mB@Q?gE?_@?_@?_D?cAAkB@a@?g@?gAA}B@_E?kA?cF?iE?{A?gA@gCAM?s@@yBA]?o@?Q?{B?iF@iDAY?gEB_IAaFA[@[?_@?AaA?c@?U?g@?y@AwD?q@?}CAo@?qA?wA?g@?_C?O?OBY?Q@U?S?i@?i@?yAA_B?c@AwA?sA?e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q@?u@?w@?U?e@Ao@@yEAgB?}@?o@?s@?uB?o@?m@?a@Ac@?m@?q@?Y?q@?s@?i@?[AoA?y@?e@?uC?y@?e@?e@AiAAs@?O@K?K@O@O@O@Y?_@?_@?oA@_ADK@K@K@Q?W?K?mA?YAy@?c@?k@@U@U@]BYN{ALqA^wDBSDq@@Y?QASGM?UAMAU?C?CEa@I_@AGK]GSIWKWIY?CEOESE]Ec@?EAM?I?G?G?U?o@@cC?c@?_A?w@AU@g@?cB?S?qA?e@?S?U@_@?k@?wB?m@?o@AiB?m@?m@?o@AuB?m@?e@?c@?m@?u@?m@?g@?a@?y@?uA?S?aB?I?kA?M?eAAqA?gA?eA?mA?c@?Q?kAIAYCY?OA}B@mE?g@?wA@iA?S?gB?mA?mG@uD?_@?cA?Y?]?]??c@Ay@?U?y@?S?U?g@?a@?qA?U?e@?e@?mA?k@?SAe@?K@m@?U?]?aA?u@?o@?}@?O?A?SAmA?m@?iD?y@?s@?yBAk@?g@?o@Au@?k@?o@?g@?k@?iA?Y?o@?g@?m@?oB?M?O?GA[?o@?c@?_@?Q?C?O?qA?s@m@?aA?y@?QAM?U?S?U?O?C?I@K@A?G?wAAc@?U@oA?yC?_@@_B?kD?iJ@W?eA@eB?eB?wB?c@?{A?{A?m@?wD@iB?@z@?R??"
            },
            {
                "vehicle": 2,
                "cost": 4689,
                "steps": [
                    {
                        "type": "start",
                        "arrival": 1693386089,
                        "duration": 0,
                        "service": 0,
                        "waiting_time": 0,
                        "location": [
                            34.016137,
                            -118.253523
                        ],
                        "location_index": 11,
                        "load": [
                            0
                        ]
                    },
                    {
                        "type": "job",
                        "arrival": 1693386900,
                        "duration": 811,
                        "service": 120,
                        "waiting_time": 0,
                        "location": [
                            34.000215,
                            -118.318803
                        ],
                        "location_index": 3,
                        "id": 8,
                        "load": [
                            2
                        ]
                    },
                    {
                        "type": "job",
                        "arrival": 1693387621,
                        "duration": 1412,
                        "service": 120,
                        "waiting_time": 0,
                        "location": [
                            33.945884,
                            -118.325628
                        ],
                        "location_index": 4,
                        "id": 9,
                        "load": [
                            4
                        ]
                    },
                    {
                        "type": "job",
                        "arrival": 1693389175,
                        "duration": 2846,
                        "service": 120,
                        "waiting_time": 0,
                        "location": [
                            34.000895,
                            -118.204929
                        ],
                        "location_index": 5,
                        "id": 10,
                        "load": [
                            6
                        ]
                    },
                    {
                        "type": "pickup",
                        "arrival": 1693390410,
                        "duration": 3961,
                        "service": 0,
                        "waiting_time": 90,
                        "location": [
                            34.01878,
                            -118.317919
                        ],
                        "location_index": 8,
                        "id": 2,
                        "load": [
                            9
                        ],
                        "description": "Shipment Pickup 2"
                    },
                    {
                        "type": "delivery",
                        "arrival": 1693391228,
                        "duration": 4689,
                        "service": 0,
                        "waiting_time": 772,
                        "location": [
                            33.996658,
                            -118.261708
                        ],
                        "location_index": 9,
                        "id": 2,
                        "load": [
                            6
                        ],
                        "description": "Shipment Delivery 2"
                    },
                    {
                        "type": "end",
                        "arrival": 1693392000,
                        "duration": 4689,
                        "service": 0,
                        "waiting_time": 0,
                        "location": [
                            33.996658,
                            -118.261708
                        ],
                        "location_index": 9,
                        "load": [
                            6
                        ]
                    }
                ],
                "service": 360,
                "duration": 4689,
                "waiting_time": 862,
                "priority": 0,
                "delivery": [
                    3
                ],
                "pickup": [
                    9
                ],
                "distance": 68423.7,
                "geometry": "uwrnEbkwpUt@`@cA`D}@rC[`AUr@Qd@eCfHoBjFbB`AvAv@n@^n@^TLfAl@JFdAj@pAt@VLv@d@z@f@TNdAj@FDb@VTNFFDFFL_@hAqA|DUp@KZQf@Sp@MZa@nAEL?@Mb@M`@GLMf@ENIRENIRPNLLJHTLJD\\NL?XNZPt@`@zAx@LHl@ZnIvE`@TRJb@T`@VpAr@RLNHfAl@z@d@`CpAJHh@XVNp@\\BF@@@BBBDBHFHDJFd@T`@RbBt@f@XtAt@|@f@VNxAz@~@h@RJ^Rh@Xj@Xl@Zh@Zj@^VLRJPXDDPFJD?V@l@?H?R?^?@?H?J?fB?f@?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?O?m@L?Z@V?n@AzBA`@Ad@AHAhAIlBMbC]n@?x@?V?bBApC?zA?x@Af@?tDAH?v@?R?|AA~A?JAvAA`ACxDKhAE\\Cl@CdBGlBJ\\?v@@~@Bd@?vAAdA?r@?`@?R?L?R?`@?J?F?J??O?y@?MAG?I?S@i@?_@?gG?_@?u@?Y?k@?a@?O?a@?uB?[?k@?wK?s@?e@A]?w@?w@?g@?e@?_@AmBAiBAaI?_@?y@?U?y@?EAI?A?iDA_BA_BC_H?i@?S?W?_A@gA?o@AMAwP??"
            }
        ]
}
'

Optimization POST Response

Once the request is made, we get a unique ID in the API response:

1
2
3
4
5
6
7
8
{
"id": "92b34b5c85baceafc1b200ca7e2e14db",
"message": "Optimization job created",
"status": "Ok",
"warning": [
"location_index[7] and 1 others are used for both pickups/deliveries as well as vehicle start/end"
]
}

Optimization GET Request

We take the ID and use the Optimization GET request to retrieve the result. Here is the GET request:

1
2
curl --location 'https://api.nextbillion.io/optimization/v2/result?id=92b34b5c85baceafc1b200ca7e2e14db
&key=<your_api_key>'

Optimization GET Response

Following is the optimized route plan:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
{
  "description": "Re-optimization (new-tasks) Example",
  "result": {
    "code": 0,
    "summary": {
      "cost": 13663,
      "routes": 2,
      "unassigned": 0,
      "service": 1200,
      "duration": 13663,
      "waiting_time": 4886,
      "priority": 0,
      "delivery": [
        6
      ],
      "pickup": [
        36
      ],
      "distance": 221547.7
    },
    "routes": [
      {
        "vehicle": 1,
        "cost": 6135,
        "steps": [
          {
            "type": "start",
            "arrival": 1693386140,
            "duration": 0,
            "service": 0,
            "waiting_time": 0,
            "location": [
              34.057106,
              -118.361326
            ],
            "location_index": 10,
            "load": [
              0
            ]
          },
          {
            "type": "job",
            "arrival": 1693386900,
            "duration": 760,
            "service": 120,
            "waiting_time": 0,
            "location": [
              34.08395,
              -118.31864
            ],
            "location_index": 0,
            "id": 1,
            "load": [
              3
            ]
          },
          {
            "type": "job",
            "arrival": 1693387513,
            "duration": 1253,
            "service": 120,
            "waiting_time": 0,
            "location": [
              34.054927,
              -118.323726
            ],
            "location_index": 1,
            "id": 2,
            "load": [
              8
            ]
          },
          {
            "type": "job",
            "arrival": 1693388183,
            "duration": 1803,
            "service": 120,
            "waiting_time": 0,
            "location": [
              34.075525,
              -118.361588
            ],
            "location_index": 2,
            "id": 3,
            "load": [
              10
            ]
          },
          {
            "type": "job",
            "arrival": 1693388541,
            "duration": 2041,
            "service": 120,
            "waiting_time": 459,
            "location": [
              34.07635,
              -118.338519
            ],
            "location_index": 12,
            "id": 4,
            "load": [
              12
            ]
          },
          {
            "type": "job",
            "arrival": 1693389302,
            "duration": 2223,
            "service": 120,
            "waiting_time": 598,
            "location": [
              34.090425,
              -118.338933
            ],
            "location_index": 13,
            "id": 5,
            "load": [
              15
            ]
          },
          {
            "type": "pickup",
            "arrival": 1693390563,
            "duration": 2766,
            "service": 0,
            "waiting_time": 0,
            "location": [
              34.076646,
              -118.376969
            ],
            "location_index": 6,
            "id": 1,
            "load": [
              18
            ],
            "description": "Shipment Pickup 1"
          },
          {
            "type": "delivery",
            "arrival": 1693391473,
            "duration": 3676,
            "service": 0,
            "waiting_time": 527,
            "location": [
              34.094986,
              -118.300885
            ],
            "location_index": 7,
            "id": 1,
            "load": [
              15
            ],
            "description": "Shipment Delivery 1"
          },
          {
            "type": "job",
            "arrival": 1693393173,
            "duration": 4849,
            "service": 120,
            "waiting_time": 927,
            "location": [
              34.037925,
              -118.459842
            ],
            "location_index": 14,
            "id": 6,
            "load": [
              19
            ]
          },
          {
            "type": "end",
            "arrival": 1693395506,
            "duration": 6135,
            "service": 0,
            "waiting_time": 0,
            "location": [
              34.094986,
              -118.300885
            ],
            "location_index": 7,
            "load": [
              19
            ]
          }
        ],
        "service": 720,
        "duration": 6135,
        "waiting_time": 2511,
        "priority": 0,
        "delivery": [
          3
        ],
        "pickup": [
          22
        ],
        "distance": 93004.3,
        "geometry": "ywznEjmlqUBG@G@GAEEEMIw@[q@WLoA@KB[JmAB_@?U@[?a@?iABiD?u@@c@@aB@iB@g@?S@_ABsF@aB?s@?k@@o@?m@@g@?UBgBB{EDcF@s@@qD@aB@[@gA?y@?]BuB?}@?W@m@?Q?W@{@?]?K@M?kA?Q?U?I@_@BuE@qA@W?c@DcB?u@?y@?M@}B@mA?]@g@@y@@s@@c@@aA?S?U@aB@g@?e@@s@?c@@uA?m@@o@?cC@u@@{@@o@?sA?Y?Q?I?Y@m@@g@AG?A?g@@[BUBU[K]Ia@Mo@SyEuAm@S_@KICgFyA{Ae@g@OA]@iB?MBsBsAa@k@O]IIEIAGAOA?cA@a@?sA@iA@kA?Q?U@oA?e@?U?k@QAkA@c@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]Wc@}@aBYi@]m@AEQ[Ue@S]KSGMWg@Wg@_@u@Q_@_@s@[k@EIGQa@u@S]oFgKIUS_@[o@uAmC[m@GMwBgEUg@]o@ACOWSa@i@aAMWi@cA_@m@o@_AUYY]QSW[QQQSaAaAWU_@Y{DwCUSc@]KGWSKIOQQS_@W_Ay@QQWWq@k@KKu@s@e@c@SQqAsAq@q@MMUUMO[]aAy@e@g@QSa@a@QQSS]_@}B{Cy@eA}@iBS_@KQSYe@q@q@cAoBgCSYaAwAUUWQMIQGYKGAEAGAWCOCI?M?E?]Eo@EWBSBODC@QJMHC@QPOTILILwA`Da@|@yAjCYf@e@fAQX]d@_@d@a@l@_@j@QZ]j@MROVU^_@h@S^QXOXOVOVEJEFO\\Q^Qb@KTOZKVUn@Qh@Up@Sp@W|@YhAAFoA|EUz@ADcAdE{@lDOf@Qp@c@dBGTI^a@bBIZQp@Qr@CH_@xAw@jCCDGVUn@Qd@CHGPM\\_EnLEJ}AvEiAxDMf@Sh@w@fCUr@EL_@`Ae@jAMVMZ_@|@Wl@Up@KZWp@GXOh@Sr@Oj@K\\I^K`@IXGZK`@EVKj@Kf@SdAGTShAc@xB{@hEKh@UlAg@fCCJGZWrACN[dBIb@W|Ak@fEOhA_@`CG`@c@|CALEP_@hCIn@EVIl@UjBGh@QxAGh@Iv@KdAMhAOnACRKn@QbAUhAQz@K`@Uz@W|@_@bAe@lASf@uBvEGLy@pBO\\gApCaAfCc@nAYt@c@jA_@dAOb@GNGNWr@c@jAq@hBs@fBIRk@rAe@`AKRSb@MTk@bAm@bAcC`E[h@sBdDiBzCy@pAiAlBe@r@ADSVg@r@STWXe@f@KJOLaAz@a@ZgBx@s@`@eAb@c@P_@NqBn@}@Xm@R?k@Am@?kAAcA?g@iA@eA?sA@gE?eA?_CB[@gE@AcACkCC_BCcCAs@CyAAeAAc@A_@Ac@"
      },
      {
        "vehicle": 2,
        "cost": 7528,
        "steps": [
          {
            "type": "start",
            "arrival": 1693386017,
            "duration": 0,
            "service": 0,
            "waiting_time": 0,
            "location": [
              34.016137,
              -118.253523
            ],
            "location_index": 11,
            "load": [
              0
            ]
          },
          {
            "type": "job",
            "arrival": 1693386900,
            "duration": 883,
            "service": 120,
            "waiting_time": 0,
            "location": [
              34.000215,
              -118.318803
            ],
            "location_index": 3,
            "id": 8,
            "load": [
              2
            ]
          },
          {
            "type": "job",
            "arrival": 1693387669,
            "duration": 1532,
            "service": 120,
            "waiting_time": 0,
            "location": [
              33.945884,
              -118.325628
            ],
            "location_index": 4,
            "id": 9,
            "load": [
              4
            ]
          },
          {
            "type": "job",
            "arrival": 1693389299,
            "duration": 3042,
            "service": 120,
            "waiting_time": 0,
            "location": [
              34.000895,
              -118.204929
            ],
            "location_index": 5,
            "id": 10,
            "load": [
              6
            ]
          },
          {
            "type": "pickup",
            "arrival": 1693390593,
            "duration": 4216,
            "service": 0,
            "waiting_time": 0,
            "location": [
              34.01878,
              -118.317919
            ],
            "location_index": 8,
            "id": 2,
            "load": [
              9
            ],
            "description": "Shipment Pickup 2"
          },
          {
            "type": "delivery",
            "arrival": 1693391423,
            "duration": 5046,
            "service": 0,
            "waiting_time": 577,
            "location": [
              33.996658,
              -118.261708
            ],
            "location_index": 9,
            "id": 2,
            "load": [
              6
            ],
            "description": "Shipment Delivery 2"
          },
          {
            "type": "job",
            "arrival": 1693393202,
            "duration": 6248,
            "service": 120,
            "waiting_time": 1798,
            "location": [
              34.004364,
              -118.42117
            ],
            "location_index": 15,
            "id": 7,
            "load": [
              11
            ]
          },
          {
            "type": "end",
            "arrival": 1693396400,
            "duration": 7528,
            "service": 0,
            "waiting_time": 0,
            "location": [
              33.996658,
              -118.261708
            ],
            "location_index": 9,
            "load": [
              11
            ]
          }
        ],
        "service": 480,
        "duration": 7528,
        "waiting_time": 2375,
        "priority": 0,
        "delivery": [
          3
        ],
        "pickup": [
          14
        ],
        "distance": 128543.40000000001,
        "geometry": "uwrnEbkwpUt@`@cA`D}@rC[`AUr@Qd@eCfHoBjFbB`Av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cAKaEK_DCyACaACwAAmAA{B@qA?]?c@?a@?k@?k@?k@?e@@}@@yA?}C@mA?eC@gD?oA?o@?_@?e@@q@Li@@aD@e@?qA?cBAq@AaCG}BGuBM_DM_@EQAKC[E_@AUIgAUiC]{Cg@_EaAcHoAcJmAwIe@cDM_AcBgMa@yCQuAKiAGm@OoBKkBEeAE{@?ICkACkB?KA_B?kB?]@g@?a@?u@?mB?{E?gBG_A?[?o@?g@?s@Ak@?k@Aq@?e@?SC{G?kD@}CAo@AYIeAGa@Ie@Ka@ESIYEMEMK[EKEKKWMSOUQWOUSUSUOOOMIGGGWOOI[QOKMEe@Q_@MYGQCOAa@Gu@GwAO]Ci@GiCMsBK{@Ew@EkAGoAGsDOmCIgEGo@?{AA]My@BcGB}C@k@?eDBM@yA@e@?aA?{AA_A?W?yAGaBKqBMUCOAI?cBMgCQq@C_@CK?C?K?UA[?m@?k@@y@@Q@{@F}@Hk@Ho@HcALkALcBTwFp@iD`@MBsBVyBVk@FiAFaADE?aA@G@o@AY@sEE[?kDC{KEQ?W?W?Y?qB@mE@}GDy@?{@@y@?cA?oCBM?qGBU?{E?wA?sA?C?a@?oAOk@IyF?S?cD?M?I?e@?{B?kJ?e@?U?qN?{BAmB?aA@q@?k@Au@?K?C?oA@uAC_BCoBI_DOWCe@AWCqBIK?uBEoDEM?a@AmBAi@?k@AI?yAUYC}@E}@Gw@CWAQEMEMIKKKMQ]KQIKKIMEQEc@DsAA[AA{A?Q?_@AkA?_@?QAeA?Y?_@?k@AuA?m@AoA?Y?c@?k@?w@AwA?a@?yC?}@?_@?mA?q@?}A?c@?mA?{A?[AcC?sAM@I?U@iAA_B?oA?iD?cA?o@@}@?{@@W?w@?i@?wA?yA?{A@[?qA?kA?GAEAECGEUSg@e@IGGEGEEAICKCSCMA?y@?EAI?A?iDA_BA_BC_H?i@?S?W?_A@gA?o@AMAwP"
      }
    ]
  },
  "status": "Ok",
  "message": ""
}

Following is a visual representation of all the task locations (new + original), location of vehicles and the routes suggested after re-optimization as per the given constraints.

Analyzing the Solution

Looking at the new result we can observe some interesting insights:

  • All the newly added jobs - 4,5,6, & 7 were assigned within the 2 routes that were used in the original solution.

  • The new tasks (jobs 4 & 5 ) for vehicle 1 were added to the existing route without much change, while job 6 was fulfilled after all the original tasks were done owing to the time window of the job.

  • For vehicle 2, the job 7 was assigned after all the original tasks were completed owing to its time window, however important is to note that there was not much difference in the original and re-optimized until the delivery step of shipment 2 which is the last task before the vehicle heads towards the newly added task.

  • The optimizer proficiently adds all 4 tasks to the new solution with minimal changes to the original solution's existing parameters.

Above example showcases the powerful re-optimization capabilities of NextBillion.ai’s Route Optimization Flexible API. Users can leverage this feature to make last minute adjustments to their optimization plans with significant flexibility while improving overall task fulfillment. To explore this feature more, users can play around with strategies like adding more vehicles, changing the task time window and see how the API takes those changes into account without major changes to the original solution.

We hope this example was helpful. Check out some more use cases that Route Optimization Flexible API can handle for you!