How to re-optimize a route
How Edit Mode and the three Preview options (Insert only, Re-optimize this route, Re-optimize all routes) apply changes to routes, and which one to pick.
Routes rarely survive the morning unchanged. Orders get added, a driver calls in sick, a customer asks for a different window. In iDirect you don’t rerun the whole plan to absorb a change: you make the edit, preview how the optimizer would handle it, and save only when you’re happy with the result.
How re-optimizing works
When you change a task that already has routes, the dispatch page switches to Edit Mode. An orange banner reads Edit Mode – You have unsaved changes, and the bottom bar shows Discard and Preview. Your edits stay in a draft until you preview and save them, so nothing changes for your drivers in the meantime.
The task enters Edit Mode when you:
- Assign unassigned orders to a route with Assign Selected.
- Edit an order’s details, such as its time window or service time.
- Bulk-edit orders.
- Add or remove a driver in Drivers → Edit, or change a driver’s settings.
The three preview options
Click Preview to choose how far the optimizer may go:
| Option | What it does | Available when |
|---|---|---|
| Insert only | Keeps the current order sequence and fits new orders into the best positions. | You added orders to a route, and your edits affect only that route. |
| Re-optimize this route | Resequences all orders on this route only. Other routes stay as they are. | Your edits affect only one route. |
| Re-optimize all routes | Reassigns and reorders orders across all routes, so orders may change drivers. | No order in the task is en route, succeeded or failed. |
Options that don’t fit your edits are greyed out. Once you have previewed with Insert only or Re-optimize this route, you can switch between those two, but not to Re-optimize all routes (and the other way round) until you save or discard the draft.

Step by step
- Make your change. The Edit Mode banner appears.
- Click Preview and pick Insert only, Re-optimize this route or Re-optimize all routes.
- Wait for the Optimizing routes... message to finish. The map and route cards update with the new stop order, duration and distance.
- Click Save to apply the result, or Discard to go back to the routes you had.
If you keep editing after a preview, the bottom bar switches back to Preview so you can run it again before saving.

Which one should I pick?
- New orders came in after you built the routes. Assign them to the route, then Preview with Insert only. Drivers keep the sequence they have already seen.
- A customer moved their window to the afternoon. Edit the order’s time window, then Preview with Re-optimize this route.
- A driver is off sick and no stops have started. Remove the driver in Drivers → Edit, then Preview with Re-optimize all routes so their orders are shared out.
- Same, but the day has started. Re-optimize all routes is no longer available. Use Change Driver to hand the route to someone else instead.
Reading the result
A stop with a problem carries a red label in the route’s timeline. These are warnings; the route can still be used.
| Label | Meaning |
|---|---|
| Late by 12 min | The driver is expected to arrive after the end of the order’s time window. |
| Early by 8 min | The driver is expected to arrive before the start of the order’s time window. |
| Exceeds load capacity | The orders on the route add up to more than the vehicle’s capacity. |
| Exceeds max travel time by 20 min | The route takes longer than the driver’s travel time limit. |
| Exceeds max travel distance | The route is longer than the driver’s distance limit. |
| Exceeds max tasks limit | The route has more orders than the driver’s limit. |
| Skills mismatch | The order needs a skill the driver doesn’t have. |
Orders the optimizer could not place are listed under Problem Stops with one of these reasons. Fix the cause and preview again, or assign the order by hand.
| Reason | What it means | What to try |
|---|---|---|
| Cannot arrive within the time window | No driver can reach the stop inside its time window. | Widen the order’s time window, or extend a driver’s Work Time. |
| Exceeds vehicle capacity | Adding the order would overload every vehicle. | Raise the driver’s Capacity, or lower the order’s load. |
| Address unreachable | No route can reach the address. | Check the order’s address and correct it. |
| Driver skill mismatch, Exceeds max travel distance, Exceeds max driving time, Exceeds max orders per driver, Exceeds max stops per driver, Order dependency conflict, No available driver | The order breaks one of the drivers’ limits or restrictions. | Assign the order to a route by hand. |
| Unknown reason | The optimizer didn’t report a specific cause. | Preview again, or assign the order by hand. |
Each route card shows its number of orders, total duration and distance. Compare them with the previous figures before you click Save.
Troubleshooting
- “Another optimization is currently in progress, please try again shortly.” Only one optimization can run on a task at a time. Wait for it to finish, then try again.
- Insert only or Re-optimize this route is greyed out. Your edits affect more than one route, or you added or removed a driver. Use Re-optimize all routes, or discard the draft and make the edits one route at a time.
- Re-optimize all routes is greyed out. At least one order is en route, succeeded or failed, or you already previewed with a single-route option. In the second case, save or discard the draft first.
- “Optimization failed” with a reason. The progress message stays on screen until the run finishes, then shows Optimization success or Optimization failed. If it fails, fix the cause shown and click Preview again.
Can't find what you need?
Chat with our team and we'll get back to you shortly.