Back to search

Chalmers University of Technology

Using Large Language models to solve optimization problems - A taxonomy of methods with evaluation on traveling salesman and vehicle routing problems

Abstract

dc:description.abstract

This thesis explores the use of Large Language models (LLMs) to solve optimization problems. This is achieved by defining, developing and evaluating three method which utilize the LLM in different ways, namely, as algorithm implementer, optimizer and hyperparameter optimizer. Evaluation is mainly performed on the traveling salesman problem and capacitated vehicle routing problems. Performance, limitations and challenges are discussed for the three methods. Results shows that LLM is able to effectively implement simple algorithm and heuristics, but not algorithms that achieve state-of-the-art performance. LLM is also shown to be an effective optimizer for small scale optimization problems but lacks the ability to effectively perform optimization for problems of higher complexity. However, the performance is able to be improved by the use of self reflection and problem reformulations. LLM used as hyperparameter optimizer achieves the highest performance, although relies on preexisting high performance algorithms or heuristics. LLMs are also shown to outperform other simple hyperparameter optimization methods such as grid search and random search. Keywords:

Degree

thesis:*
Level thesis:degree_level
H
Department dc:contributor.department
Chalmers tekniska högskola / Institutionen för data och informationsteknik
Year dc:date.issued
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Olsson, Oliver
Advisor dc:contributor.supervisor
  • Haghir Chehreghani, Morteza
Committee member dc:contributor.committeemember
  • Damaschke, Peter

Subjects

dc:subject × 10

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Coursecode
DATX05

Chain of custody

source
Harvested from
Chalmers University of Technology
Base URL
odr.chalmers.se/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Olsson, Oliver. Using Large Language models to solve optimization problems - A taxonomy of methods with evaluation on traveling salesman and vehicle routing problems. H thesis, 2024. https://hdl.handle.net/20.500.12380/309075