Skip to main content

Fertilizer Delivery Routing

VEHICLE ROUTING WITH TIME WINDOWS

Route optimization for custom fertilizer applicators can reduce fuel costs by 15–25% and ensure time-sensitive applications are completed within optimal agronomic windows. Each spring, a depot must decide which truck visits which fields and in what order, all within narrow crew-availability windows. This is the Vehicle Routing Problem with Time Windows (VRPTW) — NP-hard and one of the most studied problems in operations research.

Where This Decision Fits

Agricultural growing-season operations — the highlighted step is what this page optimizes

Crop PlanningLand use & crop selection
Seed ProcurementOrdering seed & inputs
PlantingField assignment & sowing
Fertilizer RoutingTruck scheduling & delivery
HarvestEquipment scheduling
Post-HarvestStorage, transport & sales

The Problem

From fertilizer depots to optimization theory

A fertilizer depot must deliver to 8 farm fields using 2 trucks with limited capacity. Each field has a time window — fertilizer must arrive during specific hours when crews are available. The goal is to minimize total travel distance while respecting capacity and time window constraints.

This is the Vehicle Routing Problem with Time Windows (VRPTW): extend CVRP with arrival time constraints [ei, li] at each customer.

Agriculture DomainVRPTW Model
Fertilizer depotDepot (node 0)
Farm fieldCustomer node
Delivery truckVehicle (capacity Q)
Crew availabilityTime window [ei, li]
Fertilizer tonsDemand di
VRPTW — NP-hard; extends CVRP with time window feasibility
Explore the Routing Family

Try It Yourself

Edit field locations, demands & time windows, then route your trucks optimally

Field Data & Truck Configuration

8 Fields · Click any cell to edit
A fertilizer depot serves 8 nearby farms during spring growing season. Time windows are moderate (most fields accept delivery across a 40–60 unit range), letting trucks consolidate stops efficiently.
Truck Capacity: 15 tons
FieldXYDemand (t)Window StartWindow End
Select Algorithm
Delivery Route Map

The Algorithms

Two construction heuristics — different strategies for building feasible routes

Nearest Neighbor TW Greedy: always picks closest feasible field Depot A [0,20] B [0,25] C [5,30] D [10,40] Truck 1 Truck 2 Result: 2 trucks, longer total distance NN visits nearby A&B first, then needs new truck for C&D Savings Heuristic Merges route pairs by distance saved Depot A [0,20] B [0,25] C [5,30] D [10,40] Truck 1 (all fields) Result: 1 truck, shorter total distance Savings merges A-B and C-D routes into one feasible tour

Nearest Neighbor with Time Windows

1

Start at Depot

Begin a new route from the depot with full truck capacity and time = 0.

2

Find Nearest Feasible

Among unvisited fields, find the nearest one whose time window and capacity constraints are satisfied.

3

Visit or Return

If a feasible field exists, visit it (updating time and remaining capacity). Otherwise, return to depot and start a new route.

4

Repeat

Continue until all fields are visited. Return final truck to depot.

Savings Heuristic (Clarke-Wright adapted for TW)

1

Initialize Individual Routes

Start with one route per field: Depot → Fieldi → Depot.

2

Compute Savings

For every pair (i, j), compute s(i,j) = d(Depot,i) + d(Depot,j) − d(i,j). A large saving means combining those fields into one route saves the most distance.

3

Merge by Savings

Sort savings descending. Merge route ending at i with route starting at j if capacity and time window constraints are satisfied.

4

Output Routes

The remaining (unmerged) routes are the final solution. Fewer routes = fewer trucks needed.

Real-World Complexity

Factors beyond the basic VRPTW model

Road Conditions

Unpaved farm roads may be impassable after rain, changing feasible routes.

Product Compatibility

Different fertilizer types cannot be mixed in the same truck compartment.

Weight Limits

Bridge and road weight restrictions limit truck loads on certain routes.

Seasonal Peaks

Spring application windows create extreme demand peaks with tight deadlines.

Wind Restrictions

Liquid fertilizer application is restricted during high winds, shrinking windows.

Loading Time

Truck loading at depot takes significant time, affecting departure schedules.

References

Key literature on vehicle routing with time windows

Solomon, M.M. (1987).
"Algorithms for the vehicle routing and scheduling problems with time window constraints."
Operations Research, 35(2), 254–265.
Toth, P. & Vigo, D. (2014).
"Vehicle Routing: Problems, Methods, and Applications."
2nd ed. SIAM/MOS Series on Optimization.

Need to optimize agricultural
delivery logistics?

Get in Touch
Data shown is illustrative. This is a simplified model for educational purposes.
 Home
ESC