SailSearch: Agent-Assisted Discovery in Combinatorial Optimization

Dhriti Verma, Kanthi Sarpatwar, Vinicius Lima, Dzung Phan, Jayant KalagnanamarXiv 2026 · arXiv

TL;DR

SailSearch is a human-guided workflow that pairs a "Worker" agent for implementation with an "Ideator" agent for literature-driven strategy to solve complex combinatorial optimization problems. Using this approach, researchers solved 18 previously open problems in the Market Split benchmark and developed a new generator for Maximum Independent Set (MIS) instances that remain stubbornly difficult for state-of-the-art solvers.

What Problem Does This Paper Address?

Combinatorial optimization problems—like finding the largest set of non-adjacent nodes in a graph (MIS) or solving systems of binary integer equations (Market Split)—are notoriously difficult. While Large Language Models (LLMs) have shown promise in "generate-and-test" cycles for simple heuristics, they often stall on deep mathematical research.

On hard problems, a simple success/failure signal isn't enough to guide an agent. Research requires mathematical intuition, diagnostic testing to understand why a search is failing, and the ability to pivot based on literature. SailSearch addresses the "context rot" and self-correction biases that plague long-running agent sessions by introducing a structured, multi-agent workflow with human oversight.

Methods

The core of the paper is the SailSearch workflow, which divides labor among three roles:

  • The Worker Agent: (Claude Code/Opus) Operates in a sandbox, writes code, runs experiments on compute clusters, and designs diagnostic tests.
  • The Ideator Agent: (GPT-5.5) Operates in a separate context with access to mathematical literature. It critiques the Worker’s assumptions and proposes new theoretical directions.
  • The Human Researcher: Acts as the "router" and strategist, relaying messages between agents, setting objectives, and intervening when agents prematurely abandon promising ideas or generalize from insufficient data.
Figure 1: The SailSearch workflow. The worker studies the problem and runs experiments; the ideator reads the literature and proposes directions from a separate context. Both can inspect the experimental repository and keep their own notes. The human researcher passes messages between them and guides the research objectives and experimental procedure.

The team applied this workflow to two specific projects:

  1. Market Split Solver: They developed a randomized lattice-search algorithm that searches across multiple lattice bases while simultaneously performing basis reduction (BKZ).
  2. Adversarial MIS Generator: They designed a generator that "plants" a known optimum into a graph using XOR constraints and quasi-cyclic lifts (techniques borrowed from error-correcting code design). This ensures the optimum is mathematically certified but hidden from general-purpose search heuristics.

Datasets

  • QOBLIB (Quantum Optimization Benchmarking Library): Used for evaluating the Market Split solver. The paper focuses on the 156 benchmark instances, specifically targeting 33 that were previously "open" (unsolved by CPU-only methods).
  • New MIS Benchmarks: The authors introduced nine new adversarial MIS instances ranging from 960 to 3,996 vertices. These are designed to be "hard" baselines for both classical and future quantum algorithms.

Key Insights and Ideas

  • Separation of Concerns Mitigates Bias: By keeping the Ideator in a separate context from the Worker's messy experimental logs, the Ideator can provide "fresh eyes" based on literature, preventing the team from getting stuck in a local optimum of ideas.
  • Human Intervention is the "Secret Sauce": The authors found that agents often wanted to give up after a few failed tests. Human researchers were essential for challenging these premature conclusions and forcing the agents to dig deeper into specific mathematical structures (like quasi-cyclic lifts).
  • Diagnostics over Outcomes: Instead of just looking at whether a solver found a solution, the agents developed diagnostics—such as measuring how search costs varied across different lattice bases—to inform the next iteration of the algorithm.
  • Algebraic "Glassy" Landscapes: The MIS generator creates graphs with "glassy" energy landscapes. While a specialized decoder can solve them in milliseconds using Gaussian elimination, general-purpose solvers get lost in the combinatorial complexity, consistently falling short of the optimum.

Key Results

  • Market Split Success: The SailSearch-designed algorithm found the first reported CPU-only solutions to 18 of the 33 previously open QOBLIB instances. It solved between 130 and 133 of the total 156 instances per random seed within a 24-hour window.
  • Hard MIS Benchmarks: In eight-hour runs across thirteen different solver configurations (including CPLEX and specialized local searchers), no solver reached the planted optimum on the larger instances. The best solvers typically fell short by 5 to 15 vertices.
Table 1: MIS benchmark results. Best is the largest independent set found over the eight-hour runs; shortfall is the planted optimum minus Best.

Limitations and Future Work

The authors acknowledge that this is a retrospective study with a single human researcher, making it hard to isolate the exact causal impact of the multi-agent setup versus the human's own expertise.

Future work includes:

  • Testing the SailSearch workflow with different LLM models and larger teams of researchers.
  • Applying the Market Split solver to newly generated, even larger instances to see where the lattice-search approach finally hits a wall.
  • Using the adversarial MIS instances to benchmark the actual performance of emerging quantum optimization hardware.

Summary updated

Abstract

We present SailSearch, a human-guided workflow for algorithmic research with two language-model agents, and report results on Market Split and maximum independent set (MIS). For Market Split, our randomized algorithm searches across multiple lattice bases, dividing computation between enumeration and continued basis reduction. Across ten random seeds per instance, it found the first reported CPU-only solutions to 18 of 33 previously open QOBLIB instances, solving 130 to 133 of the 156 benchmark instances per seed with a 24-hour cutoff on two CPU cores. For MIS, our generator encodes planted XOR constraints as graphs with certified optima; on seven instances with 1,752 to 3,996 vertices, the best solutions returned by the tested solvers in eight-hour runs were 5 to 15 vertices below the optimum.
BibTeX
@misc{verma2026sailsearch,
  author = {Dhriti Verma and Kanthi Sarpatwar and Vinicius Lima and Dzung Phan and Jayant Kalagnanam},
  title = {{SailSearch: Agent-Assisted Discovery in Combinatorial Optimization}},
  year = {2026},
  eprint = {2611.25087},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.25087},
}
Figure