Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travelling Salesman Problem

This project contains MATLAB-code to solve the travelling salesman problem using two different approaches.

bruteforce.m

Solves the problem with a simple brute force algorithm. Requires a n x n - distance (or cost) matrix as input.

dynamic.m

Solves the problem with a performance improved dynamic programming algorithm. Requires a n x n - distance (or cost) matrix as input.

getDistanceMatrix.m

Provides an interface for distance matrix creation via the Google Distance Matrix API. Requires an API-key.

performanceTestSuite.m

Template for a performance test setup.

About

Two different algorithms to solve the Travelling Salesman Problem

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages