tsp simulated annealing wrapper