added restart (annealing cycle) parameter for simulated annealing