how to use simulated annealing solver