We studied simulated annealing during a course I took titled Numerical Methods (taught by the famous Gustavo). This is my implementation of the basic algorithm (with admittedly terrible UI and litte-to-no optimization).

This project was one of the first things I built in javascript (2013).

Your browser doesn't appear to support the HTML5 <canvas> element.
Number of cities:
start temp:
cooling schedule:
temp:
energy:
best energy: