ENH: Added simulated annealing.