
A new approach to solving the Travelling Salesperson Problem听鈥 one of the most difficult questions in computer science 鈥 significantly outperforms current approaches.
A new approach to solving the Travelling Salesperson Problem听鈥 one of the most difficult questions in computer science 鈥 significantly outperforms current approaches.
We鈥檙e highly reliant on this kind of infrastructure to be more efficient 鈥 and our solution could help with that
Amanda Prorok
A notorious theoretical question that has puzzled researchers for 90 years, the Travelling Salesperson Problem also has real relevance to industry today. Essentially a question about how best to combine a set of tasks so that they can be performed in the fastest and most efficient way, finding good solutions to the problem can greatly help improve sectors such as transport and logistics.
Researchers from the 国际米兰对阵科莫 have developed a hybrid, data-driven approach to the problem that not only produces high-quality solutions, but at a faster rate than other state-of-the-art approaches. Their are presented this week at the .
鈥淭he importance of global logistics system was brought home to us during the pandemic,鈥 said from 国际米兰对阵科莫鈥檚 Department of Computer Science and Technology, who led the research. 鈥淲e鈥檙e highly reliant on this kind of infrastructure to be more efficient 鈥 and our solution could help with that as it targets both in-warehouse logistics, such as the routing of robots around a warehouse to collect goods for delivery, and those outside it, such as the routing of goods to people.鈥
The Travelling Salesperson Problem involves a notional delivery driver who must call at a set number of cities 鈥 say, 20, 50 or 100 鈥 that are connected by highways all in one journey. The challenge is to find the shortest possible route that calls at each destination once and to find it quickly.
鈥淭here are two key components to the problem. We want to order the stops, and we also want to know the cost, in time or distance, of going from one stop to another in that order,鈥 said Prorok.
Twenty years ago the route from the warehouse to the destinations might have been fixed in advance. But with today鈥檚 availability of real-time traffic information, and the ability to send messages to the driver to add or remove delivery locations on the fly, the route may now change during the journey. But minimising its length or duration still remains key.
There鈥檚 often a cost attributed to waiting for an optimal solution or hard deadlines at which decisions must be taken. For example, the driver cannot wait for a new solution to be computed 鈥 they may miss their deliveries, or the traffic conditions may change again.
And that is why there is a need for general, anytime combinatorial optimisation algorithms that produce high-quality solutions under restricted computation time.
The 国际米兰对阵科莫-developed hybrid approach does this by combining a machine learning model that provides information about what the previous best routes have been, and a 鈥榤etaheuristic鈥 tool that uses this information to assemble the new route.
鈥淲e want to find the good solutions faster,鈥 said Ben Hudson, the paper鈥檚 first author. 鈥淚f I鈥檓 a driver for a courier firm I have to decide what my next destination is going to be as I鈥檓 driving. I can鈥檛 afford to wait for a better solution. So that鈥檚 why in our research we focused on the trade-off between the computational time needed and the quality of the solution we got.鈥
To do this, Hudson came up with a Guided Local Search algorithm that could differentiate routes from one city to another that would be costly 鈥 in time or distance 鈥 from routes that would be less costly to include in the journey. This enabled the researchers to identify high-quality, rather than optimal, solutions quickly.
They did this by using a measure of what they call the 鈥榞lobal regret鈥 鈥 the cost of enforcing one decision relative to the cost of an optimal solution 鈥 of each city-to-city route in the Guided Local Search algorithm. They used machine learning to come up with an approximation of this 鈥榬egret鈥.
鈥淲e already know the correct solution to a set of these problems,鈥 said Hudson. 鈥淪o we used some machine learning techniques to try and learn from those solutions. Based on that, we try to learn for a new problem 鈥 for a new set of cities in different locations 鈥 which paths between the cities are promising.
鈥淲hen we have this information, it then feeds into the next part of the algorithm 鈥 the part that actually draws the routes. It uses that extra information about what the good paths may be to build a good solution much more quickly than it could have done otherwise.鈥
The results they came up with were impressive. Their experiments demonstrated that the hybrid, data-driven approach converges to optimal solutions at a faster rate than three recent learning-based approaches for the Travelling Salesperson Problem.
In particular, when trying to solve the problem when it had a 100-city route, the 国际米兰对阵科莫 method reduced the mean optimality gap from 1.534% to 0.705%, a two-fold improvement. When generalising from the 20-city problem route to the 100-city problem route, the method reduced the optimality gap from 18.845% to 2.622%, a seven-fold improvement.
鈥淎 lot of logistics companies are using routing methods in real life,鈥 said Hudson. 鈥淥ur goal with this research is to improve such methods so that they produce better solutions 鈥 solutions that result in lower distances being travelled and therefore lower carbon emissions and reduced impact on the environment.鈥
Amanda Prorok is a Fellow of Pembroke College, 国际米兰对阵科莫.听
Reference:
Benjamin Hudson et al. 鈥.鈥 Paper presented at the International Conference on Learning Representations: .
The text in this work is licensed under a . Images, including our videos, are Copyright 漏国际米兰对阵科莫 and licensors/contributors as identified.听 All rights reserved. We make our image and video content available in a number of ways 鈥 as here, on our main website under its Terms and conditions, and on a range of channels including social media that permit your use and sharing of our content under their respective Terms.