TL;DR
The authors present NeuralSEP, the first learning-based algorithm designed to generate "cuts"—specifically Rounded Capacity Inequalities (RCIs)—for solving the Capacitated Vehicle Routing Problem (CVRP). By combining Graph Neural Networks (GNNs) with an iterative graph coarsening procedure, NeuralSEP finds tighter lower bounds for large-scale problems (up to 1,000 customers) than the industry-standard heuristic library, CVRPSEP.
What Problem Does This Paper Address?
Solving the CVRP—finding the most efficient routes for a fleet of vehicles to deliver goods to customers—is a classic NP-hard optimization problem. Exact solvers use a "branch-and-cut" framework. A critical step in this process is the separation problem: given a fractional solution, find a linear inequality (a "cut") that is violated by that solution but satisfied by all valid integer solutions.
Among these, Rounded Capacity Inequalities (RCIs) are the most fundamental. However, finding the "best" RCI is itself an NP-hard problem. While exact solvers exist, they are too slow for large instances, leading researchers to rely on human-designed heuristics like those in the CVRPSEP library. These heuristics often struggle to find high-quality cuts as the number of customers grows, leading to weak lower bounds and long overall solution times.
Methods
The authors propose NeuralSEP, a hybrid approach that "neuralizes" the separation process:
- Graph Representation: The CVRP instance is treated as a graph where nodes are customers/depots and edges represent potential travel paths.
- GNN Embedding: A message-passing Graph Neural Network (GNN) takes the current fractional solution and predicts the probability ($p_i$) that each customer vertex $i$ belongs to a subset $S$ that violates capacity constraints.
- Iterative Graph Coarsening: To handle the combinatorial nature of the problem and ensure scalability, the algorithm iteratively "coarsens" the graph. It merges pairs of vertices that have a high probability of being in the same set (either both in $S$ or both not in $S$). After each merge, the GNN re-predicts probabilities on the smaller graph.
- Supervised Training: The model is trained to imitate an exact MIP-based separation solver. Crucially, it is trained only on small instances (50–100 customers) but designed to generalize to much larger ones.
- Complexity: The authors prove that the inference phase has a polynomial worst-case time complexity of $O(|V||E| \log |V|)$, making it theoretically efficient for large graphs.
Datasets
- Training Data: 20,000 pairs of support graphs and exact labels generated from 500 random CVRP instances with 50–100 customers.
- Randomly Generated CVRP: Test sets ranging from 50 to 1,000 customers to test scalability.
- CVRPLIB X-instances: A standard benchmark library for CVRP. These were used to test transferability (out-of-distribution performance), as these instances have different demand and location distributions than the training data.
Key Insights and Ideas
- Learning to Generate vs. Select: Most prior work in "ML for Optimization" focused on selecting which pre-existing cuts to use. NeuralSEP is the first to generate the cuts themselves using a neural architecture.
- Coarsening as De-randomization: The GNN provides "soft" continuous probabilities. The iterative coarsening acts as a "de-randomization" scheme, gradually making hard decisions about which nodes belong together until a clear violated subset $S$ emerges.
- Scale Invariance: By using a sparse GNN and iterative coarsening, the model can process a 1,000-node graph using the same logic it learned on 50-node graphs.
- Implicit Distribution Learning: The authors hypothesize that graph coarsening helps the model handle different demand distributions (like those in CVRPLIB) because merging nodes effectively creates "new" demand distributions during the inference process.
Key Results
- Superior Lower Bounds: For large-scale problems ($N \ge 400$), NeuralSEP consistently found better (higher) lower bounds than CVRPSEP. For instances with 1,000 customers, the optimality gap was significantly reduced (e.g., ~22.8% for NeuralSEP vs ~37.2% for CVRPSEP).
- Winning Ratio: In head-to-head comparisons on instances with 500+ customers, NeuralSEP outperformed CVRPSEP on 100% of the test cases.
- Efficiency in Iterations: NeuralSEP typically requires fewer iterations of the cutting plane method to converge to a high-quality bound compared to traditional heuristics.
- Transferability: Despite being trained on uniform distributions, the model successfully generalized to the diverse "X-instances" in CVRPLIB, outperforming CVRPSEP on large-scale benchmarks in that set as well.
Limitations and Future Work
- Raw Speed: While NeuralSEP is efficient in terms of iterations, its current Python/DGL implementation is slower per-iteration than the highly optimized C-code of CVRPSEP. The authors suggest a C++ implementation and better GPU/CPU integration as future work.
- Small Instance Performance: For small problems ($N < 400$), CVRPSEP remains highly competitive and often superior, likely because its human-designed heuristics are finely tuned for that scale.
- Scope of Cuts: This paper focuses exclusively on RCIs. A complete exact solver requires many other types of cuts (e.g., comb, multi-star). Extending this neural approach to other cut families is a logical next step.
Summary updated