Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

LLM4AD

> 编程语言
Open source

LLM4AD: A Platform for Algorithm Design with Large Language Model

762 stars0 likes0 views
WebsiteGitHub

About

LLM4AD: A Platform for Algorithm Design with Large Language Model

Introduction

LLM4AD is an open-source Python-based Platform leveraging Large Language Models (LLMs) for Automatic Algorithm Design (AD). Please refer to the paper [LLM4AD] for detailed information, including the overview, methodology, and benchmark results.

LLM4AD is accomplished with Documents and Examples materials to support users and developers to easily test, build and deploy their own LLM4AD applications and conduct research.

LLM4AD was originally developed for optimisation tasks. The framework is versatile enough to be used in other areas, including machine learning, science discovery, game theory and engineering design.

For more information, see the contact list

News

  • 2026.02 New Champion! Our LLM4AD system won the CVRPLib BKS competition and established 51 new Best Known Solutions on large-scale CVRP benchmarks.

  • 2026.01 Our Survey Paper "A Systematic Survey on Large Language Models for Algorithm Design" has been accepted by ACM Computing Surveys ! A Rep for the Survey can be found here

  • 2025.6 We're excited to share that EoH recently set a New World Record in Circle Packing Problem, achieving a score of 2.63594 for 26 circles ! Results here

  • 2025.6 LLM4AD at CEC 2025 Tutorial !

  • 2025.3 LLM4AD at EMO 2025 Tutorial !

  • 2024.12 LLM4AD paper Released “LLM4AD: A Platform for Algorithm Design with Large Language Model" !

  • 2024.11 LLM4AD v1.0 Released !

  • 2024.10 Survey Paper “A Systematic Survey on Large Language Models for Algorithm Design” is online !

Features of our package

Feature Support / To be supported
Unified Interfaces for methods, tasks, LLMs Support
Evaluation acceleration: multiprocessing evaluation Support
Secure Evaluation: main process protection, timeout interruption Support
Logs: local logs, Wandb and Tensorboard support Support
GUI: methods selection, tasks selection, convergence, best algorithm, ... Support
Resume run Support
Support other programming languages Coming soon
More search methods Coming soon
More task examples Coming soon

Requirements & Installation

[!Important] The Python version MUST be larger or equal to Python 3.9, and less than Python 3.13.

[!Important] If you are testing machine learning tasks or using GUI, please install gym via pip install gym. Please note that the gym version may be conflict with your own Python environment, please refer to gym's docs to obtain appropriate version.

  • Please refer to requirements.txt

  • Please install numba (if you want to use Numba accelerate)

  • Please install tensorboard (if you want to use a Tensorboard logger)

  • Please install wandb (if you want to use wandb logger)

  • Please install gym (if you want to try GUI, and Machine Learning tasks)

  • Please install pandas (if you want to try Science Discovery tasks)

  • Please install all required packages in requirements.txt (if you want to use GUI)

Install LLM4AD locally

We suggest to install and run LLM4AD in conda env with python>=3.9, =3.9, [!Note]

Configure your LLM api before running the script. For example:

  1. Set host: 'api.deepseek.com'
  2. Set key: 'your api key'
  3. Set model: 'deepseek-chat'
…

More Examples:

  • Constructive Heuristics for TSP
  • Constructive Heuristics for VRPTW
  • ...

Check Documents for more tasks and examples

GUI usage:

[!Important] Install all required packages in requirements.txt for GUI usage.

bash
$ cd GUI
$ python run_gui.py

Check GUI Introduction for more information

LLM4AD Search Methods

Methods Paper title
EoH Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Model (ICML 2024)
Algorithm Evolution using Large Language Model (Arxiv 2023, AEL, the early version of EoH)
MEoH Multi-objective Evolution of Heuristic Using Large Language Model (AAAI 25)
FunSearch Mathematical Discoveries from Program Search with Large Language Models (Nature 2024)
(1+1)-EPS
(HillClimbing) Understanding the Importance of Evolutionary Search in Automated Heuristic Design with Large Language Models (PPSN 2024)
ReEvo Reevo: Large language models as hyper-heuristics with reflective evolution (NeurIPS 2024)
MCTS-AHD Monte carlo tree search for comprehensive exploration in llm-based automatic heuristic design (ICML 2025)
LHNS LLM-Driven Neighborhood Search for Efficient Heuristic Design (CEC 2025)
PartEvo Partition to Evolve: Niching-enhanced Evolution with LLMs for Automated Algorithm Discovery (NeurIPS 2025)
LLaMEA LLaMEA: A Large Language Model Evolutionary Algorithm for Automatically Generating Metaheuristics(IEEE TEVC 2025)
EoH-S EoH-S: Evolution of Heuristic Set using LLMs for Automated Heuristic Design (AAAI 2026)
MLES Multimodal LLM-assisted Evolutionary Search for Programmatic Control Policies (ICLR 2026)
Others Coming soon

⚙️ LLM4AD Algorithm Design Tasks

Area Algorithm Task Paper
Optimization [Online Bin Packing, Constructive heuristic] paper
Traveling Salesman Problem (TSP), Construct heuristic paper
Traveling Salesman Problem (TSP), Guided local search paper
1-dimensional Bin Packing (BP1D), Construct heuristic paper
2-dimensional Bin Packing (BP2D), Construct heuristic paper
Capacitated Facility Location Problem (CFLP), Construct heuristic paper
Knapsack Problem (KP), Construct heuristic paper
Quadratic Assignment Problem (QAP), Construct heuristic paper
Set Cover Problem (SCP), Construct heuristic paper
Flow Shop Scheduling Problem (FSSP), Construct heuristic paper
Flow Shop Scheduling Problem (FSSP), Guided local search paper
Bayesian Optimization, Cost-aware Acquisition Function Design paper
Co-Bench: Benchmarking Language Model Agents in Algorithm Search for Combinatorial Optimization paper
Pymoo MOEA/D paper
Machine Learning Adversarial Attack, Attack strategy paper
Acrobot, Heuristic (Agent)
Cart Pole, Heuristic (Agent)
Mountain Car, Heuristic (Agent)
Science Discovery Computational fluid dynamics, Turbulence model design paper
Bacteria Growth, Function
[Oscillator, Equation](https://llm4ad-doc.readthedocs.i

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言