experimenting with simulated annealing optimization