Skip to content

How Good Are Coding Agents at Automatic Algorithm Design?

Haoze Lv, Shaofeng Zhang, Shengcai Liu, Ke Tang

cs.AI

Abstract

High-performance solvers for combinatorial optimization problems typically rely on human expert design. Most existing approaches to automatic heuristic design with large language models (LLMs) use predefined evolutionary or tree-search workflows to guide heuristic generation and improvement. General-purpose coding agents can choose which parts of a solver to modify and adapt their development process based on execution feedback. We evaluate their performance in automatic algorithm design across five problem domains, from permutation flow-shop scheduling and the traveling salesman problem to the 2018, 2020, and 2022 ROADEF/EURO industrial challenges. We study both the improvement of existing solvers and the development of solvers from scratch. The four agent-model pairs are Codex (GPT-6-Astra), Kimi-code (KIMI-K3), Zcode (GLM-5.3), and DeepSeek Harness (DeepSeek-V4-Flash). Within a unified evaluation framework, we compare them with fixed-workflow baselines (ReEvo and OpenEvolve) and strong human references, evaluating solution quality, solving success rates, held-out generalization, and code modifications. Coding agents can match or outperform the evaluated fixed-workflow methods and further improve existing high-performance solvers, with gains transferring to unseen instances across multiple domains. Their performance depends on problem complexity and the development starting point. From scratch, coding agents can outperform human references on relatively simple problems but still fall far behind mature expert solvers on complex ones. On highly complex solvers, their improvements do not necessarily surpass simple parameter adjustments.

Create a lesson

Metadata

Comments
Technical report. 64 pages, 11 figures. Code and benchmarks are available at https://github.com/Antoniano1963/Agentic-AAD