Solving the Traveling Salesman Problem using Self-Organizing Maps with python
som-tsp
Solving the Traveling Salesman Problem using Self-Organizing Maps
This repository contains an implementation of a Self Organizing Map that can be used to find sub-optimal solutions for the Traveling Salesman Problem. The instances of the problems that the program supports are .tsp files, which is a widespread format in this problem. All the source code can be found in the src directory, while a report and brief presentation slides (in Spanish) can be found in the report folder.
To run the code, only Python 3 and the dependencies (matplotlib
, numpy
and pandas
, which are included in the Anaconda distribution by default) are needed. In case you are not using Anaconda, you can install all the dependencies with:
pip install -r requirements.txt