This is a just for fun project made to visualize the travelling salesman problem
- Clone the project on your local machine in your prefered directory by typing the following command in git bash/ Powershell/ CMD (or download the file yourself)
git clone https://github.com/suprasauce/tsp_vs.git
- Install python for windows if you don't have it (preferably python 3.8+). Activate a virtual environment in Powershell/ CMD by either installing virtualenv and following its instructions to make a virtual environment, or by using the venv package which comes with python by default
python -m venv env
This will make a folder named env. Then type
(Powershell)
path_where_env_is_stored\env\Scripts\Activate.ps1
(CMD)
path_where_env_is_stored\env\Scripts\activate
- Go to the project directory
To install all the dependencies, run
pip install -r requirements.txt
- Run the main.py file by typing the following command in CMD/ Powershell (make sure virtual env is activated) in the directory where you cloned the folder
python main.py
aadib https://github.com/aaditya933
suprasauce https://github.com/suprasauce