A way to solve the Traveler Salesman problem using the genetic algorithm and heuristic Ant Colony Optimization.
First of all, have Python 3.6, pip and virtualenv installed.
-
Create a virtualenv for the project by prescribing Python 3.6:
virtualenv --python = python3.6 [environment name]
-
Enter the virtualenv folder and activate it:
source bin/activate
-
Make the clone or download the project into the part of the newly created virtualenv, create a folder called "ACOForTravellingSalesman" and put the repository files in it.
-
Enter the "app" folder and install pip dependencies:
pip install requirements.txt -r.
-
Still in the app folder run
jupyter notebook