Combinatorial Optimization for All: Using LLMs to Aid Non-Experts in Improving Optimization Algorithms

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Sartori, Camilo Chacón, Blum, Christian
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916851061096448
author Sartori, Camilo Chacón
Blum, Christian
author_facet Sartori, Camilo Chacón
Blum, Christian
contents Large Language Models (LLMs) have shown notable potential in code generation for optimization algorithms, unlocking exciting new opportunities. This paper examines how LLMs, rather than creating algorithms from scratch, can improve existing ones without the need for specialized expertise. To explore this potential, we selected 10 baseline optimization algorithms from various domains (metaheuristics, reinforcement learning, deterministic, and exact methods) to solve the classic Travelling Salesman Problem. The results show that our simple methodology often results in LLM-generated algorithm variants that improve over the baseline algorithms in terms of solution quality, reduction in computational time, and simplification of code complexity, all without requiring specialized optimization knowledge or advanced algorithmic implementation skills.
format Preprint
id arxiv_https___arxiv_org_abs_2503_10968
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Combinatorial Optimization for All: Using LLMs to Aid Non-Experts in Improving Optimization Algorithms
Sartori, Camilo Chacón
Blum, Christian
Artificial Intelligence
Computation and Language
Machine Learning
Software Engineering
Large Language Models (LLMs) have shown notable potential in code generation for optimization algorithms, unlocking exciting new opportunities. This paper examines how LLMs, rather than creating algorithms from scratch, can improve existing ones without the need for specialized expertise. To explore this potential, we selected 10 baseline optimization algorithms from various domains (metaheuristics, reinforcement learning, deterministic, and exact methods) to solve the classic Travelling Salesman Problem. The results show that our simple methodology often results in LLM-generated algorithm variants that improve over the baseline algorithms in terms of solution quality, reduction in computational time, and simplification of code complexity, all without requiring specialized optimization knowledge or advanced algorithmic implementation skills.
title Combinatorial Optimization for All: Using LLMs to Aid Non-Experts in Improving Optimization Algorithms
topic Artificial Intelligence
Computation and Language
Machine Learning
Software Engineering
url https://arxiv.org/abs/2503.10968