Tinyik / TSPN-Solver

A Solver for TSP with Neighborhood

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TSP and TSPN for Uniform Disks

This software implements the following algorithms:

  • Wrapper for the TSP concorde solver
  • 2 approximation algorithm for the TSP using the MST
  • TSPN for uniform radius disks, as given in this paper

USAGE

There are two demo programs written in './src/'; one each for the TSP and TSPN algorithms. However, there are a few options that need to be set before you are able to execute the code. They are both in the file './include/tsp_options.h'. The two options are:

(1) Set which TSP implementation to use. Linkern and Concorde are two TSP implementations in the Concorde library. (Preferred is Concorde.) If none are set, then the two approximation is used.

(2) Set the path to where the concorde implementation is location

Once these options are set, then the code can be compiled by the usual "make" command. "make clean" removes all the build files. "make docs" creates the doxygen documentation of the code.

About

A Solver for TSP with Neighborhood

License:BSD 2-Clause "Simplified" License


Languages

Language:C 94.6%Language:Makefile 2.9%Language:C++ 1.3%Language:CMake 0.5%Language:Shell 0.5%Language:MATLAB 0.1%Language:Scilab 0.0%Language:Awk 0.0%