Comparative Evaluation of PyTorch, JAX, SciPy, and Neal for Solving QUBO Problems at Scale
Pei-Kun Yang

TL;DR
This paper benchmarks five software solvers for large-scale QUBO problems, comparing their solution quality, scalability, and runtime efficiency across problem sizes up to 45,000 variables.
Contribution
It provides a comprehensive comparison of Neal, PyTorch, JAX, and SciPy for solving large QUBO problems, highlighting their strengths and limitations.
Findings
Neal achieves the lowest energy but is limited to 6000 variables.
PyTorch offers a good balance of solution quality and scalability.
SciPy is limited to small problems with longer runtimes.
Abstract
Quadratic Unconstrained Binary Optimization (QUBO) is a versatile framework for modeling combinatorial optimization problems. This study benchmarks five software-based QUBO solvers: Neal, PyTorch (CPU), PyTorch (GPU), JAX, and SciPy, on randomly generated QUBO matrices ranging from 1000x1000 to 45000x45000, under six convergence thresholds from 10^-1 to 10^-6. We evaluate their performance in terms of solution quality (energy) and computational time. Among the solvers tested, Neal achieved the lowest energy values but was limited to problems with up to 6000 variables due to high memory consumption. PyTorch produced slightly higher energy results than Neal but demonstrated superior scalability, solving instances with up to 45000 variables. Its support for GPU acceleration and CPU multi-threading also resulted in significantly shorter runtimes. JAX yielded energy values slightly above…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMulti-Criteria Decision Making
