Skip to content

nsn39/particle-swarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travelling Salesman Problem (TSP) - Particle Swarm Optimization (PSO)

Solution for TSP (Travelling salesman problem) using Particle Swarm Optimization (PSO). AI Presentation for 6th Semester of BCT (undergraduate), Pulchowk Campus, IOE.

Requirements

Python

Works for python3. Tested with version 3.10.2. Might work with lower versions, open an issue if it doesn't work.

Libraries Required (pip install)

  1. matplotlib - version tested (v3.5.1)
  2. pygame - version tested (v.2.1.2)

Run

Install the requirements then run the following command -
python traveling_salesman_pso.py

Project Structure

.
├── gui/                    # GUI (Graphical User Interface) Code/Library
├── pso/                    # PSO Code/Library
├── references/             # References for the project (papers, repositories)
├── resources/              # Resources for the program (fonts, images)
├── .gitignore              # gitignore
└── README.md               # README file

Contributors

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages