ֱ̽ of Cambridge - Amanda Prorok /taxonomy/people/amanda-prorok en Improved approach to the ‘Travelling Salesperson Problem’ could improve logistics and transport sectors /research/news/improved-approach-to-the-travelling-salesperson-problem-could-improve-logistics-and-transport <div class="field field-name-field-news-image field-type-image field-label-hidden"><div class="field-items"><div class="field-item even"><img class="cam-scale-with-grid" src="/sites/default/files/styles/content-580x288/public/news/research/news/travelling-salesperson-problem.jpg?itok=wiVzOnhR" alt="Courier checking parcel for delivery" title="Courier checking parcel for delivery, Credit: Luis Alvarez" /></div></div></div><div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>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.</p> <p>Researchers from the ֱ̽ of Cambridge 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 <a href="https://openreview.net/forum?id=ar92oEosBIg">results</a> are presented this week at the <em><a href="https://iclr.cc/virtual/2022/index.html">International Conference on Learning Representations</a></em>.</p> <p>“ ֱ̽importance of global logistics system was brought home to us during the pandemic,” said <a href="https://www.cst.cam.ac.uk/people/asp45">Dr Amanda Prorok</a> from Cambridge’s Department of Computer Science and Technology, who led the research. “We’re 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.”</p> <p> ֱ̽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. ֱ̽challenge is to find the shortest possible route that calls at each destination once and to find it quickly.</p> <p>“There 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.</p> <p>Twenty years ago the route from the warehouse to the destinations might have been fixed in advance. But with today’s 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.</p> <p>There’s 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.</p> <p>And that is why there is a need for general, anytime combinatorial optimisation algorithms that produce high-quality solutions under restricted computation time.</p> <p> ֱ̽Cambridge-developed hybrid approach does this by combining a machine learning model that provides information about what the previous best routes have been, and a ‘metaheuristic’ tool that uses this information to assemble the new route.</p> <p>“We want to find the good solutions faster,” said Ben Hudson, the paper’s first author. “If I’m a driver for a courier firm I have to decide what my next destination is going to be as I’m driving. I can’t afford to wait for a better solution. So that’s why in our research we focused on the trade-off between the computational time needed and the quality of the solution we got.”</p> <p>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.</p> <p>They did this by using a measure of what they call the ‘global 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 ‘regret’.</p> <p>“We already know the correct solution to a set of these problems,” said Hudson. “So 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.</p> <p>“When 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.”</p> <p> ֱ̽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.</p> <p>In particular, when trying to solve the problem when it had a 100-city route, the Cambridge 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.</p> <p>“A lot of logistics companies are using routing methods in real life,” said Hudson. “Our 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.”</p> <p>Amanda Prorok is a Fellow of Pembroke College, Cambridge. </p> <p><em><strong>Reference:</strong><br /> Benjamin Hudson et al. ‘<a href="https://openreview.net/forum?id=ar92oEosBIg">Graph Neural Network Guided Local Search for the Traveling Salesperson Problem</a>.’ Paper presented at the International Conference on Learning Representations: <a href="https://iclr.cc/virtual/2022/calendar">https://iclr.cc/virtual/2022/calendar</a>.</em></p> </div></div></div><div class="field field-name-field-content-summary field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p><p>A new approach to solving the Travelling Salesperson Problem – one of the most difficult questions in computer science – significantly outperforms current approaches.</p> </p></div></div></div><div class="field field-name-field-content-quote field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even">We’re highly reliant on this kind of infrastructure to be more efficient – and our solution could help with that</div></div></div><div class="field field-name-field-content-quote-name field-type-text field-label-hidden"><div class="field-items"><div class="field-item even">Amanda Prorok</div></div></div><div class="field field-name-field-image-credit field-type-link-field field-label-hidden"><div class="field-items"><div class="field-item even"><a href="https://www.gettyimages.co.uk/detail/photo/courier-checking-the-parcel-for-delivery-royalty-free-image/1272562578?adppopup=true" target="_blank">Luis Alvarez</a></div></div></div><div class="field field-name-field-image-desctiprion field-type-text field-label-hidden"><div class="field-items"><div class="field-item even">Courier checking parcel for delivery</div></div></div><div class="field field-name-field-cc-attribute-text field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even"><p><a href="http://creativecommons.org/licenses/by/4.0/" rel="license"><img alt="Creative Commons License" src="https://i.creativecommons.org/l/by/4.0/88x31.png" style="border-width:0" /></a><br /> ֱ̽text in this work is licensed under a <a href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>. Images, including our videos, are Copyright © ֱ̽ of Cambridge 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 <a href="/">main website</a> under its <a href="/about-this-site/terms-and-conditions">Terms and conditions</a>, and on a <a href="/about-this-site/connect-with-us">range of channels including social media</a> that permit your use and sharing of our content under their respective Terms.</p> </div></div></div><div class="field field-name-field-show-cc-text field-type-list-boolean field-label-hidden"><div class="field-items"><div class="field-item even">Yes</div></div></div> Tue, 26 Apr 2022 09:02:31 +0000 sc604 231611 at Major European starting grants awarded /stories/erc-starting-grants-2020 <div class="field field-name-field-content-summary field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p><p>Six Cambridge researchers are among the latest recipients of European Union awards given to early-career researchers.</p> </p></div></div></div> Mon, 14 Sep 2020 11:30:00 +0000 ta385 217782 at Driverless cars working together can speed up traffic by 35 percent /research/news/driverless-cars-working-together-can-speed-up-traffic-by-35-percent <div class="field field-name-field-news-image field-type-image field-label-hidden"><div class="field-items"><div class="field-item even"><img class="cam-scale-with-grid" src="/sites/default/files/styles/content-580x288/public/news/research/news/crop_116.jpg?itok=eUXemmDy" alt="" title="Credit: None" /></div></div></div><div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p> ֱ̽researchers, from the ֱ̽ of Cambridge, programmed a small fleet of miniature robotic cars to drive on a multi-lane track and observed how the traffic flow changed when one of the cars stopped.</p> <p>When the cars were not driving cooperatively, any cars behind the stopped car had to stop or slow down and wait for a gap in the traffic, as would typically happen on a real road. A queue quickly formed behind the stopped car and overall traffic flow was slowed.</p> <p>However, when the cars were communicating with each other and driving cooperatively, as soon as one car stopped in the inner lane, it sent a signal to all the other cars. Cars in the outer lane that were in immediate proximity of the stopped car slowed down slightly so that cars in the inner lane were able to quickly pass the stopped car without having to stop or slow down significantly.</p> <p>Additionally, when a human-controlled driver was put on the ‘road’ with the autonomous cars and moved around the track in an aggressive manner, the other cars were able to give way to avoid the aggressive driver, improving safety.</p> <p> ֱ̽<a href="https://arxiv.org/abs/1902.06133">results</a>, to be presented today at the International Conference on Robotics and Automation (ICRA) in Montréal, will be useful for studying how autonomous cars can communicate with each other, and with cars controlled by human drivers, on real roads in the future.</p> <p>“Autonomous cars could fix a lot of different problems associated with driving in cities, but there needs to be a way for them to work together,” said co-author Michael He, an undergraduate student at St John’s College, who designed the <a href="https://github.com/proroklab/minicar">algorithms</a> for the experiment.</p> <p>“If different automotive manufacturers are all developing their own autonomous cars with their own software, those cars all need to communicate with each other effectively,” said co-author Nicholas Hyldmar, an undergraduate student at Downing College, who designed much of the hardware for the experiment.</p> <p> ֱ̽two students completed the work as part of an undergraduate research project in summer 2018, in the lab of Dr Amanda Prorok from Cambridge’s Department of Computer Science and Technology.</p> <p>Many existing tests for multiple autonomous driverless cars are done digitally, or with scale models that are either too large or too expensive to carry out indoor experiments with fleets of cars.</p> <p>Starting with inexpensive scale models of commercially-available vehicles with realistic steering systems, the Cambridge researchers adapted the cars with motion capture sensors and a Raspberry Pi, so that the cars could communicate via wifi.</p> <p>They then adapted a lane-changing algorithm for autonomous cars to work with a fleet of cars. ֱ̽original algorithm decides when a car should change lanes, based on whether it is safe to do so and whether changing lanes would help the car move through traffic more quickly. ֱ̽adapted algorithm allows for cars to be packed more closely when changing lanes and adds a safety constraint to prevent crashes when speeds are low. A second algorithm allowed the cars to detect a projected car in front of it and make space.</p> <p>They then tested the fleet in ‘egocentric’ and ‘cooperative’ driving modes, using both normal and aggressive driving behaviours, and observed how the fleet reacted to a stopped car. In the normal mode, cooperative driving improved traffic flow by 35% over egocentric driving, while for aggressive driving, the improvement was 45%. ֱ̽researchers then tested how the fleet reacted to a single car controlled by a human via a joystick.</p> <p>“Our design allows for a wide range of practical, low-cost experiments to be carried out on autonomous cars,” said Prorok. “For autonomous cars to be safely used on real roads, we need to know how they will interact with each other to improve safety and traffic flow.”</p> <p>In future work, the researchers plan to use the fleet to test multi-car systems in more complex scenarios including roads with more lanes, intersections and a wider range of vehicle types.</p> <p><em><strong>Reference:</strong></em><br /> <em>Nicholas Hyldmar, Yijun He, Amanda Prorok. ‘A Fleet of Miniature Cars for Experiments in Cooperative Driving.’ Paper presented at the <a href="https://ras.papercept.net/conferences/conferences/ICRA19/program/ICRA19_ContentListWeb_1.html#moc1-23_02">International Conference on Robotics and Automation</a> (ICRA 2019). Montréal, Canada. </em></p> <p> </p> </div></div></div><div class="field field-name-field-content-summary field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p><p>A fleet of driverless cars working together to keep traffic moving smoothly can improve overall traffic flow by at least 35 percent, researchers have shown.</p> </p></div></div></div><div class="field field-name-field-content-quote field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even">For autonomous cars to be safely used on real roads, we need to know how they will interact with each other</div></div></div><div class="field field-name-field-content-quote-name field-type-text field-label-hidden"><div class="field-items"><div class="field-item even">Amanda Prorok</div></div></div><div class="field field-name-field-media field-type-file field-label-hidden"><div class="field-items"><div class="field-item even"><div id="file-148222" class="file file-video file-video-youtube"> <h2 class="element-invisible"><a href="/file/148222">Can cars talk to each other?</a></h2> <div class="content"> <div class="cam-video-container media-youtube-video media-youtube-1 "> <iframe class="media-youtube-player" src="https://www.youtube-nocookie.com/embed/e0LIU1Sf6p0?wmode=opaque&controls=1&rel=0&autohide=0" frameborder="0" allowfullscreen></iframe> </div> </div> </div> </div></div></div><div class="field field-name-field-cc-attribute-text field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even"><p><a href="http://creativecommons.org/licenses/by/4.0/" rel="license"><img alt="Creative Commons License" src="https://i.creativecommons.org/l/by/4.0/88x31.png" style="border-width:0" /></a><br /> ֱ̽text in this work is licensed under a <a href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>. Images, including our videos, are Copyright © ֱ̽ of Cambridge 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 <a href="/">main website</a> under its <a href="/about-this-site/terms-and-conditions">Terms and conditions</a>, and on a <a href="/about-this-site/connect-with-us">range of channels including social media</a> that permit your use and sharing of our content under their respective Terms.</p> </div></div></div><div class="field field-name-field-show-cc-text field-type-list-boolean field-label-hidden"><div class="field-items"><div class="field-item even">Yes</div></div></div> Sun, 19 May 2019 23:00:45 +0000 sc604 205432 at