TSP solving works