cs.LGOct 27, 2026

Dream-COP: Guiding Algorithm Discovery for Combinatorial Optimization Problems in an Experience World

Authors: Kuan Xu, Jianming Wang, Ni Zhang, Yaoxin Wu, Yong Wang, Zhiguang Cao

Organizations: Singapore Management University · University of Science and Technology of China · Eindhoven University of Technology · Central South University

Abstract

Large language models (LLMs) enable algorithm discovery for combinatorial optimization problems (COPs) through iterative program generation and evaluation. A central challenge is how to organize search to discover better algorithms within a limited budget. Our key insight is that past search trajectories and their recorded outcomes form an experience world, which can be used to facilitate the COP solving through replay. We introduce Dream-COP, in which a policy agent learns executable policies through dreaming in this experience world to guide a discovery agent in generating and refining COP programs. Specifically, policy replay provides feedback on the quality of the programs revealed and the search steps used, to guide policy selection more effectively. Across five COPs, Dream discovers better algorithms than fixed exploration in both heuristic component design and complete solver generation. Particularly, it matches the optimal values on KP and reduces the gap on OBPP from 2.112% to 1.199% while using 42.5% fewer search requests. Moreover, the learned exploration policies transfer effectively across different COPs with the assitance of the experience world.

Figures & tables

Appendix figures & tables11 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Code World Models for Parameter Control in Evolutionary Algorithms

    Feb 25, 2026Camilo Chacón Sartori, Guillem Rodríguez CorominasCode World ModelsLarge Language Model-Guided Optimization

  2. Initialization Improves LLM-Driven Discovery

    Sep 30, 2026Mansi Sakarvadia, Marco Ciccone, Colin RaffelLarge Language Model-Guided OptimizationLarge Language Model-Guided Scientific Discovery

  3. Beyond Inference-Time Search: Reinforcement Learning Synthesizes Reusable Solvers

    May 18, 2026Soheyl Massoudi, Gabriel Apaza, Milad Habibi +1RL for Code GenerationLLM-Based Program Synthesis