Skip to the content.

← Back to Home

Traveling Salesman Solver: MST, FASTTSP, and OPTTSP Algorithms

View Code on GitHub


Overview

This project implements an efficient C++ solution to the classic Traveling Salesman Problem (TSP), offering three distinct solving modes:

  1. Minimum Spanning Tree (MST) Mode
  2. Heuristic TSP Solver (FASTTSP) Mode
  3. Optimal TSP Solver (OPTTSP) Mode

The project is focused on both performance and accuracy, emphasizing efficient graph traversal, memory management, and advanced pruning techniques.


Features


How It Works

Modes Breakdown:

Mode Algorithm Implemented Approach
MST Prim’s Algorithm Priority Queue & Edge Weights
FASTTSP Nearest-Neighbor Heuristic Greedily selects closest unvisited vertex
OPTTSP Branch & Bound MST lower bounds & pruning

Technologies


← Back to Home