cs.NESep 13, 2026

From Hand-Crafted to LLM-Based Variation Operators in Metaheuristics: A Tutorial

Authors: Camilo Chacón Sartori, Guillem Rodríguez-Corominas, Christian Blum

Organizations: Apeiron Intelligence, Barcelona, Spain · Artificial Intelligence Research Institute (IIIA-CSIC), Bellaterra, Spain · Universitat Politècnica de Catalunya (UPC), Barcelona, Spain

Abstract

Large language models (LLMs) are increasingly being employed as variation operators in metaheuristics, generating or modifying candidate solutions, heuristics, or programs inside iterative search loops. This shift reframes variation as a model call conditioned on different types of information. We introduce an operator-level framework with two descriptors: (1) the type of prompt-conditioning information at variation time (Numeric, Symbolic, Linguistic), and (2) artifact persistence, identifying what survives the model call (Transient, Amortized, Transfer). The tutorial shows how to classify, build, and select these operators through a worked build template, a method survey, an evidence table, and a cost-aware decision guide.

Figures & tables

Appendix figures & tables2 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Large Language Models as Optimizers: A Survey of Direct vs. Tool-Augmented Approaches and Their Performance Frontiers

    Apr 9, 2026Roko Peran, Luka Hobor, Mihael Kovac +1Large Language Model-Guided OptimizationNatural Language to Optimization Modeling

  2. How to Guide LLM Generation: Dual-Surrogate Guided Search for Automated Heuristic Design

    Jul 15, 2026Yuhan Wang, Chaoda Peng, Xingyu Wu +2Surrogate-Assisted OptimizationAutomated Heuristic Design