fix error in tsp2Opt
fix error in tsp2Opt