Simulated annealing
en.m.wikipedia.org