Skip to content

BraveDistribution/pytsp

Repository files navigation

pytsp

Documentation Status

Few algorithms for TSP problem in Python

Notice

This package is under heavy development. The code may not be efficient and may potentially lead to bugs.

Features

  • Christofides algorithm
  • Minimal spanning tree (Prim algorithm)
  • 2-opt algorithm
  • 3-opt algorithm
  • Permutations
  • Nearest Neighbor
  • Simulated Annealing (SA)
  • B&B algorithm (LB based on 2 nearest neighbours, bad performance)

Contributions

  • Feel free to contribute any way possible for you (Implement new algorithms or tests)
  • Feel free to ask for new algorithms via "Issues" tab.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

TSP algorithms and graph support utilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published