Skip to content
Book Open access

LLM-Driven Configuration of Genetic Algorithms for Constraint-Rich Optimization Problems

Jul 2026 · GECCO Companion · 0 citations · 25 references
Computer Science

TL;DR

A framework that combines large language models (LLMs) for problem understanding with a structured Biased Random-Key Genetic Algorithm (BRKGA) configurator for algorithm realization is presented, allowing users to describe optimization problems in natural language and receive executable GPU-accelerated GA implementations.

Abstract

Configuring genetic algorithms (GAs) for new optimization problems typically requires substantial expertise in representation design, decoder construction, and constraint handling. We present a framework that combines large language models (LLMs) for problem understanding with a structured Biased Random-Key Genetic Algorithm (BRKGA) configurator for algorithm realization, allowing users to describe optimization problems in natural language and receive executable GPU-accelerated GA implementations. We compare two workflows: LLM-Only, where the LLM generates a complete standalone GA from the problem description; and LLM+Config, where the LLM is restricted to problem parsing and decoder synthesis against a fixed brkga3 interface that provides the evolutionary architecture, Adaptive Large Neighborhood Search (ALNS) warm-start, GPU-parallel segmented sort, and bottleneck-focused local search. We evaluate on three problem families (the Traveling Salesperson Problem (TSP), the Traveling Salesperson Problem with Job-times (TSPJ), and the Vehicle Routing Problem with Resource Pick-up and Delivery (VRP-RPD)) on instances up to 999 nodes. LLM+Config outperforms or matches LLM-Only on every instance where both workflows produced a result, and additionally solves four TSP instances on which LLM-Only failed (Wilcoxon signed-rank with Holm correction across the three problem families, all adjusted p ≤ 0.012); on TSPJ it matches CPLEX optimal on 3 of 10 benchmarks and establishes first reported results for 6 large instances (n = 202–1,000); on VRP-RPD it wins all 13 instances against LLM-Only with 51–329 % advantage on large instances. GPU-parallel BRKGA evolution runs 25–35× faster per generation than a single-threaded CPU baseline. We characterise LLM stochasticity through two complementary studies: 15 sessions across 3 problems with one model (80% success rate), and 100 sessions across 10 LLMs from 3 providers on TSPJ/eil101 (Friedman and Wilcoxon-Holm tests on within-tier and within-provider blocks), finding that capability tier dominates over provider at the large tier and that small-tier non-Anthropic models contribute zero usable sessions.

Read PDF

Similar papers

Preprint Jul 2026

LLM-Driven Evolutionary Generation of Multi-Objective Bayesian Optimization Algorithms

LLM-driven evolutionary search can discover algorithm designs that achieve Pareto-efficient trade-offs difficult to reach through manual design, with SMAC hyperparameter optimization integrated into the evolutionary loop.

G. Laskaris, R. Brasher, Niki van Stein et al. · 0 citations
Book Open access Jul 2026

Accelerating LLM-Based Algorithm Evolution for the 3D Container Loading Problem

This work proposes a pipeline that introduces a novel regularization architecture balancing performance and complexity, and mitigate the side effects of automated tuning through two novel components: a symbolic pruning mutator and a complexity-aware mutation gate that explicitly filters out mutations leading to excessi...

Guorui Quan, Mingfei Sun, Manuel López-Ibáñez et al. · 0 citations
Preprint Jul 2026

GAE: Graph-Augmented Evolution for Scientific Discovery via Reinforcement Optimization

Evolutionary program search guided by Large Language Models (LLMs) has emerged as a powerful paradigm for automated scientific discovery. However, current approaches are fundamentally constrained by three bottlenecks: structurally blind parent selection, sparse whole-program evaluation rewards, and static mutation oper...

Xuanzhou Chen, Taoli Cheng · 0 citations
2025

Partition to Evolve: Niching-enhanced Evolution with LLMs for Automated Algorithm Discovery

This work proposes a general LES framework that incorporates feature-assisted niche construction within abstract search spaces, enabling the seamless integration of niche-based search strategies from evolutionary computation and introduces PartEvo (Partition to Evolve), an LES method that combines niche collaborative s...

Qinglong Hu, Qingfu Zhang · 10 citations · ⚡3
Jul 2026

LLM-Guided Evolutionary Search for Constraint Model Reformulation to Improve Solver Efficiency

Combinatorial problems appear in numerous industrial applications. A common approach is to formulate these problems as declarative constraint models that can subsequently be compiled to and solved by a range of back-end solvers. Recent work shows that Large Language Models (LLMs) can produce correct models from natural...

Kostis Michailidis, Dimos Tsouros, Dang Nguyen et al. · 0 citations
Preprint Aug 2026

ADPSO-ERLS: A Hybrid Discrete PSO with Enhanced Local Search for the Traveling Salesman Problem

ADPSO-ERLS is a discrete swarm algorithm that treats this allocation as an explicit, tunable design variable, and ranks first under the Friedman test, and all twenty-five multiplicity-controlled Wilcoxon comparisons favor it with large, near-complete distributional separation.

A. Soria-Lorente, Jean-Marie Vilaire, Junior Michel et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.