Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

G-LNS: Generative Large Neighborhood Search for LLM-Based Automatic Heuristic Design

About

While Large Language Models (LLMs) have recently shown promise in Automated Heuristic Design (AHD), existing approaches typically formulate AHD around constructive priority rules or parameterized local search guidance, thereby restricting the search space to fixed heuristic forms. Such designs offer limited capacity for structural exploration, making it difficult to escape deep local optima in complex Combinatorial Optimization Problems (COPs). In this work, we propose G-LNS, a generative evolutionary framework that extends LLM-based AHD to the automated design of Large Neighborhood Search (LNS) operators. Unlike prior methods that evolve heuristics in isolation, G-LNS leverages LLMs to co-evolve tightly coupled pairs of destroy and repair operators. A cooperative evaluation mechanism explicitly captures their interaction, enabling the discovery of complementary operator logic that jointly performs effective structural disruption and reconstruction. Extensive experiments on challenging COP benchmarks, such as Traveling Salesman Problems (TSP) and Capacitated Vehicle Routing Problems (CVRP), demonstrate that G-LNS significantly outperforms LLM-based AHD methods as well as strong classical solvers. The discovered heuristics not only achieve near-optimal solutions with reduced computational budgets but also exhibit robust generalization across diverse and unseen instance distributions.

Baoyun Zhao, He Wang, Liang Zeng• 2026

Related benchmarks

TaskDatasetResultRank
Capacitated Vehicle Routing ProblemCVRPLib Set X
Average Optimality Gap11.2
111
Capacitated Vehicle Routing ProblemCVRP N=20 10,000 instances (test)
Objective Value4.707
26
Traveling Salesman ProblemTSPLIB--
11
Capacitated Vehicle Routing ProblemCVRP 100 nodes capacity 50 (held-out instances)
Gap (%)0.00e+0
10
Capacitated Vehicle Routing ProblemCVRP 200 nodes capacity 50 (held-out instances)
Gap0.00e+0
10
Capacitated Vehicle Routing ProblemCVRP 10 nodes capacity 50 (held-out instances)
Gap1.44
10
Capacitated Vehicle Routing ProblemCVRP 50 nodes capacity 50 (held-out instances)
Gap1.29
10
Traveling Salesman ProblemTSP 20 nodes (held-out instances)
Optimality Gap0.01
10
Traveling Salesman ProblemTSP 50 nodes (held-out instances)
Optimality Gap0.37
10
Traveling Salesman ProblemTSP 100 nodes (held-out instances)
Optimality Gap1.1
10
Showing 10 of 23 rows

Other info

GitHub

Follow for update