cs.AIApr 13, 2026

Problem Reductions at Scale: Agentic Integration of Computationally Hard Problems

Authors: Xi-Wei Pan, Shi-Wen An, Jin-Guo Liu

Organizations: HKUST (GZ) · Institute of Science Tokyo · RIKEN AIP

Abstract

Solving an NP-hard optimization problem often requires reformulating it for a specific solver -- quantum hardware, a commercial optimizer, or a domain heuristic. A tool for polynomial-time reductions between hard problems would let practitioners route any supported problem to any supported solver through a single interface. Building such a library at scale, however, has remained out of reach. We show that harness engineering, the practice of designing constraints, verification systems, and feedback loops that channel AI coding agents, can overcome this barrier. Our harness combines a no-code contribution route for domain experts, a multilayer verification stack ranging from type-level checks to agentic feature tests (AI agents role-playing as end users), and a fully automated implementation-review-integration pipeline. In about three months, we built a command-line tool backed by a library of 100+ problem types and 200+ reduction rules in over 170k lines of Rust. The result suggests that a well-engineered harness lets agents build well-tested software at a scale and pace beyond prior reduction-library efforts. Because the reduction graph composes transitively, a new solver registered for any single problem type instantly becomes available to every problem connected by a reduction path. The source code is available at https://github.com/CodingThrust/problem-reductions.

Figures & tables

Appendix figures & tables10 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Humanize: Judgement Engineering for Agentic Coding

    Oct 6, 2026Sihao Liu, Ligeng Zhu, Zijian Zhang +6Multi-Agent CodingLLM Agent Orchestration

  2. Distribution-Aware Programming: Learning Specialized Solvers from Experience

    May 13, 2026Saharsh Koganti, Priyadarsi Mishra, Pierfrancesco Beneventano +1Large Language Model-Guided OptimizationLLM-Based Program Synthesis

  3. PluginRSI: Recursive Improvement of Agent Harnesses with Reusable Plugins

    Sep 26, 2026Yaorui Shi, Yuchun Miao, Yuxin Chen +5Agent Harness OptimizationLLM Agent Harnesses