Routing
Which road path connects known points?
A visual coaching guide for thinking clearly about planning, constraints, solvers and real-world execution.
The hard part is deciding who should visit which stops, in what order, at what time, with which vehicle—while reality keeps changing.
Separate them first. Otherwise product conversations become a soup of maps, GPS and algorithms.
Which road path connects known points?
In what order should stops be visited?
Which vehicle or driver owns each stop?
When should each visit and shift occur?
Search across all four decisions for the best feasible plan.
The generic skeleton is familiar. Dairy adds freshness, variable collection quantities and sometimes product-separation rules.
They consume structured entities, constraints, costs and an objective. Bad modelling in means confidently wrong plans out.
This distinction is the single most useful concept for product conversations.
Never hide infeasibility behind a mysterious low score. Explain the broken rule.
Test every sensible insertion position, reject broken constraints, then compare the survivors.
The smartest planner is not the one that constantly redraws everything. Operational stability has value.
Your team supplies the model and trade-offs; the engine explores combinations faster than humans can.
Can prove optimality, but often become slow as problem size and constraints grow.
Find good solutions quickly; may not prove they are globally best.
Real products frequently ask for “best answer in 2–30 seconds,” not theoretical perfection.
Show solution quality, unresolved visits and trade-offs—not a magical “Optimised” badge.
They can work together, but calling the whole thing “AI” hides important engineering and product decisions.
The market differs less in the mathematics than in control, integration, explainability and operational workflow.
You own the data model, distance matrix, constraints, search configuration, scaling and UX.
Send vehicles, visits, windows and costs; receive assigned routes, metrics and unresolved work.
Model hard and soft constraints, score solutions, support real-time planning and expose useful visualisations.
Import orders, plan, manually adjust, dispatch to drivers, track progress and analyse actual performance.
Own the operational truth and decision experience. Treat road intelligence and solver machinery as replaceable capabilities until proven otherwise.
Humans need to see the plan, understand compromises and stay in control when the model meets messy operations.
Validate visits, fleet, windows and missing data
Choose objective, frozen routes and allowed disruption
Produce candidates plus infeasible/unassigned work
Map + vehicle timeline + visit view + metrics
Why assigned, why skipped, which constraint binds
Drag, lock, override and re-run locally
Approve versioned Plan and dispatch
Track actuals, exceptions and route adherence
Calibrate ETAs, service times and business rules
The users, decisions, data freshness and tolerance for change are different at each horizon. Treating them as one screen creates chaos.
Define the stable operating shape before daily demand arrives.
Turn today’s work and available fleet into committed Plans.
Repair only what must change after commitment or movement.
A practical swimlane: what the system prepares, what the planner decides, what the supervisor governs and what the transporter receives.
Same-day replanning is governed change management. The goal is not to continuously redraw every route.
Each screen should answer one operational question and make the next commitment explicit.
Dates · zones · cut-offs · readiness
Missing pins · quantities · vehicles · drivers
Template · objective · locks · disruption budget
Candidates · score · unassigned work
Map · timeline · visit table · warnings
Diff · drag · swap · lock · re-run
Approval · acknowledgement · notifications
Exception · impact · bounded repair · new version
The first job is not optimisation. It is making today’s planning problem visible, owned and solvable.
A route can look clean on a map and still fail capacity, time windows, shift limits or operational familiarity.
All visits served, no overtime, 18% change from baseline. Candidate A is 7 km shorter but breaks P3’s window.
The best-scoring candidate is not automatically the approved operating plan. Humans choose the compromise and own the release.
Vehicle assignment, ordered stops, planned ETAs, quantities, instructions and Plan version.
The system automates preparation and calculation. The planner remains responsible for interpreting operational risk.
Creates today’s planning set from the Monday template and imports 12 pickup quantities.
Draft v1Resolves one changed quantity and confirms three available vehicles.
Inputs readyProtects four familiar assignments and selects “service first”.
Run configuredReturns three feasible candidates and explains the score differences.
Options A/B/CChooses B, swaps P6 after local-road knowledge and records the reason.
Draft v2Approves the trade-off; transporter acknowledges vehicles and drivers.
Committed v3Dispatches ordered routes and starts monitoring against Plan v3.
LiveThis scenario happens after a candidate exists but before the Plan is committed.
System highlights affected visits, capacity gap and likely late window.
A: add replacement vehicle · B: move P7/P8 · C: outsource P13 · D: defer with reason.
Unlock East cluster only. Preserve North cluster assignments and sequence.
Compare added cost, service risk, disruption and transporter availability.
Replacement MH09 accepted. Draft v3 records what changed from v2.
A vehicle breakdown is not another planning run. Completed work, current load, driver state and communication now constrain every option.
Current load: 1,050 L
Completed: P1, P2
Remaining: P3, P6
Driver confirms vehicle immobile
Breakdown, location, load safety and expected recovery time.
Completed stops and current load cannot be reallocated as if untouched.
Transfer load, send rescue vehicle, absorb stops, outsource or defer.
Service windows, cold-chain risk, driver hours, disruption and communication.
Supervisor selects rescue vehicle MH09 and transfers P3/P6.
Notify both drivers, transporter and customer-facing operations.
The product needs permissions and state transitions because planning is a governed operational process, not collaborative drawing.
Inputs and manual edits may change freely.
No blocking data or rule errors remain.
Generated option; not an operational commitment.
Planner proposes a selected version.
Approved Plan; downstream dispatch may begin.
Assignments sent; acknowledgements tracked.
Started work creates a frozen physical horizon.
A newer approved version changes remaining work.
Closed with actual evidence and reason.
The solver is an excellent scapegoat for missing data, contradictory rules and ignored operational behaviour.
Pins fall on the wrong road, village or entrance.
Rural roads, loading queues and seasonal conditions are absent.
Every stakeholder marks preferences as mandatory.
Minor changes reshuffle every driver and stop.
Visits vanish because no route can legally serve them.
Drivers know local reality but overrides disappear.
Distance falls while overtime, spoilage or service failure rises.
GPS dots are mistaken for route intelligence.
Ask these before discussing vendors, algorithms, screens or “AI”.
You do not need to become an operations-research scientist. You need enough depth to frame the problem, challenge assumptions and lead product decisions.
TSP, VRP, CVRP, VRPTW, pickup-delivery, depot, matrix, hard/soft constraints.
Outcome: translate customer language into a known problem family.Use 1 depot, 2 vehicles and 8 visits on paper. Mark capacity and windows.
Outcome: feel why nearest-neighbour logic fails.Complete the OR-Tools VRP and time-window tutorials; alter one constraint at a time.
Outcome: understand inputs, search limits and infeasibility.Send the same small dataset to one managed optimiser and compare its model/output.
Outcome: separate provider capability from FleetRobo product value.Observe planners for two route-planning cycles and capture every manual exception.
Outcome: discover hidden constraints no workshop will surface.Prototype map + timeline + visit table + reason explanations, not just route lines.
Outcome: test whether humans trust and can repair the plan.Compare planned vs actual distance, time, stops, load and overrides.
Outcome: improve estimates, rules and adoption continuously.Do not jump to features yet. Preserve these product truths when we eventually design the planning capability.
Optimisation proposes a versioned Plan. GPS and Trip events later prove what happened.
Milk collection maps to Multi-Stop or Consolidated Plans; dairy rules belong in configuration.
Why this vehicle, why this sequence, why this stop is unassigned and what changed must be visible.
Locks, edits and overrides are first-class operational inputs—not embarrassing exceptions.
FleetRobo owns the canonical model, policy, workflow, audit and execution feedback loop.
Distance is one metric. Reliability, capacity, freshness, workload, stability and service matter too.
Keep this page nearby when the acronyms start breeding.
Foundations: Google OR-Tools Vehicle Routing, VRP and VRPTW guides.
Managed API model: Google Maps Route Optimization request/response and time-window concepts.
Constraint product: Timefold introduction, visualisations and metrics.
Operations workflow: OptimoRoute planning and planning-settings guides.
Dairy depth: milk collection centre VRP, raw-milk routing and blending research.
Full URLs: included in the companion SOURCES.md.