Skip to content
This repository has been archived by the owner on Jun 1, 2018. It is now read-only.
/ PDC-2016-project Public archive

Parallel heuristic algorithms for TSP problem

Notifications You must be signed in to change notification settings

qianl15/PDC-2016-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDC course project

Parallel Heuristic Algorithms for TSP

============

TSP Problem:
The traveling salesman problem (TSP) asks the following question: Given a list of cities and the distances between each pair of cities, what is the shortest possible route that visits each city exactly once and returns to the origin city?

Datasets (you can find the data in "dataset" folder):

  1. TSP Data for the Traveling Salesperson Problem
    All of the data are saved in adjacent matrix format.
    DANTZIG42 is a set of 42 cities, from TSPLIB. The minimal tour has length 699.
    FRI26 is a set of 26 cities, from TSPLIB. The minimal tour has length 937.
    GR17 is a set of 17 cities, from TSPLIB. The minimal tour has length 2085.
  2. TSPLIB library
    ch150 is a set of 150 cities, from TSPLIB. The minimal tour has length 6528.

Folders

  1. dataset/: ALL of the datasets
  2. baseline/: our baseline codes
  3. distributed/: our MPI distributed version of codes
  4. parallel/: our parallel version of codes

User Guide:

How to run the baseline demo:

cd ./baseline  
make  
./run.sh  

TODO list:

  • Find dataset for TSP
  • Write baseline (single thread versiion) for Simulated Annealing algorithm (SA)
  • Build MPI environment on the server
  • Write MPI version of SA
  • Write pthread & OpenMP version of SA
  • Write CUDA / OpenCL version of two algorithms
  • Test the performance of the baseline and the parallel versions.
  • *Write baseline (single thread version) for Genetic algorithm (GA)
  • *Write OpenMP version of GA
  • **Optimization for MPI and GPU = =

About

Parallel heuristic algorithms for TSP problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published