Transformation of the generalized traveling-salesman problem into the standard traveling-salesman problem