What it looks like
| Goes in | Comes out |
|---|---|
| Eighty stops for tomorrow, six vans that each hold 40 packages, a 9 a.m. to 5 p.m. shift, and customer time windows such as 'between 1 and 3 p.m.'. | One ordered stop list per van, with an estimated arrival time at each stop. The plan shows total miles and any stop that cannot be reached inside its time window. |
Illustrative example.
How to test AI on this job before you buy
- Take three past days of real stops. Ask the software to plan them. Compare its total miles and hours to what your drivers actually drove.
- Check every limit by hand on a few routes: time windows, van capacity and shift length. A plan that breaks a limit is not a plan.
- Ask a driver to look at five routes. Drivers know about low bridges, hard turns and loading docks that the map data does not show.
- Change one input, such as adding a rush stop, and replan. The plan should change in sensible ways and not reshuffle everything.
Buy or build
Buy: Buy if you want maps, live traffic, driver apps and customer notices in one product. Most fleets are better served by this. Ask for a trial on your own stop lists.
Build: Build if your rules are unusual and you have a developer. Google's OR-Tools is free, open-source software for vehicle routing. You still need to supply map distances, driver screens and a way to handle last-minute changes.
What goes wrong
- The plan is only as good as the travel times it uses. Straight-line distances give plans that drivers cannot follow.
- Real days change. Late orders, traffic and absent drivers mean you need a way to replan during the day.
- A plan that saves miles but ignores driver habits or customer preferences may be ignored on the road.
- Compare the tool to your best dispatcher, not to a random plan. A skilled dispatcher is a strong baseline.
Useful resources
- Google OR-Tools: Free, open-source optimization software from Google. Its page says it is tuned for problems such as vehicle routing, and it works from C++, Python, C# and Java.
Sources
| Source | What it says |
|---|---|
| Google OR-Tools home page | Describes OR-Tools as open-source software for combinatorial optimization, covering vehicle routing, flows, integer and linear programming and constraint programming. |
Related: Predictive maintenance: fix machines before they fail · How to choose an AI consulting company