Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Formulating the Traveling Salesman Problem efficiently
KTH, School of Engineering Sciences (SCI).
KTH, School of Engineering Sciences (SCI).
2025 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent 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
Available from: 2025-07-09 Created: 2025-07-09 Last updated: 2025-07-09Bibliographically approved

Open Access in DiVA

fulltext(598 kB)1317 downloads
File information
File name FULLTEXT01.pdfFile size 598 kBChecksum SHA-512
19223f8e7c3d4cdd54d9b5c22100d48ca0ba29dcd4452d112f91f572c261f5384f88f73a626f250b3556739b02d4e32992b8d44b6c3fb3bd1dfc17afbacab30a
Type fulltextMimetype application/pdf

By organisation
School of Engineering Sciences (SCI)
Mathematical sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 1319 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 865 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf