An ant colony optimization method for generalized TSP problem