Load Consolidation Algorithms in Multi-Stop Trucking Routes
Math-based algorithms beat manual planning once routes get too complex for human decisions.

Empty miles are what happen when consolidation fails. The fix for that failure is almost never a spreadsheet; the more durable answer tends to be an algorithm borrowed from a branch of math that has nothing to do with trucking on the surface and everything to do with it underneath. This piece walks through how that math actually works, which shortcuts hold up under real freight networks and which ones quietly fall apart, and where a company like SPOT fits into the picture. The goal here is modest: to show, step by step, why guessing stops working somewhere around the fourth or fifth stop on a route, and what takes over after that.
What load consolidation actually means across FTL, LTL, and hybrid shipments
Three load structures compete for the same freight, and picking the wrong one is where a lot of waste starts. Full truckload, or FTL, makes sense when a single shipper has enough volume to fill a trailer outright. It's efficient per mile but demands large, infrequent shipments, and the tradeoff shows up in inventory carrying costs while product sits waiting to reach that volume. LTL flips that: a shipper pays only for the space used, typically ranging from 150 to 15,000 pounds per shipment, and multiple shippers split the truck. That keeps inventory costs down, but it adds terminal handling, sorting, and transfer time that FTL never has to deal with.
Consolidation sits between the two, combining shipments of different sizes into a single truckload and capturing FTL's per-mile economics without forcing a shipper to sit on inventory until a full load accumulates. There's a rough threshold where this stops being theoretical: when multiple LTL shipments heading to the same destination within a 48 to 72 hour window add up to roughly 8 to 12 pallets or more than 10,000 pounds, consolidating them into one FTL move tends to save 20 to 40% on that freight. That threshold isn't fixed, though. It moves with lane pricing, fuel surcharges, and whatever capacity happens to be sitting around that week, which is exactly why an algorithm that can spot the crossover in real time creates savings a static rule never will.
Then there's the cube problem, and this is where a lot of otherwise sensible planning quietly falls apart. Trailers frequently run out of usable space before they hit their weight limit, a phenomenon the industry calls cubing out. A planner who only tracks weight is leaving paid-for space empty, plain and simple. Multi-stop routes make this worse, because every pickup or delivery changes how much cube is left and in what shape, so sequence and packing start interacting in ways a weight-based rule of thumb simply can't follow. Add backhauls, mixed cargo types, and compartment restrictions into the mix, and the number of ways to arrange a route expands fast enough that guessing stops being a viable strategy fairly quickly.
Why the Vehicle Routing Problem is the mathematical core of consolidation
Underneath all of this sits the Vehicle Routing Problem, or VRP, a class of combinatorial optimization problems that happens to describe freight routing almost exactly. VRP is NP-hard. That's a precise mathematical statement, not an exaggeration for effect: the computational effort needed to solve it exactly grows faster than any polynomial function of the number of stops. Add ten more customers to a route and the search space doesn't grow by ten, it multiplies.
The variant that matters most for trucking is VRPTW, the Vehicle Routing Problem with Time Windows. Every customer carries both a capacity demand and a window during which they'll accept delivery, and a valid plan has to hit each customer exactly once, on time, without ever exceeding what the trailer can hold. Savelsbergh showed back in 1985 that even just finding a feasible solution for the fixed-vehicle-count version of this problem is NP-complete, a bar set well below optimality.
So what does that failure actually look like on a real machine? Push an exact solver like Gurobi past a few dozen customers and the number of binary variables balloons past what any reasonable amount of memory can hold before it makes meaningful progress toward a proven-optimal answer. Real freight networks run hundreds to thousands of stops. This isn't a problem faster chips will quietly solve in a few years; it's structural, baked into the math itself, which is exactly why heuristics and metaheuristics run the show in actual operations rather than exact solvers. Academic papers can prove optimality on a toy problem with twenty nodes and call it a day. Carriers run thousands of planning decisions daily under real time pressure, where "good enough, fast enough, every single day" beats "provably optimal, eventually" every time it counts.
How the Clarke-Wright savings algorithm consolidates routes in practice
Clarke-Wright dates back to 1964, and it's stuck around because the logic is genuinely simple: calculate how much distance gets saved by serving two customers on one combined route instead of two separate round trips from the depot, rank every possible pair by that savings figure, then merge routes from the top of the list down, stopping whenever a merge would break the trailer's capacity limit. It was built for a single depot with one type of vehicle, and within that narrow lane, it still holds up.
Why has a sixty-year-old heuristic survived into modern routing software? Speed, mostly, and transparency. It computes fast, the logic is easy to explain to a dispatcher who's never touched a solver in his life, and it shows up as a standard baseline in commercial routing packages for the capacitated VRP.
Here's the part worth taking seriously, though: Clarke-Wright optimizes distance, not total logistics cost, and that distinction matters more than it sounds like it should. When shipments have different origins and destinations, sometimes the cheapest overall move involves driving a bit further to cut combined transport and inventory cost, a tradeoff Clarke-Wright has no way to see because it was never built to look for it. Newer research has tried to patch this directly, building savings-based procedures aimed at total logistics cost instead of raw mileage, and modifying the savings calculation itself to account for pickup-and-delivery scenarios the 1964 version never anticipated. Clarke-Wright remains a genuinely good shortcut for a narrow case, but treating it as the default answer for a mixed-origin network with tight time windows and real inventory cost sensitivity leaves money on the table by design, not by accident. That's the mistake worth naming plainly: reaching for Clarke-Wright because it's familiar, not because the network it's solving for still looks like the one it was built for in 1964.
Metaheuristics that handle the scale and constraint complexity Clarke-Wright cannot
Exact solvers fail at scale, and Clarke-Wright, while fast, is too narrow for the messier real-world cases. Metaheuristics fill the space between those two failures: they give up the promise of a provably optimal answer in exchange for consistently good answers computed in a reasonable amount of time, across networks far larger than anything an exact solver could touch.
Genetic Algorithms show up constantly in this space, and for good reason. On the Vehicle Routing Problem with Shipment Consolidation, GA produces stable, consistent travel-distance results, which is part of why it gets recommended over alternatives like Artificial Immune System methods when reliability matters more than squeezing out a marginal improvement. GA paired with Clarke-Wright works especially well as a hybrid: Clarke-Wright seeds a decent starting set of routes fast, and GA spends its computation budget improving from there instead of starting from scratch.
Variable Neighborhood Search, or VNS, tackles a nastier combination: routing problems that fold in two-dimensional loading and split deliveries while minimizing emissions, enforcing physical packing rules and unloading sequence constraints all at the same time. That's the frontier where consolidation, the physics of how boxes actually stack, and sustainability targets all get optimized in the same pass rather than as separate afterthoughts. Hybrid approaches pairing GRASP with exact methods have gone after related problems, cumulative routing with time windows aimed at fuel and emissions reduction, with results that show potential on benchmark tests.
Multi-objective sustainable VRP models built for congested urban delivery networks push this further still, juggling cost, emissions, and customer satisfaction at once. Some use Voronoi diagram-based network-shrinking to cut computational load and fold in time-dependent traffic patterns, which matters a great deal for last-mile multi-stop routes where a stop sequence that looks efficient at 6am falls apart by 4pm rush hour.
Two-echelon VRP deserves particular attention because it maps almost exactly onto how large LTL carriers already operate. The distribution network splits into two layers, with intermediate hub facilities handling consolidation and transfer between them. That's a shipment moving through a sort terminal, waiting to link up with compatible freight, before the final leg to the customer. The 2E-VRP framework just gives that real-world structure a formal mathematical shape, letting planners optimize both legs together instead of treating the hub-to-hub run and the final-mile run as two unrelated problems solved in sequence.
A couple of newer threads round this out. Research has also explored how consolidation decisions interact with uncertainty in demand and transit times across complex freight networks. Alongside these algorithmic developments, structural questions about who controls the consolidation logic and how shipment data gets shared remain an active area of discussion. That's less an algorithmic tweak and more a question about how the broader system is organized in the first place.
How SPOT combines machine learning with optimization to solve consolidation at terminal scale
SPOT is a system built from the ground up for load consolidation in multi-stop freight networks specifically, rather than adapted from a general-purpose VRP solver.
The system runs on two components that hand work off to each other. The machine learning half handles pattern-finding: it groups historical partial-load data by spatial and temporal proximity for a given destination, and identifies consolidation patterns that repeat over time. That tactical insight, built from history, tells planners which combinations of shipments tend to consolidate well repeatedly. The optimization half then takes that shortlist of candidate patterns and picks the most cost-effective, feasible set of routes for a specific operational day.
Why bother splitting the work this way? Most prior approaches treat each planning day as its own isolated puzzle, starting from zero every morning. SPOT's ML layer mines months of history first, so the optimizer never has to search the entire space of possibilities; it starts from a small set of options that history already says are good. The gain comes less from a fancier optimizer and more from a smaller, smarter search space handed to a fairly ordinary one.
On industrial load data, the system achieved substantial reductions in travel distance and transportation costs at large terminals compared to existing industry-standard load planning approaches and heuristic baselines. It was also designed to scale to large networks, avoiding the memory limitations that constrain exact solvers past a few dozen stops. There's a subtler point buried in there too: because the system mines historical patterns, it can surface consolidation choices that look mediocre on a single day's distance math but turn out to be reliably cost-effective across weeks or months, a category of insight that a route optimizer with no memory of yesterday will never stumble onto on its own.
How the constraints that algorithms must manage translate into specific route decisions
Every algorithm discussed so far is, underneath the math, managing the same four constraint types, and they rarely behave one at a time.
Capacity constraints cover weight and cube limits, and as the cubing-out problem shows, weight alone is an incomplete signal. An algorithm has to track both figures and recalculate remaining capacity after every single stop. Time window constraints add customer-specific delivery windows, and tighter windows shrink the pool of shipments that can realistically be consolidated together, since a route has to hit every window without exception, which sometimes forces a split that a looser schedule wouldn't require. Geographic constraints seem like the simple one; stops near each other look like obvious consolidation candidates. But proximity alone guarantees nothing, since a tight geographic cluster with clashing time windows or incompatible cargo can end up cheaper to run as two separate trips than one combined route. And sequence constraints tie loading order to unloading order: pack a trailer to maximize cube and the load-out sequence can turn into a nightmare to unload efficiently, quietly erasing whatever capacity gain the packing plan achieved in the first place. That's precisely the two-dimensional loading problem the VNS research addresses directly.
These four don't sit in separate boxes waiting their turn. A route that checks out fine on capacity and geography can blow a time window the instant one more stop gets added to it, and the algorithm has to weigh all four dimensions at once rather than sequentially, which is a big part of why the combinatorial complexity climbs so steeply as stop count grows. Backhauls complicate the picture further: multi-stop routes built around simultaneous pickup and delivery need to hold capacity in reserve for return freight, a requirement a purely delivery-focused planning model was never designed to account for. None of these constraints is hard on its own. It's the interaction between all four, recalculated at every stop, that turns a simple-sounding routing problem into the NP-hard mess the earlier sections describe, and it's exactly why the algorithms built to manage it keep getting more layered, not simpler.


