NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Neural Solver Selection for Combinatorial Optimization

Chengrui Gao, Haopu Shang, Ke Xue, Chao Qian

Instead of trying to build a single "perfect" neural solver for NP-hard problems, recent research proposes a framework to automatically select the best solver for each specific problem instance. By coordinating a "zoo" of existing solvers using a hierarchical graph encoder and a ranking-based selection model, this approach achieves state-of-the-art results on Traveling Salesman Problem (TSP) and Capacitated Vehicle Routing Problem (CVRP) benchmarks with negligible computational overhead.

The "No Free Lunch" Problem in Neural Solvers

Combinatorial Optimization Problems (COPs) are notoriously difficult. Recently, "neural solvers"—deep learning models that learn heuristics—have emerged as fast, effective alternatives to traditional expert-designed algorithms.

However, the "No Free Lunch" theorem applies heavily here: no single neural solver dominates all others across every possible problem instance. One solver might excel at instances with clustered nodes, while another performs better on uniform distributions. While most research focuses on making individual solvers more powerful, this paper identifies a missed opportunity in instance-level coordination. The challenge is accurately predicting which solver in a diverse "pool" will perform best for a brand-new instance without the prohibitive cost of running all of them.

Motivation and Proposed Framework

A General Framework for Solver Selection

To address this, the authors introduce a general framework for Neural Solver Selection consisting of three main stages:

  1. Feature Extraction: To understand the "shape" of a problem, the framework uses a Hierarchical Graph Encoder. Unlike standard Graph Neural Networks (GNNs) that simply average node embeddings, this encoder uses graph pooling to downsample the instance. This captures multi-level structural information, such as clusters and boundaries, which are key indicators of problem difficulty for different heuristics.
  2. Selection Model: A Multi-Layer Perceptron (MLP) takes these features and predicts "compatibility scores" for each solver in the pool. Crucially, this model is trained using a Ranking Loss—maximizing the likelihood of the correct performance order—rather than simple classification. This teaches the model the relative quality of all available solvers, providing a richer signal that leads to better generalization.
  3. Selection Strategy: Users can choose how to apply the predicted scores:
  4. Greedy: Run only the top-predicted solver.
  5. Top-k: Run the top $k$ solvers and keep the best result.
  6. Rejection-based: Use a confidence threshold to decide whether to run one solver or a portfolio of $k$ solvers.

Experimental Insights and Results

The framework was trained on 10,000 synthetic instances (generated using Gaussian mixture distributions to ensure variety) and evaluated on both synthetic test sets and standard out-of-distribution benchmarks like TSPLIB and CVRPLIB Set-X.

Solvers are Highly Complementary

Empirical evidence proves that different solvers "win" on different instances. Even the best individual solver (Omni) only wins on about 40% of instances, leaving 60% of cases where an alternative tool would yield a better result.

Significant Performance Gains

The selection framework consistently outperformed the best individual solvers across all benchmarks:

  • Synthetic TSP: Reduced the optimality gap from 2.33% (best individual) to 1.51% (using Top-k, k=2).
  • Synthetic CVRP: Reduced the gap from 6.82% to 4.81%.
  • Generalization: Improved the gap by 0.88% on TSPLIB and 0.71% on CVRPLIB over the best individual solver.
CVRP Performance Comparison

Notably, the "composite" solver created by this framework often achieved better results than the best individual solver while consuming less total time in some greedy configurations. The time taken to extract features and select a solver is in the range of milliseconds, making the "meta-decision" almost free compared to the seconds required to run the solvers themselves.

Limitations and Future Directions

While highly effective, the current framework relies on a static solver zoo. If a new solver is released, the selection model must be retrained. Future work could explore "zero-shot" selection using Large Language Models to encode solver descriptions dynamically. Additionally, the current model assumes solvers have similar runtimes; for "learn-to-search" solvers that take much longer, the selection strategy will need to become "runtime-aware" to balance the time-accuracy trade-off. Finally, instead of using off-the-shelf solvers, future research could train a population of solvers specifically to be "specialists" in different niches of the problem space.

Summary updated

BibTeX
@inproceedings{gao2025neural,
  author = {Chengrui Gao and Haopu Shang and Ke Xue and Chao Qian},
  title = {{Neural Solver Selection for Combinatorial Optimization}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=e0OFWfvLCO},
}
Figure