Logistics / Last-mile delivery
Delivery route optimization with time windows
Assign deliveries to routes that satisfy capacity and promised arrival windows.

01 / The commercial question
How can delivery routes meet time windows at lower cost?
Distance alone rewards routes that look efficient but miss service promises. Evaluate arrival times after loading and stop durations, and retain explanations for dropped orders. A solver baseline helps distinguish a useful heuristic from an avoidable implementation gap.
02 / Experiment design
How Discovery would approach delivery route optimization with time windows.
- 01 / Starting program
What does the first last-mile delivery experiment start from?
- Nearest-neighbor routing followed by local swaps.
- 02 / Objective & constraints
What counts as a better answer?
- Distance and late deliveries under vehicle capacity and driver-hour constraints.
- 03 / Data & evaluation
How is each candidate tested?
- Orders, travel-time matrices, service durations and vehicle specifications.
- 04 / Validation path
What has to hold before it reaches operations?
- Compare with OR-Tools and test traffic perturbations before operational use.
- 01 / Source systemDelivery fleet + service area
- 02 / Input dataOrders + travel-time matrix
- 03 / Candidate programRouting heuristic
- 04 / EvaluatorRoute and time-window evaluator
- 05 / Recorded outputRoute plan + late-stop report
03 / First experiment
Make the comparison reproducible.
Freeze the seed program and the grader. Compare candidates under equal evaluation budgets, keep every failed run, and reserve unseen scenarios for the final test.
What you receive: the accepted program, its score against today's rule on held-out scenarios, and the record of directions tried. The full method.
04 / Related
Related operating decisions.
Robotics / Personal appliancesRobot cleaning routes and battery-aware coveragePlan household coverage around obstacles, charging and room priorities.Routing · Control
Robotics / Warehouse systemsMulti-robot task allocationAssign jobs and charging slots across a warehouse robot fleet.Routing · Allocation
Logistics / Inventory & fulfillmentInventory replenishment and stock allocationBalance service levels against inventory holding and replenishment costs.Allocation · Simulation