What is route optimization?
Updated
Route optimization (spelled route optimisation in the UK) is the process of deciding which vehicle serves which stops and in what order, so the day’s work gets done with the least driving and the fewest late arrivals while respecting time windows, driver shifts and truck capacity. Software does it by testing many possible orders against real drive times and keeping the best plan it finds. The output is a run for each driver with an arrival time at every stop.
Route optimization meaning
Finding the fastest road from A to B is routing, which is what a navigation app does. Route optimization answers a bigger question: with ten stops and three drivers, who should do which stops, and in what order?
The options multiply as you add stops. One truck with ten stops can drive them in 3,628,800 different orders, and Google’s OR-Tools documentation puts the count for 20 locations at 2,432,902,008,176,640,000. Nobody checks them all. Optimizers use heuristics (rules of thumb plus repeated small improvements) and return a good plan in seconds, though one that isn’t proven to be the best possible.
Sequencing, assignment and re-planning
Route optimization covers three different jobs. Sequencing puts one driver’s stops in order; mathematicians call this the traveling salesperson problem, with time windows added. Assignment shares a pool of unassigned stops among several drivers, which is the vehicle routing problem. George Dantzig and John Ramser set out an early version of it in a 1959 Management Science paper with a plain name: “The Truck Dispatching Problem.”
The third job is re-planning during the day, when a truck breaks down or a rush order comes in. Here the optimizer has to leave runs already under way alone and work around them, or a driver gets sent back for a stop they already passed. Vendors sell this as dynamic route optimization; static optimization is the plan you build the night before.
What it takes into account
Shortest distance alone produces runs that break promises: a driver crosses town twice to make an early window, or a truck gets a load it can’t carry. A practical optimizer weighs these limits as well.
Some limits are hard and some are soft. A trailer’s payload is hard: the plan must never break it. A customer who said “morning” has a soft window the optimizer can bend at a cost. Setting every limit as hard often leaves stops the optimizer can’t place at all, while setting them all soft lets it break promises you meant to keep.
- Time windows customers asked for
- Drive times between stops, ideally from real road data
- Time to load and unload at each stop
- Driver working hours and start time
- Truck capacity and load weight
- Jobs already under way that can’t be reordered
Route optimization examples
The same method serves very different days. What changes is which limit binds first, and that decides which inputs you must get right before the optimizer is any use.
Whatever the business, have the dispatcher read the plan before it goes out, looking for a stop whose timing only someone who has been to the site would question.
- Equipment rental: deliveries in the morning, returns in the afternoon, and a lowboy that can carry one excavator or two compact loaders. Payload and load time bind first, and pairing a pickup with a nearby delivery cuts empty driving.
- Field service: a technician with eight calls, each with a two-hour appointment window and a job length that varies. Windows bind first, and wrong job durations push every later call late.
- Multi-drop delivery: a van with 40 parcels and a few timed drops. Distance binds first, so road drive times and accurate addresses matter most.
- Contractor fleet: trucks hauling machines between job sites as work starts and finishes. Re-planning binds first, because site start dates move.
Data you need before you optimize
Before you trust a plan, clean these inputs, starting with whichever one your drivers complain about most.
Addresses come first. A job site entered as a town name puts the stop at the town center, and the drive times to and from it are fiction. Save each regular site with a pin at the gate the trucks use. Next, record how long loading and unloading take for each kind of move; your drivers’ proof-of-delivery times from the last month give you a realistic figure. Finally, ask customers for a real window. “Before noon” is a window the optimizer can plan around; “sometime Tuesday” leaves the dispatcher guessing.
How route optimization works, step by step
Products differ in the search method and in where their drive times come from, but most follow the same outline. Formally, the problem they solve is the vehicle routing problem (VRP): with one vehicle it reduces to the traveling salesperson problem, and real fleets add time windows, capacity and shift limits on top. Because the number of possible plans explodes as stops are added, tools use heuristics (fast rules that find a good plan) rather than proving the best one. Knowing the outline helps you work out why a plan looks odd.
Products marketed as AI route optimization still run this search. Look at where their travel and service times come from, since a plan built on wrong drive times is wrong however clever the search.
- Collect the inputs: each stop’s address and time window, how long the work at the stop takes, each vehicle’s capacity and start and end point, and each driver’s shift
- Build a table of drive time and distance between every pair of stops, from a road map service or, as a fallback, straight-line distance with a correction factor
- Lay each candidate run out in time: drive, wait for the window to open, load or unload, drive on
- Build a first plan by a quick rule, such as cheapest insertion (put each stop where it adds the least time) or the Clarke and Wright savings method (merge separate out-and-back trips where that saves the most driving)
- Improve it by trying small changes, such as swapping two stops or moving one to another driver, and keeping each change that helps; methods such as guided local search, simulated annealing and tabu search accept the odd worse step so the search doesn’t get stuck
- Stop after a time limit and return the best plan found, with an estimated arrival for every stop
- Flag what it couldn’t fit: a window it will miss, a day that runs too long, a load too heavy for the truck
Types of route optimization
Route optimization problems are usually told apart along two lines: when the plan is made, and how many vehicles share the work. Each added business rule then gives a named variant of the vehicle routing problem.
Transportation route optimization is the same method applied to freight and passenger moves: trucks between yards and job sites, linehaul runs, or a bus or shuttle route. The limits that bind first change (trailer payload, loading dock times, driver hours), but the search is the same.
- Static: the whole plan is built before the vehicles leave, usually the evening before, from a known list of stops
- Dynamic: the plan is reworked during the day as orders arrive, stops are canceled or a truck breaks down, leaving runs already under way in place
- Single-vehicle: one driver’s stops are put in order (the traveling salesperson problem, often with time windows)
- Multi-vehicle: a pool of stops is shared among several drivers and each run is ordered (the vehicle routing problem)
- With capacity limits (CVRP): every vehicle has a maximum load the plan can’t exceed
- With time windows (VRPTW): each stop must be reached inside a set interval
- Pickup and delivery: an item collected at one stop must be dropped at another later in the same run, as with a machine moved from one job site to the next
Can Google Maps optimize a route?
Google Maps plans directions through several stops, and its help page says you can add up to 9 stops, including the final destination. You change the order by dragging a stop to a new position, so the sequence is your call. For one driver with a handful of stops and no time windows, that is often enough.
Past that, Google offers a separate developer product, the Route Optimization API. You send it shipments with pickup and delivery locations, service durations and load sizes, plus vehicles with start and end points and capacities, time windows and shift times. It returns the order of visits for each vehicle, which vehicle takes which job, and arrival times. Dispatch software built on a service like this wraps it in a board and a driver app, so dispatchers never touch the API.
Choosing route optimization software
Free route planner apps reorder one driver’s stops and send them to navigation. They suit a single van. Once you have several drivers, windows promised to customers and loads that only fit certain trucks, test any paid product against these points with a week of your own runs.
- Plans around time windows and flags a stop that will miss one
- Includes load and unload time at each stop
- Checks load weight against each truck’s payload
- Leaves runs already under way alone when you re-plan
- Lets you drag a stop by hand and shows how the arrivals shift
- Sends each driver their run on a phone, with directions one tap away
- Gives customers an arrival estimate without them calling the office
What you get from it
Expect fewer miles driven and fewer late arrivals, which frees time for more jobs per driver-day. The estimated arrival for every stop matters as much: you can tell customers when to expect the truck and spot a late job on screen before the driver is late.
Published figures are scarce outside vendor marketing. One public source is a National Renewable Energy Laboratory study of real California trips, which covered only the choice of road for each trip (not the order of stops): it found that 31% of the actual routes had fuel savings potential, with a cumulative estimated fuel saving of 12% on those routes. Treat that as a sign that the choice of road alone matters, not as a forecast for your fleet.
Dispatchers still know things no optimizer does, such as a gate that opens late or a customer who always needs a call first. Pin those stops or move them by hand after the optimizer runs, then check how the arrival times shift.
To measure the gain, keep a baseline. Record planned drive time and late arrivals for two weeks before you switch, then the same numbers for two weeks after, on similar days. Vendor savings figures come from someone else’s stops.
Common route optimization mistakes
When an optimized plan falls apart on the road, check the inputs before blaming the software.
- Using straight-line distance in place of road drive times, which underestimates trips around rivers, rail yards and limited-access highways
- Leaving load and unload time at zero, so every arrival after the first stop looks fine on paper and runs late in practice
- Treating every window as fixed when some customers only said “morning”
- Ignoring capacity, so the plan puts a machine on a trailer that can’t carry it
- Re-optimizing a run the driver has already started
Example
A hypothetical driver has six deliveries entered in the order they were booked. Reordering them to follow the map and each customer’s window cuts out the back-and-forth across town and gets every delivery inside its window. Before: the run leaves the yard at 7:00, crosses the river twice and has two drop-offs past their windows, with about 4 hours 10 minutes of driving. After: the 8:00 to 9:00 delivery goes first, the two stops north of the river run back to back, and driving falls to about 3 hours. The dispatcher moves one stop by hand because that site only accepts deliveries after the foreman arrives at 10:00, and the plan still keeps every window.
In FleetZap
In FleetZap’s Dispatch module, Optimize reorders one driver’s run to keep time windows with less driving, and shows the time saved. Tight windows and urgent moves go first. Auto-plan shares unassigned moves among drivers, slotting each where it adds the least driving and waiting, with a preview of each driver’s day before anything changes; drivers are notified when you apply it. Both use Google road times when available, falling back to straight-line distance times a road factor at your average speed, and include loading and unloading time. Runs already under way never move, every move gets an estimated arrival, and a drop-off that will miss its window is flagged. You can drag cards to change anything by hand. It isn’t turn-by-turn navigation: drivers tap Directions in the driver app to open Google Maps.
See also
Free tools for this
- Speed, distance and time calculator: Average speed, driving time or distance from the other two
- NMFC freight class calculator: Density and estimated LTL freight class from a shipment’s size and weight, on the 2025 scale
- Fuel surcharge calculator: Fuel surcharge per mile and per load from today’s diesel price, your base price and mpg
- Freight rate calculator: A rate per loaded mile and a quote that cover deadhead, fuel, extras and margin
Sources
- Google OR-Tools: Vehicle routing (problem size, time windows, capacity)
- Google OR-Tools: Vehicle Routing Problem
- Google Maps Help: Get directions and show routes (multiple stops)
- Google Maps Platform: Route Optimization API overview
- Dantzig and Ramser (1959), The Truck Dispatching Problem, Management Science 6(1): 80 to 91
- Google OR-Tools: Routing options (first solution strategies and local search methods)
- Google OR-Tools: Vehicle routing problem with time windows
- Google OR-Tools: Capacity constraints (CVRP)
- Google OR-Tools: Pickups and deliveries
- NREL (Zhu, Holden, Gonder, Wood, 2017), Green Routing Fuel Saving Opportunity Assessment, NREL/CP-5400-70100
FleetZap Dispatch
Deliveries, pickups, routing and a driver app. Explore FleetZap Dispatch.
Frequently asked questions
Is route optimization the same as GPS navigation?
No. Navigation gives turn-by-turn directions for one trip at a time. Route optimization works a level above that: it decides which driver handles which stops and in what order, then estimates when each stop will be reached. Drivers still open a navigation app to get from one stop to the next.
Does route optimization always find the perfect route?
No. With more than a handful of stops there are far too many possible orders to check every one, so optimizers use heuristics to reach a good plan in seconds. Google’s own OR-Tools documentation says its solver sometimes returns solutions that are good but not optimal. For a dispatcher, a fast and sound plan is what counts.
Can Google Maps optimize a route with multiple stops?
Google Maps lets you add up to 9 stops, including the final destination, according to its help page, and you set the order by dragging stops. It plans directions through them in that order. For several drivers, time windows or truck capacity you need route optimization software, or Google’s separate Route Optimization API built into another product.
Can I still change the plan?
You should be able to. A good tool lets the dispatcher reorder or reassign stops by hand after the optimizer runs and shows how each change moves the arrival times. That matters for the things software can’t know, like a site that only takes deliveries after the foreman arrives.
What is the difference between route planning and route optimization?
Route planning is any process of deciding the day’s stops, including a dispatcher sorting them by hand on a map. Route optimization is the software part: an algorithm that searches many possible orders and assignments and picks one that cuts driving time and late arrivals within your time windows, working hours and capacity limits.
What is dynamic route optimization?
Dynamic route optimization re-plans during the day as things change: a rush order, a canceled stop, a truck that breaks down. It has to keep runs already under way in place and only rework stops nobody has started, then send the changed runs to the drivers affected. Static optimization builds the plan once, before the trucks leave.
How much time does route optimization save?
It depends on how the runs are built today. Runs entered in booking order, with stops scattered across a region, have the most to gain; runs a dispatcher already sorts by area have less. Measure it on your own data: compare planned drive time before and after optimizing a week of real runs.
What is route optimization?
Route optimization is deciding which vehicle serves which stops and in what order, so the work gets done with the least driving and the fewest late arrivals. It respects limits such as customer time windows, driver shifts and vehicle capacity, and gives an arrival time for every stop.
How does route optimization work?
The software takes the stops, time windows, service times, vehicle capacities and driver shifts, builds a table of drive times between every pair of stops, makes a quick first plan, then keeps trying small changes (swapping stops, moving a stop to another driver) and keeps each one that cuts driving or lateness. It stops after a time limit and returns the best plan found, flagging any stop it couldn’t fit.
What is transportation route optimization?
It is route optimization applied to moving freight or passengers: planning truck, trailer or bus runs so each load is picked up and delivered on time with the fewest miles, within payload, loading-dock and driver-hour limits. The method is the vehicle routing problem, often in its pickup and delivery form.