Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.34 KB

README.md

File metadata and controls

49 lines (35 loc) · 1.34 KB

TSP

This is a just for fun project made to visualize the travelling salesman problem

Installation

Windows

  1. 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
  1. 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
  1. Go to the project directory
    To install all the dependencies, run
pip install -r requirements.txt
  1. 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

Contributers

aadib https://github.com/aaditya933

suprasauce https://github.com/suprasauce