Skip to content

Travelling Salesman Problem: playing with various optimisation algorithms

Notifications You must be signed in to change notification settings

ivan-rivera/travelling_salesman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travelling Salesman Problem

In this repository I'm having a go at solving the Travelling Salesman Problem (TSP) using a variety of methods, including reinforcement learning. This is an NP-hard problem with N! possible solutions, meaning that a brute-force approach is not scalable.

The idea is simple: generate a collection of points on a 2D plane, call the first point "home" which is where you will always need to start and finish, then find the shortest path between all points. It might be helpful to think of the 2D plane as a map and the points as destinations that need to be visited. Assuming that you are walking to and from each destination, you need to find the shortest route.

Useful references:

About

Travelling Salesman Problem: playing with various optimisation algorithms

Topics

Resources

Stars

Watchers

Forks