arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.24013cs.AIcs.LGcs.NEmath.COmath.OC
收藏

利用大语言模型(LLMs)发现混合整数规划的启发式算法:单机调度

Discovering Heuristics with Large Language Models (LLMs) for Mixed-Integer Programs: Single-Machine Scheduling

Grado Department of Industrial and Systems Engineering, Virginia Tech, Blacksburg, VA(弗吉尼亚理工大学工业与系统工程系);Department of Computer Science, Virginia Tech, Arlington, VA(弗吉尼亚理工大学计算机科学系)

İbrahim Oğuz Çetinkaya, İ. Esra Büyüktahtakın, Parshin Shojaee, Chandan K. Reddy

AI总结:

本研究针对单机总拖期问题,借助大语言模型发现EDDC和MDDC两种新型启发式算法,实验证明其性能优于传统启发式算法,验证了人-LLM协作生成NP难组合优化高效启发式的可行性。

摘要:

本研究借助大语言模型(Large Language Models, LLMs)的强大能力发现新型启发式算法,为调度与组合优化领域的文献研究作出贡献。我们聚焦单机总拖期(single-machine total tardiness, SMTT)问题,该问题的目标是在给定加工时间和交货期的前提下,通过在单处理器上对n个作业进行不可抢占排序,实现总拖期最小化。\n受知名的最早交货期(Earliest Due Date, EDD)规则和修正交货期(Modified Due Date, MDD)规则启发,我们开发了两种由LLM发现的新型启发式算法——EDD挑战者(EDD Challenger, EDDC)和MDD挑战者(MDD Challenger, MDDC),并对其进行基准测试。与以往采用更简单的基于规则的启发式算法的研究不同,我们使用严格的标准评估这些LLM发现的算法,评估指标包括基于SMTT的混合整数规划(mixed-integer programming, MIP)公式得出的最优性间隙和求解时间。\n我们在不同作业规模(20、100、200和500个作业)下,将它们的性能与当前最优的启发式算法和精确方法进行对比。对于作业数超过100的实例,MIP、动态规划等精确方法会出现计算不可行的问题。在作业数最多500的场景下,EDDC的性能优于经典EDD规则和文献中另一种广泛使用的算法。MDDC的表现始终优于传统启发式算法,且与精确方法的性能相当,在更大、更复杂的实例中尤为突出。本研究表明,人与LLM协作能够为NP难约束组合优化问题生成可扩展、高性能的启发式算法,即便在资源有限的情况下,只要配置得当也能实现这一目标。

英文摘要:

Our study contributes to the scheduling and combinatorial optimization literature with new heuristics discovered by leveraging the power of Large Language Models (LLMs). We focus on the single-machine total tardiness (SMTT) problem, which aims to minimize total tardiness by sequencing n jobs on a single processor without preemption, given processing times and due dates. We develop and benchmark two novel LLM-discovered heuristics, the EDD Challenger (EDDC) and MDD Challenger (MDDC), inspired by the well-known Earliest Due Date (EDD) and Modified Due Date (MDD) rules. In contrast to prior studies that employed simpler rule-based heuristics, we evaluate our LLM-discovered algorithms using rigorous criteria, including optimality gaps and solution time derived from a mixed-integer programming (MIP) formulation of SMTT. We compare their performance against state-of-the-art heuristics and exact methods across various job sizes (20, 100, 200, and 500 jobs). For instances with more than 100 jobs, exact methods such as MIP and dynamic programming become computationally intractable. Up to 500 jobs, EDDC improves upon the classic EDD rule and another widely used algorithm in the literature. MDDC consistently outperforms traditional heuristics and remains competitive with exact approaches, particularly on larger and more complex instances. This study shows that human-LLM collaboration can produce scalable, high-performing heuristics for NP-hard constrained combinatorial optimization, even under limited resources when effectively configured.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑