The generalized traveling salesman problem (GTSP) is an extension of the classical traveling salesman problem (TSP) and it is among the most researched combinatorial optimization problems due to its theoretical properties, complexity aspects and real-life applications in various areas: location-routing problems, material flow design problem, distribution of medical supplies, urban waste collection management, airport selection and routing the courier airplanes, image retrieval and ranking, digital garment manufacturing, etc. Even though the importance of this combinatorial optimization problem was highlighted in several publications and there were developed several methods for solving it, there is no survey dedicated to the GTSP. The scope of this paper is to close this gap by providing a comprehensive survey on mathematical formulations, solution approaches and latest advances regarding the GTSP. The paper is organized around the following issues: problem definition, variations and related problems, real-life applications of the GTSP, mathematical formulations, solution approaches designed for solving the investigated problem, datasets, computational results and comparative analysis of the performance of the existing state-of-theart algorithms. Additionally, we discuss certain open problems and potential research directions. (c) 2023 The Author(s). Published by Elsevier B.V. This is an open access article under the CC BY license ( http://creativecommons.org/licenses/by/4.0/ )