complete simulation annealing 1