Skip to content
DraconiticResearch
Search Sources API
203,234 studies31 sourcesUpdated 36 min ago
PreprintarXiv licencearXiv

Hard Instances on Demand

Abstract

The conclusions of an experimental study of algorithms are only as good as the instances they are run on. Benchmark libraries for well-studied problems took decades to curate, while evaluations of new problems often fall back on random instances, which are known to be misleading: they may say more about the random generator than about the algorithmic question at hand. We treat instance generation as an optimization problem: parameterize the instance space, take the solver's running time as the objective, and let a black-box optimizer search for hard instances. We develop a widely applicable workflow built on the Nevergrad optimization platform and demonstrate it on four NP-hard problems: satisfiability, traveling salesperson, Hamiltonian cycle, and non-permutation flow-shop scheduling. The search needs only the solver, an instance encoder, and a compute budget. Our evolved instances beat the hardest instance of a budget-matched random draw in all four case studies, by an order of magnitude or more in three. They are often competitive with long-curated benchmark sets: our SAT champion is harder (for a three-solver portfolio) than 78% of the 498 SAT Competition formulas in its size class; our 20-city TSP champions take several times longer than the hardest measured classical TSPLIB instance (229 cities); and our flow-shop champion takes 238.6 seconds of CP Optimizer time to solve to proven optimality (versus 4.5 seconds for the hardest of 100,000 random draws) while denying CP-SAT an optimality proof. The optimizer even recovers known structure from running time alone: it locates a SAT clause/variable ratio near the phase transition and finds structurally different champions for the two scheduling engines.

Related

  1. Prime factorisation of stable-matching instances: uniqueness, simultaneous products, and an exact census
    Yoshiteru Ishida
    arXivPreprintCC BY 4.0Full textCombinatorics & discrete mathematicsarXiv
  2. Improved upper bounds for five IHTC-2024 benchmark instances via exact reoptimization of the nurse-to-room layer
    Alfonso Gippini Requeijo
    arXivPreprintarXiv licenceFull textOptimisation & controlarXiv
  3. Branch and Price for Railway Crew Scheduling: Benchmark Instances and Computational Study
    Bart van Rossum
    arXivPreprintCC BY 4.0Full textOptimisation & controlarXiv
  4. Some instances of modularity for residually reducible representations in the mixed case
    Luis V. Dieulefait
    arXivPreprintCC BY 4.0Full textAlgebra & number theoryarXiv
  5. Super-linear Lower Bounds for CSP Non-Redundancy via Shrinking Instances
    Joshua Brakensiek, Venkatesan Guruswami, Bart M. P. Jansen +2
    arXivPreprintCC BY 4.0Full textCombinatorics & discrete mathematicsarXiv
BibTeX
@misc{fravel2026hard,
  title = {{Hard Instances on Demand}},
  author = {Jamie Fravel and Martin Koutecký and Pavlo Tsitsei},
  howpublished = {arXiv},
  year = {2026},
  month = oct,
  doi = {10.48550/arxiv.2610.22637},
  eprint = {2610.22637},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.22637},
}
RIS
TY  - UNPB
TI  - Hard Instances on Demand
AU  - Jamie Fravel
AU  - Martin Koutecký
AU  - Pavlo Tsitsei
PY  - 2026
DA  - 2026/10/15
PB  - arXiv
DO  - 10.48550/arxiv.2610.22637
UR  - https://arxiv.org/abs/2610.22637
AB  - The conclusions of an experimental study of algorithms are only as good as the instances they are run on. Benchmark libraries for well-studied problems took decades to curate, while evaluations of new problems often fall back on random instances, which are known to be misleading: they may say more about the random generator than about the algorithmic question at hand. We treat instance generation as an optimization problem: parameterize the instance space, take the solver's running time as the objective, and let a black-box optimizer search for hard instances. We develop a widely applicable workflow built on the Nevergrad optimization platform and demonstrate it on four NP-hard problems: satisfiability, traveling salesperson, Hamiltonian cycle, and non-permutation flow-shop scheduling. The search needs only the solver, an instance encoder, and a compute budget. Our evolved instances beat the hardest instance of a budget-matched random draw in all four case studies, by an order of magnitude or more in three. They are often competitive with long-curated benchmark sets: our SAT champion is harder (for a three-solver portfolio) than 78% of the 498 SAT Competition formulas in its size class; our 20-city TSP champions take several times longer than the hardest measured classical TSPLIB instance (229 cities); and our flow-shop champion takes 238.6 seconds of CP Optimizer time to solve to proven optimality (versus 4.5 seconds for the hardest of 100,000 random draws) while denying CP-SAT an optimality proof. The optimizer even recovers known structure from running time alone: it locates a SAT clause/variable ratio near the phase transition and finds structurally different champions for the two scheduling engines.
ER  -