Skip to content

suprasauce/tsp_vs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

travelling salesman problem visualized.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages