Updated TSP code to return id,seq,cost in the results set.