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 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.