What is route optimization?

Route optimization is working out the best set of routes for a group of vehicles: which vehicle visits which stops, and in what order, so that everything is delivered on time with the least driving.

By the RouteOps team. Last reviewed .

It is not the same as navigation

Navigation answers "how do I get from here to there?" It is what Google Maps and Waze do, and they do it well.

Route optimization answers a different question: "I have 80 deliveries and 4 vans. Who goes where, and in what order?" The answer is a plan for the whole day. Navigation then guides each driver along it.

Why it is a hard problem

Mathematicians call it the vehicle routing problem, and it has been studied since the 1950s. It is hard because the number of possible plans grows explosively. One vehicle with 10 stops has more than 3.6 million possible orders. With 20 stops the number has 19 digits.

No known method finds the single best answer quickly for problems of real size. Good software does not try every option. It builds a reasonable plan, then improves it thousands of times a second by moving and swapping stops, keeping each change that shortens the routes without breaking a rule.

What a route optimizer takes into account

  • Road distance between every pair of stops, not straight-line distance.
  • Delivery windows: the earliest and latest time each stop can be served.
  • Vehicle capacity: how much each vehicle can carry.
  • Time spent at each stop.
  • How many vehicles there are, and where they start and finish.

Without the first three, a "shortest route" is only a drawing. A plan that is 10% shorter but misses two delivery windows is worse than the one you had.

What you get out of it

  • Less driving, so lower fuel and wage costs.
  • Fewer missed delivery windows, because every one is checked before the vehicles leave.
  • Sometimes one vehicle fewer on the road.
  • An hour or two of planning time back each morning.

How much depends on how good the current routes are. Fleets with tidy, well-established routes gain least. Fleets whose routes are rebuilt by hand every day, with delivery windows to keep, gain most.

How RouteOps does it

RouteOps measures road distances using OpenStreetMap road data, then searches for the best plan with OR-Tools, an open-source optimization engine published by Google. When it has a plan, it replays it across hundreds of simulated days with varying traffic to estimate how many stops would still arrive on time.

You give it a spreadsheet of stops and the size of your fleet. It gives you a route for each vehicle, a map, and an estimate of the saving. See the multi-stop route planner page for what goes in and what comes out.

Do you need it?

A single vehicle doing eight familiar stops does not need route optimization. A rough rule: once you plan more than a dozen stops per vehicle, more than two vehicles, or delivery windows that customers hold you to, software will find routes you would not. The guide to planning delivery routes shows the manual method so you can judge where you are.

Common questions

What is the difference between route planning and route optimization?
Route planning is deciding who goes where and in what order, by any method. Route optimization is using software to search for the best such plan, measured by distance, time or cost, while keeping to rules such as delivery windows and vehicle capacity.
What is the vehicle routing problem?
It is the mathematical name for the task of finding the best set of routes for a fleet of vehicles to serve a set of stops. It extends the travelling salesman problem, which covers a single vehicle, to several vehicles with limits such as capacity and time windows.
Is route optimization worth it for a small fleet?
It can be. Small fleets usually have no dispatcher, so the owner plans the routes. Even with three vans, software can save planning time every morning and remove the wasted driving that creeps into hand-built routes.
Does route optimization use live traffic?
Some systems do. RouteOps plans on road distances and typical drive times rather than a live traffic feed, then tests the plan against simulated delays so you can see how much slack it has.

Try it on your own stops

3 route plans free. Only an email address is needed, and no card.