Tune simulated annealing algorithm