Skip to content
/ TSP Public

Travelling Salesman Problem. Linear Programming

Notifications You must be signed in to change notification settings

malgar/TSP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TSP

Travelling Salesman Problem. Linear Programming

Based on the following article:

https://nathanbrixius.wordpress.com/2016/06/09/computing-optimal-road-trips-using-operations-research/

I decided to try a linear programming approach to solve the (symmetric) TSP.

The modeling is simple: Minimize total distance considering only constraints related to visiting every city. Subtour elimination constraints are added dynamically only when needed.

Performance is tested using well known benchmarks and different optimization solvers (for now, CPLEX and Gurobi)

About

Travelling Salesman Problem. Linear Programming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages