Prepare TSP solution