The routes were built the evening before, with every van loaded in sequence, every drop inside its time window and every driver inside their hours. At 06:30 it was a good plan.
At 09:40 eight urgent orders come in, one van is stuck behind a closed road, another has a flat, and a customer calls to move their delivery to the afternoon. The dispatcher phones the nearest driver, adds the drop to that van and tells the customer it’ll be fine. By three o’clock one driver is heading for overtime, two time windows have been missed on the other side of town, and a van is coming back half full.
Many distribution managers want to know how to handle same-day orders without wrecking the day’s routes, and the answer is to re-plan all the remaining routes together, starting from where the vans actually are and what they actually carry, and to do it in minutes. Adding each change to the nearest van solves the change in front of you and pushes the cost somewhere you can’t see yet.
What the evening plan assumes
A route plan built the night before is the answer to a vehicle routing problem, with a set of drops, a set of vans, time windows, capacities, working hours and travel times between all the points. For the problem it was given, it may be very good.
It also assumes the problem won’t change: all orders known, all vans available, travel times close to their averages, customers at the address within the window they gave, and service time at each stop roughly what the standard says. On most days several of those assumptions break before noon, and the plan, however well it was made, is still answering the evening’s question.
Why “give it to the nearest van” goes wrong
Inserting a new drop into the closest route is the natural move, and most dispatching tools suggest exactly that. The trouble shows up later in the day.
The van is loaded for its route. Goods go on in reverse order of the drops, so the goods for a new drop may not be on that van at all, or may sit behind everything else.
The cost lands downstream. The detour for the new drop pushes every later stop on that route. A window that had twenty minutes of room at 06:30 has none by noon, and the miss happens three hours after the decision that caused it.
Working hours run out. A driver’s day has a limit, and so does the time they may drive without a break. Small insertions add up, and the last ones of the day are the ones that cross the line.
Other vans had room. A van on the next route might have taken the drop with a shorter detour and more spare capacity, if anyone had looked at all the routes at once, and a dispatcher with a phone in each hand rarely can.
Each fix makes sense on its own, and the day is the sum of all of them.
The rules that live in the dispatcher’s head
Software can only re-plan well if it knows what the dispatcher knows, and much of that isn’t written down anywhere. This loading dock closes at two, that customer needs a tail lift, and this driver doesn’t know the old town and loses half an hour there. Parking near the shopping centre is impossible after ten, and one client complains if the delivery comes before nine whatever the window says.
Each of these is a constraint, and a re-plan that ignores them produces routes that look valid on paper and fail on the street. Writing them down is slow, and it’s the most valuable part of the work. We made the same point about staff planning in your optimizer was right and the shift still went wrong.
What re-planning needs to know
To re-solve the remaining routes in the middle of the day, the system needs the operation as it stands at that moment. That means where each van is now, which drops are done and which failed and why, what’s still on board, how long the stops so far actually took against the plan, which drivers are close to their limits, and which new orders arrived and what they need.
Most of this already exists. The vans have telematics, the drivers have handhelds or an app for proof of delivery, and the orders sit in the ERP or the transport management system. It rarely sits in one place at the same moment, though, which is how the dispatcher ends up as the integration layer. We wrote about the value of that execution data in your scanner data is worth more than your ERP data.
Measure it before you change anything
You can find out what same-day changes cost you with the data you already have.
What to count for two weeks
- Every change to a route after the van has left the depot, and what caused it.
- Every missed time window, traced back to the change that pushed it.
- Overtime by route, compared with the number of changes on that route.
- Planned against actual service time at each stop, by customer.
If changes are rare, the evening plan is doing its job and a better one will help. If they’re frequent and the missed windows trace back to mid-morning insertions, your problem is re-planning, and a better evening plan won’t fix it.
Where we fit
We build this as four layers. OptiTrack captures where the vans are and what was delivered, from telematics and handhelds, and OptiSight joins that with orders from the ERP or TMS. OptiCheck records each route against the plan stop by stop, so service times come from what happened on the street. erdosP-3 re-solves the remaining routes when the day moves, holding the dispatcher’s rules as constraints, and every re-plan ends with the rules checked: windows held, capacities respected, nobody over their hours. A fleet operator can start with the tracking and the record, and add re-planning once the numbers show where the day goes wrong.
Optimum Intelligence builds planning and re-planning systems for goods distribution and other operations where the plan meets the day before lunch. If you’d like to know what your mid-morning changes cost, we’re happy to talk.