Optimizing the Optimizers: Measuring Learned Control of MIP Solvers on a Single DGX Spark
The default settings of a mixed-integer programming (MIP) solver are tuned to do well on average; a user with a fixed time budget cares about the instance at hand. On one NVIDIA DGX Spark we measure, for HiGHS, SCIP and NVIDIA cuOpt, how much sooner a good solution could be found by choosing settings per instance, whether that gain comes from the initial choice or from switching settings during the solve, and what simple and learned controllers recover, with their decision time charged to the budget. The measure is the primal integral, the gap to the best known solution averaged over the budget.
Main findings
Over 8,000 runs on MIPLIB 2017, two ML4CO families and PGLib-UC unit commitment:
- How much there is to gain. Choosing the best of six configurations per instance would lower the primal integral by 19 % over all 336 attempted instances, 25 % on the 313 where some configuration finds a solution and 41 % on MIPLIB (one seed).
- Choosing, not switching. Inside SCIP most of the gain comes from the initial choice: the right static setting is worth 12 % (45 instances) and 20 % (the 20 with the most headroom), while the six switching schedules we tried add about 2 % at 120 s and nothing detectable at 300 s.
- A timing-matched control. On held-out ML4CO instances one fixed setting improves on SCIP's defaults by 33 %. An untrained local language-model agent makes the same first move in most runs, but the fixed setting applied at the same solver callback beats it on 22 of 30 instances.
Tutorials
Six short chapters that explain the ideas from zero, each with a figure from the paper's runs and an example you can run in about a minute:
- What a MIP solver does while it runs
- Measuring "good solutions early"
- Portfolios, oracles and headroom
- Choosing versus switching
- Agents in the loop
- Parallel copies and learned selectors
Further reading: books and papers, marked open or paywalled.
Two solvers at once
| pair (80 MIPLIB instances, 60 s, one session) | gain over the CPU solver alone |
|---|---|
| HiGHS with cuOpt on the GPU | +30.4 % [17.7, 44.2] |
| SCIP with cuOpt (first 44 instances) | +21.5 % [9.3, 36.9] |
| cuOpt's solutions passed into SCIP (SCIP's own integral) | +14 % |
95 % bootstrap intervals over instances in brackets.
Reproduce
git clone https://github.com/berkorbay/optopt && cd optopt
python -m venv .venv && . .venv/bin/activate && pip install -e ".[dev,plots]"
# re-analyse the published study: unpack the original measurements, then re-derive every table
curl -LO https://github.com/berkorbay/optopt/releases/download/traces-v1/optopt-traces-v1.tar.gz
tar -xzf optopt-traces-v1.tar.gz
optopt reproduce
Re-running the experiment definitions in jobs/ instead is a new replication; wall-clock results will
differ on other hardware. See the README.
Cite
@techreport{orbay2026optimizing,
title = {Optimizing the Optimizers: Measuring Learned Control of {MIP} Solvers on a Single {DGX} {Spark}},
author = {Orbay, Berk},
year = {2026},
type = {Technical report},
doi = {10.5281/zenodo.22947442},
url = {https://github.com/berkorbay/optopt}
}