Leveraging Large Language Models to Develop Heuristics for Emerging Optimization Problems

Thomas Bömer, Nico Koltermann, Max Disselnmeyer, Laura Dörr, Anne Meyer
3/5/2025
cs.AI

No confident code implementation found for this paper.

Abstract

Combinatorial optimization problems often rely on heuristic algorithms to generate efficient solutions. However, the manual design of heuristics is resource-intensive and constrained by the designer's expertise.

Show full abstract

Recent advances in artificial intelligence, particularly large language models (LLMs), have demonstrated the potential to automate heuristic generation through evolutionary frameworks. Recent works focus only on well-known combinatorial optimization problems like the traveling salesman problem and online bin packing problem when designing constructive heuristics. This study investigates whether LLMs can effectively generate heuristics for niche, not yet broadly researched optimization problems, using the unit-load pre-marshalling problem as an example case. We propose the Contextual Evolution of Heuristics (CEoH) framework, an extension of the Evolution of Heuristics (EoH) framework, which incorporates problem-specific descriptions to enhance in-context learning during heuristic generation. Through computational experiments, we evaluate CEoH and EoH and compare the results. Results indicate that CEoH enables smaller LLMs to generate high-quality heuristics more consistently and even outperform larger models. Larger models demonstrate robust performance with or without contextualized prompts. The generated heuristics exhibit scalability to diverse instance configurations.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bmer2025leveraging,
  title  = {Leveraging Large Language Models to Develop Heuristics for Emerging Optimization Problems},
  author = {Thomas Bömer and Nico Koltermann and Max Disselnmeyer and Laura Dörr and Anne Meyer},
  year   = {2025},
  eprint = {2503.03350},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.03350v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.03350.svg)](https://codeofpaper.com/paper/2503.03350)

Discussion