simulated annealing 01