Skip to content

Implementation of Branch and Bound with matrix reduction for TSP

Notifications You must be signed in to change notification settings

rcoacci/parallel-tsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parallel TSP

Parallel implementations of branch and bound with matrix reduction algorithm for the travelling salesman problem, developed for my Master’s degree in Computer Architechtures.

NOTE: some content (commit messages, comments, string messages, etc.) might be in portuguese. Most of the code should be in english.

The files in data/ were created by preprocessing the corresponding files from TSPLIB.

Building

The project uses meson as build system. Check Meson Build for details on installation. After installed, run:

mkdir build
meson configure -Dbuildtype=release build
meson compile -C build

After compilation, 3 binaries should be available in build/: tsp (serial), tsp-mpi (MPI), and tsp-omp (OpenMP); All versions have as mandatory first argument the path of a data file (see data/ for examples). The OpenMP version has an optional second argument specifing the number of threads desired.

About

Implementation of Branch and Bound with matrix reduction for TSP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published