用AI自动生成和优化混合整数规划求解器的约束处理模块
Agentic MIP Research: Accelerated Constraint Handler Generation
- 将大模型嵌入求解器环境,自动设计约束处理器
- 在MIPLIB 2017上成功恢复全局约束结构并生成可执行代码
- 能自主探索新传播策略,解决5个原求解器无法处理的问题
混合整数规划(MIP)研究兼具数学复杂性与工程挑战:在分支定界求解器中验证算法假设需大量实现、调试、调参与大规模测试。我们提出一种智能体驱动的MIP研究框架,将大语言模型代理嵌入面向求解器的环境中,实现插件的自动生成、验证与评估。传播方法在加速求解中起核心作用,尤其依赖全局约束的利用。我们在语义提升MIP公式为全局约束、自动构建仅含传播功能的SCIP约束处理器上验证该框架。在MIPLIB 2017基准集上,框架成功从约束编程中恢复全局约束结构,并生成可执行的约束检测器与传播处理器。此外,框架支持沙箱内上下文学习,使代理不仅能调试与调优生成的处理器,还能探索MIP中的全局约束模式,发现未在SCIP中实现的新传播策略。该框架可系统区分有意义的改进与低价值或高成本方案:新传播方法成功解决了5个额外实例。总体表明,大模型代理可自主完成复杂的MIP研究闭环,推动求解器开发的自动化。
原文摘要 · Abstract (English)
Mixed-integer programming (MIP) research is both mathematically sophisticated and engineering-intensive: testing an algorithmic hypothesis within a branch-and-cut solver requires substantial implementation, debugging, tuning, and large-scale benchmarking. We propose an agentic MIP research framework that shortens this feedback loop by embedding LLM agents into a solver-aware harness for generating, verifying, and evaluating plugins for the open-source solver SCIP. Propagation methods play a central role in accelerating MIP solving by exploiting global constraints. We instantiate our framework on the semantic lifting of MIP formulations into global constraints and the automatic construction of propagation-only SCIP constraint handlers. On the MIPLIB 2017 benchmark set, the framework successfully recovers global constraint structures from constraint programming and generates executable constraint detectors and propagation-only constraint handlers. Furthermore, the framework naturally extends to in-context learning within a sandboxed environment, enabling agents not only to tune and debug generated constraint handlers on real instances, but also to explore global constraint patterns in MIP problems and discover novel propagation strategies not yet implemented in SCIP. This framework allows us to systematically distinguish meaningful algorithmic improvements from low-value or overly costly candidates: the novel propagation methods successfully solved five additional instances within the explored benchmark. Overall, this framework demonstrates that LLM agents can autonomously navigate the complex MIP research loop, paving the way for a more automated solver development process.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。