/TSPSolver

Neural Network approaches for the Traveling Salesman Problem

Primary LanguagePythonMIT LicenseMIT

TSPSolver

Neural Network approaches for the Traveling Salesman Problem.

  • Hopfield Network
    Hopfield net
  • Elastic Nets
    Elastic nets
  • Self-organizing map
    Self-organizing map

Environment

package version
python 3.7
matplotlib 3.1.1
numpy 1.17.0
pandas 0.25.0
imagemagick (optional) 7.0.7

Install with Pipenv

This project is using Pipenv, popular package manager in Pyhton. In the project directory, run the following commands:

pip install pipenv
pipenv install

If you are contributer, please install with --dev flag

pipenv install --dev

(Optional) Install imagemagick

If you want to save result as gif, imagemagick is required.

Install with Homebrew (for macOS)

Run the following command:

brew install imagemagick

Install with Chocolatey (for Windows)

Run the following command:

choco install imagemagick

Install from source and binary distributions

Check this out
source
binary distributions