Introduction
Online Freight Exchange Systems (OFEX), such as Uber Freight or Convoy, face the constant challenge of matching shippers with carriers in real-time. A critical component of this marketplace is freight bundling: the process of combining multiple individual shipments into a single, profitable route for a carrier. This paper introduces a hybrid "learning-accelerated" search pipeline designed to solve this complex optimization problem under sub-second latency constraints.
Defining the m1-PDSTSP
The authors model the freight bundling challenge as a multi-commodity one-to-one pickup-and-delivery selective traveling salesperson problem (m1-PDSTSP). This variant is particularly difficult because it requires the algorithm to simultaneously decide which loads to accept (selectivity) and how to route them, all while respecting vehicle capacity, pickup-before-delivery precedence, and maximum route lengths.
As shown in the table above, the m1-PDSTSP incorporates a unique combination of constraints—including node selection, vehicle capacity, and specific commodity handling—that distinguishes it from simpler variants like the standard TSP or the Pickup and Delivery TSP (PDTSP). Because these platforms operate in dynamic environments, they require solutions in milliseconds, a feat traditional exact solvers cannot achieve for larger problem instances.
Methodology: A Two-Phase Hybrid Pipeline
To bridge the gap between fast-but-myopic neural constructors and robust-but-slow metaheuristics, the authors propose a two-phase approach:
- Neural Construction (The "Seed"): A Transformer-based encoder-decoder model, trained via Reinforcement Learning (the POMO algorithm), generates multiple diverse, high-quality "seeds" in parallel. To handle the NP-hard nature of feasibility checking, the authors implement approximate feasibility masking, using cheap lower-bound surrogates to prune invalid moves during construction.
- Multi-Start Large Neighborhood Search (The "Improver"): These seeds are refined using a Multi-Start Large Neighborhood Search (MSLNS). The search employs a softmax-biased removal strategy, analyzing the frequency of requests across different neural trajectories. Requests that appear frequently are identified as "backbone" elements, allowing the search to prioritize destroying and repairing specific parts of the route to escape local optima.
Key Insights: Attraction Basins and Backbone Discovery
The core philosophy of this research is that Deep Learning's primary value in combinatorial optimization is placing the search within a "high-quality attraction basin." While classical heuristics often start in poor regions of the search space and struggle to escape, the neural network provides a shortcut to the "good neighborhoods."
In selective routing, the choice of which nodes to include fundamentally changes the geometry of the problem. By generating multiple trajectories, the model identifies "backbone" requests—loads that are statistically likely to be part of an optimal bundle. This signal guides the metaheuristic's "destroy" phase more intelligently than traditional random or greedy approaches.
Results and Performance
The study evaluated the model on synthetic benchmarks with problem sizes ranging from N=22 to N=122 nodes across various revenue structures (Distance, Ton-Distance, Uniform, and Constant).
- Near-Optimality: The method achieved an optimality gap of less than 2% in total revenue compared to Gurobi, the industry-standard exact solver.
- Pareto Dominance: The hybrid DNN+MSLNS approach consistently dominated the quality-latency Pareto frontier, outperforming both standalone neural models and classical metaheuristics.
- Robustness: On the PDSTSP22 benchmark, the method matched the exact solver's solution in 88.2% of instances and demonstrated strong zero-shot generalization to larger problem sizes and different constraint regimes.
Future Directions
While the current approach provides significant speedups, the authors identify several areas for future work. Currently, the model relies on a "rolling-horizon" scheme that treats the marketplace as a series of static snapshots. Future iterations aim to scale the system further using hierarchical decomposition and to integrate real-world constraints such as specific time windows for pickups and deliveries.
Summary updated