Transportation routing and scheduling

Lesson4 min readTransportation Management

Transportation routing decides which stops each vehicle visits and in what order. Scheduling decides when each route starts, when each stop is served and when drivers and vehicles are used. Together they determine delivery cost, service and the utilization of trucks and drivers.

Main routing problems

Problem Question Example
Shortest path Quickest or shortest way from A to B Navigation
Traveling salesman (TSP) Shortest tour visiting all stops once with one vehicle One van, several deliveries
Vehicle routing (VRP) Best set of routes for several vehicles Delivery fleet from a depot
VRP with time windows Same, with delivery time limits Customers who accept delivery 9 to 12

Constraints to consider

  • Vehicle capacity (weight, volume, pallets).
  • Customer time windows and service times.
  • Driver hours and legal break rules.
  • Vehicle types, loading and access restrictions.
  • Traffic, road limits and the return-to-depot requirement.

Worked example: a simple tour

One truck leaves depot D, visits stops A, B and C once each and returns. Distances in km: D–A 10, D–B 15, D–C 20, A–B 8, A–C 12, B–C 6.

Nearest-neighbor heuristic: from D go to the nearest unvisited stop (A, 10 km); from A the nearest is B (8 km); then C (6 km); then back to D (20 km).

D → A → B → C → D = 10 + 8 + 6 + 20 = 44 km

Because there are only three stops, we can check all six possible tours:

Route Distance (km)
D–A–B–C–D 10 + 8 + 6 + 20 = 44
D–A–C–B–D 10 + 12 + 6 + 15 = 43
D–B–A–C–D 15 + 8 + 12 + 20 = 55
D–B–C–A–D 15 + 6 + 12 + 10 = 43
D–C–A–B–D 20 + 12 + 8 + 15 = 55
D–C–B–A–D 20 + 6 + 8 + 10 = 44

The best tours are 43 km. The simple nearest-neighbor tour (44 km) is about 2 percent longer. Heuristics are fast but not always optimal, and the gap tends to grow with more stops. Real fleets use route optimization software with improvement methods and constraints.

Scheduling

  • Assign routes to vehicles and drivers, respecting hours-of-service rules.
  • Time the departure so that each stop falls inside its time window, with buffers for traffic and service time.
  • Balance workloads between drivers and keep a reserve for disruptions.
  • Re-plan dynamically for cancellations, new orders and delays.

Performance measures

KPI Formula
Cost per stop or per km Total route cost ÷ stops or km
Vehicle fill rate Load ÷ capacity
On-time delivery Stops served within window ÷ total stops
Stops per route hour Productivity
Empty miles Distance without cargo ÷ total distance

These feed into the broader Route Planning and Optimization program.

Common mistakes

  • Planning by driver habit rather than data.
  • Ignoring service time at stops.
  • Not including real travel times (traffic by hour).
  • Rigid plans that cannot handle same-day changes.

Key takeaways

  • Routing picks the stop sequence, scheduling sets the timing.
  • Heuristics are quick but can miss the best answer.
  • Include capacity, time windows and driver rules, and re-plan dynamically.

Frequently asked questions

What is the vehicle routing problem?

The vehicle routing problem asks for the best set of routes for a fleet of vehicles to serve customers from a depot at the lowest cost, subject to constraints such as capacity and time windows.

What is the nearest-neighbor heuristic?

A simple method that always moves to the nearest unvisited stop next. It is fast but may produce a route longer than the optimum.

What is the difference between routing and scheduling?

Routing decides the order of stops and which vehicle serves them. Scheduling decides when each route and stop happens, including driver and vehicle assignments.

What are time windows?

Time windows are the periods during which a customer accepts delivery. They limit when a stop can be served and make routing harder.

What KPIs measure routing performance?

Cost per stop or km, vehicle fill rate, on-time delivery, stops per route hour and empty miles.