Nasir Khusraw : Travelling Salesman Problem
The TSP solved using genetic algorithm.
This project show TSP path overlaid on a map of the Iran provinces & their capitals.
the python code was inspired from this article.
Requirements
- Python version 3+
- Jupyter notebook
- numpy
- pandas
- matplotlib
Getting Started
To launch the notebook, run the following command from a terminal on the application path:
jupyter notebook tsp-ga.ipynb
Result
Change the numCities
for different results.
The result for first 15 capitals :