The Practical Guide to Machine Learning in Routing (Without the Hype)
Ellise McDonald
The Practical Guide to Machine Learning in Routing (Without the Hype)
Ellise McDonald
“ML will optimize everything.”
That sounds good on a panel. But if you’ve ever owned an ops metric, you know the truth: models don’t fail — expectations do.
This guide is for leaders who need machine learning that actually works in routing — not just talks well in a demo.
The gap between ML promise and operational reality
Machine learning is powerful. But if it’s not explainable, operationally grounded, and well-scoped, it turns into a black box that loses trust fast.
In routing — where one bad stop can cascade into overtime, customer complaints, and broken SLAs — that trust is everything.
Here’s the hard truth most teams miss:
ML doesn’t need to be perfect. It needs to be predictable, explainable, and aligned with your business rules.
What to define before the first model is trained
Before you hand your routes to an ML model, define these three expectation boundaries:
- What can scale:
ML can balance fleets, assign delivery windows, prioritize by revenue or distance, cluster by geography, etc. - What’s off-limits:
Some things are sacred — hard delivery promises, union shift rules, regulatory constraints. Flag these early. - How fast iteration should occur:
Are you retraining weekly? Monthly? Real-time?
Set this expectation so ops teams know what to expect (and when to escalate if needed).
Penalty logic, cost weights, and guardrails matter
This is where most teams go wrong.
ML needs to be taught what you care about. That means feeding it:
- Delivery penalties and how they should be weighted
- Cost logic (fuel, labor, time)
- Rule hierarchy (e.g., “Don’t violate shift rules even if it saves money”)
Think of this as giving your model a playbook — not a blank canvas.
Real example: Documenting assumptions builds trust
One enterprise routing team turned the corner when they did something most don’t:
They wrote down every routing rule, then coded those assumptions into the model.
Example:
- “Customer delivery promises override cost savings”
- “Penalties for missed windows weighted at 3x drive time”
- “Driver shift caps take priority over stop volume balance”
When planners saw the model reflecting their real-world logic, trust followed — and so did adoption.
Measure business impact, not just model performance
We don’t care about F1 scores in operations.
We care about:
- Fewer missed time windows
- Reduced overtime hours
- Higher customer satisfaction
- Lower cost per stop
- Reduced route volatility week-to-week
The best ML deployments prove themselves here — not in academic benchmarks.
Let the model prove itself — after expectations are clear
Machine learning has a real place in modern routing, but only when it’s:
- Explainable to non-technical users
- Measurable with ops KPIs
- Grounded in your business rules
When you define the sandbox clearly, the model gets to play — and actually win.