An open API service indexing awesome lists of open source software.

https://github.com/anty-filidor/simulated-annealing-tsp

Simple simulated annealing heuristic for TSP
https://github.com/anty-filidor/simulated-annealing-tsp

experiment heuristics python

Last synced: 3 months ago
JSON representation

Simple simulated annealing heuristic for TSP

Awesome Lists containing this project

README

          

## Simulated annealing algorithm for travelling salesman problem

Program includes two classes:
* datasets
* simulated annealing

Datasets used in experiments are avaliable [here](https://wwwproxy.iwr.uni-heidelberg.de/groups/comopt/software/TSPLIB95/STSP.html).

Usage of algorithm:

`SA = SimulatedAnnealing(data, name)`

`stats = SA(t_start=3000, t_min=10)`

Example visualisation of performed experiment:
![experiment](example.png)

This is an implementation oh heuristic described [here](https://tdb0.wordpress.com/2010/12/03/symulowane-wyzarzanie/)