模拟退火算法

simulated annealing algorithm