SCSP-TSP implementation