Optimization of Next-Day Delivery Coverage using Constraint Programming and Random Key Optimizers
Kyle Brubaker, Kyle E. C. Booth, Martin J. A. Schuetz, Philipp Loick, Jian Shen, Arun Ramamurthy, Georgios Paschos
TL;DR
This work tackles maximizing next-day delivery coverage in a retailer's middle-mile network by optimizing truck departure times along network legs. It develops two complementary solver families: exact constraint programming (CP) and heuristic random-key optimization (RKO), each augmented with problem-specific constraints such as rolling capacity, labor efficiency, and dispatch spacing, and evaluated against a black-box demand evaluator. Key contributions include incorporating intermediate sort centers, multi-wave legs, and hybrid solver configurations that couple CP or RKO with local search. The experiments on a large EU-scale network show that hybrid solvers can outperform a bespoke greedy baseline in 1D delivery coverage, with RKO hybrids offering the largest gains at the cost of longer runtimes, while CP hybrids achieve competitive improvements with moderate runtimes. The results provide actionable insights for fast-and-slow optimization strategies in complex logistics networks and point to promising directions for integrating proxy and black-box objectives, warm-starting, and decomposition techniques in future work.
Abstract
We consider the logistics network of an e-commerce retailer, specifically the so-called "middle mile" network, that routes inventory from supply warehouses to distribution stations to be ingested into the terminal ("last mile") delivery network. The speed of packages through this middle mile network is a key determinant for the ultimate delivery speed to the end user. An important target for a retailer is to maximize the fraction of user orders that can be serviced within one day, i.e., next-day delivery. As such, we formulate the maximization of expected next-day delivery coverage within the middle-mile network as an optimization problem, involving a set of temporal and capacity-based constraints on the network and requiring the use of a black-box model to evaluate the objective function. We design both exact constraint programming (CP) and heuristic random-key optimizer (RKO) approaches, the former of which uses a proxy objective function. We perform experiments on large-scale, real-world problem instances and show that both approaches have merit, in that they can match or outperform the baseline solution, a bespoke greedy solver with integrated local search, in expected next-day delivery coverage. Our experiments focus on two high-level problem definitions, starting with a base problem and then adding more complexity, and also explore the generalization of the solvers across a range of problem instance sizes. We find that a hybrid model using RKO and a bespoke local search protocol performs best on the full problem definition with respect to expected next-day delivery (increase of +50 basis points [bps] over baseline) but can take days to run, whereas the hybrid model using CP and local search is slightly less competitive (+20 bps) but takes only hours to run.
