THE USE OF WELZL’S ALGORITHM FOR SOLVING THE TRAVELING SALESMAN PROBLEM
DOI:
https://doi.org/10.32689/maup.it.2025.3.21Keywords:
traveling salesman problem (tsp), Welzl’s algorithm, branch and bound methodAbstract
This article is devoted to solving one of the NP-hard problems, namely finding the optimal traveling salesman route for visiting each of the n given cities. Efficient algorithms for solving this problem make it possible to find optimal routeseven for large sets of cities, which reduces time, fuel, and resource costs. Combining high accuracy with low computational complexity makes such methods suitable for real-world systems where decisions must be made quickly.The purpose of this work is to improve the branch-and-bound method for solving the traveling salesman problem by applying Welzl’s algorithm and using the Minimum Enclosing Circle (MEC) as a heuristic to enhance the pruning rules in the branch-and-bound method.Methodology. Welzl’s algorithm is a classical example of an efficient geometric method with pruning and heuristics, whichcan be easily integrated into more complex algorithms, including the branch-and-bound method. In problems of placement, packing, collision detection, clustering, and others, Welzl’s algorithm can be used as part of an evaluation or pruning function: compute the minimum circle that contains a subset of city objects to estimate the space/volume, and if the circle with a new point goes beyond the allowed limits, prune the branch.Scientific novelty. The author proposes using Welzl’s algorithm to speed up the exact solution of the traveling salesmanproblem. The benefit of finding the minimum circle covering a set of city points on the plane lies in obtaining a tighter lower boundfor a branch in the branch-and-bound method, increasing the number of branches in the search tree that are pruned earlier, and consequently making the branch-and-bound method faster. MEC prunes branches in which the unvisited cities lie far apart, and even the most optimal extended route would be too costly. This reduces the search space and accelerates the algorithm.Conclusions. The branch-and-bound method with the use of the Minimum Enclosing Circle has a wide range of practical applications in problems where it is necessary to quickly obtain a high-quality route with minimal computational cost, even if a slight deviation from the optimal solution is acceptable. Thus, using MEC in combination with the branch-and-bound method is a universal approach that combines the precision of mathematical optimization with the speed of heuristic methods and canbe implemented in any field where routing has significant practical importance.
References
Bang-Jensen J., Gutin G., Yeo A. When the greedy algorithm fails. Discrete Optimization. 2004. Vol. 1. P. 121–127.
Bendall G., Margot F. Greedy Type Resistance of Combinatorial Problems. Discrete Optimization. 2006. Vol. 3. P. 288–298.
Cormen T. H., Leiserson C. E., Rivest R. L., Stein C. Introduction to Algorithms. 2nd ed. MIT Press and McGraw-Hill, 2001. ISBN 0-262-53196-8.
Flemming J. A simple linear-time algorithm for the smallest enclosing circle, 2024. URL: https://arxiv.org/abs/2402.17853
Formella A., van Leeuwen E. A quasi-linear time heuristic to solve the Euclidean traveling salesman problem. 2024. arXiv:2401.12345. URL: https://arxiv.org/abs/2401.12345
Gutin A., Yeo A., Zverovich A. Traveling salesman should not be greedy: domination analysis of greedy-type heuristics for the TSP. Discrete Applied Mathematics. 2002. Vol. 117. P. 81–86.
Hopcroft J. E., Motwani R., Ullman J. D. Introduction to Automata Theory, Languages, and Computation. 2nd ed. Addison-Wesley, 2000. ISBN 81-7808-347-7.
Kiran M. S., Beskirli M. A new approach based on collective intelligence to solve traveling salesman problems. Biomimetics. 2024. Vol. 9, No. 3. P. 95. DOI: https://doi.org/10.3390/biomimetics9030095.
Puerto J., Valverde-Martín C. The hampered travelling salesman problem with neighbourhoods. Computers & Industrial Engineering. 2024. Vol. 189. P. 109120. DOI: https://doi.org/10.1016/j.cie.2024.109120.
Smolík M., Vondrák I., Král J. Preprocessing techniques for the smallest enclosing circle problem. Lecture Notes in Computer Science. 2022. Vol. 13277. P. 312–324. DOI: https://doi.org/10.1007/978-3-031-10599-0_24.






