Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

TSP Problem

Code to solve the TSP problem. Scored decent on the test on kattis however some possible improvements include:

  • Randomised 2-opt
  • Implement 3-opt
  • Implement Christopides however instead of solving it with perfect-min-matching you use a heuristic instead
  • Ant colony to find better 'starting' positions

Got 25 points, a C, with this small project.

About

Traveling salesman heuristics in C++ under a hard runtime budget on Kattis — greedy construction with 2-opt local search.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages