Formulating the Traveling Salesman Problem efficiently
2025 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE credits
Student thesis
Abstract [en]
The Traveling Salesman Problem (TSP) is an optimization problem with many practical applications, for which efficient solution techniques are highly valuable. This study aims to compare two classic formulations of the problem, Dantzig-Fulkerson-Johnson (DFJ) and Miller-Tucker-Zemlin (MTZ), in terms of computational efficiency. Both formulations were implemented and solved using Gurobi optimizer. The DFJ formulation was evaluated in two variants: one using all constraints explicitly (full DFJ), and one using callbacks to dynamically add constraints during the solving process. Runtime and primal-dual integral values were collected for varying problem sizes. The callback-based DFJ formulation outperformed the MTZ formulation across all tested problem sizes for both metrics, likely due to its tighter LP relaxation. The full DFJ formulation was limited by its exponential number of constraints.
Place, publisher, year, edition, pages
2025.
Series
TRITA-SCI-GRU ; 2025:268
Keywords [en]
Integer Linear Programming (ILP), Traveling Salesman Problem (TSP), Dantzig-Fulkerson-Jonson (DFJ) formulation, Miller-Tucker-Zemlin (MTZ) formulation, primal-dual integral, Gurobi optimizer
National Category
Mathematical sciences
Identifiers
URN: urn:nbn:se:kth:diva-366737OAI: oai:DiVA.org:kth-366737DiVA, id: diva2:1982901
Subject / course
Mathematics
Educational program
Master of Science in Engineering - Engineering Mathematics
Supervisors
Examiners
2025-07-092025-07-092025-07-09Bibliographically approved