Skip to main content
  1. Home
  2. Emerging Tech
  3. Computing
  4. News

New bee-inspired algorithm is ridiculously good at planning routes for delivery vehicles

Add as a preferred source on Google

What does a bee’s “waggle dance” have to do with planning optimal delivery routes? For those of us who came up with the answer “almost certainly nothing,” that might explain why we’re not the brains behind Routific, a Vancouver-based startup which has developed a smart route optimization algorithm based on the way bees seek out nectar.

“Bees work in a colony,” Marc Kuo, founder and CEO of Routific, told Digital Trends. “They have scouts which go out to forage for nectar, which means exploring a lot of types of flowers over a long distance. As soon as a scout bee discovers a patch of flowers and returns to the hive with good quality nectar, it does a waggle dance to attract other bees which then go and explore that patch more closely.”

Recommended Videos

Inspired by this behavior, the algorithm Routific developed applies that concept to the world of logistics, by figuring out how a fleet of delivery vehicles can most optimally deliver packages to businesses or consumers. “The consumers are the flowers and the trucks are the bees,” Kuo continued. “What our algorithm figures out is the best route for the trucks to take to reach the consumers in a scenario where you might have 2,000 different addresses to deliver to and a fleet of 50 trucks. In that case, the question of how you sequence the delivery order to be optimal is incredibly complex.”

Routific - Dispatching Routes

It’s essentially a variation on the long-studied “traveling salesman problem” — one of the best-known computer science algorithms, designed to figure out the optimal path between points. However, where the travelling salesman problem usually has only one salesman, in this case there are multiple different vehicles to consider.

“If you have just 57 addresses to deliver to, you already have more than a quattuorvigintillion possible route combinations,” Kuo continued. “That’s 1 with 75 zeroes after it. It’s impossible for humans to find the optimal route in that case, but even for an algorithm it’s next to impossible if you ask it to try every possible combination of routes in turn to figure out the best one. You need to be a bit more tactical about it — and that’s what bees have built into their nature, and we have built into our algorithm.”

Making things even tougher is the plethora of other challenges which need to be taken into account for deliveries, including whether a package needs to be delivered during a precise time window, the overall capacity of a truck, whether an item needs to be shipped in a refrigerated vehicle, and more.

Where the bee analogy comes into play is the way that the algorithm asks the computer to handle the searching task. “Our CPU is like a bee which has a bunch of areas it explores,” Kuo continued. “Whenever one area looks to be more promising, it gathers the attention of the other CPU power to direct more resources to that specific area to explore that specific search space a bit more. In that way we can find optimal routes, or routes that are very close to optimality, very, very quickly.”

It’s not just faster, either. Kuo also said that the routes his algorithm comes up with are typically 40-percent shorter than the manually planned routes many of his customers previously used. This has obvious positive impacts in terms of fuel savings, hours spent on the road, and the cost of vehicle maintenance. “In some cases we’ve even been able to take vehicles off the road because the original plan our customers have been working with have been so inefficient,” he said.

It’s no wonder Routific is creating a bit of a — dare we say it? — buzz.

Luke Dormehl
I'm a UK-based tech writer covering Cool Tech at Digital Trends. I've also written for Fast Company, Wired, the Guardian…
ChatGPT is getting a teen version, and I have a lot of questions
ChatGPT

Whether you like it or not, ChatGPT is already everywhere. People use it to research complicated topics, clean up their writing, learn new skills, plan their lives, and, in my case, ask an embarrassing number of questions I could have figured out myself. Teenagers are no exception. In fact, OpenAI says nearly nine in 10 teens who use ChatGPT turn to it to learn, find information, develop skills, or get things done during a typical week. So rather than pretending students aren't going to use AI, OpenAI is taking a different approach: give them a version built specifically for them. The company has announced ChatGPT for Teens, a new experience for users between 13 and 17 that's designed around learning, healthier usage habits, and significantly stronger safety protections. 

ChatGPT wants to teach, not just hand over the answer

Read more
The US is trying to kick foreign robots out, but the local supply chain might not be there yet
Building a robot supply chain from scratch takes years that Washington isn't giving anyone.
LG CLOiD Home Robot

The FCC has a track record of using its Covered List to squeeze Chinese tech out of American markets, and robots just became its newest target. Foreign-made humanoids, quadrupeds, and even robot vacuums now need to be mostly built in the U.S. to sell here (via Rest of World). 

So what does the new rule actually require?

Read more
A random TikTok helped scientists discover a rare underground eel in India
Nobody expected a borewell video to end in a scientific discovery, but here we are.
Gangaichthys indonepalicus

A TikTok video usually leads to a new recipe or a dance trend. This one led researchers straight to a brand-new species of fish.

Scientists have discovered a new genus and species of underground earthworm eel living beneath the Indo-Gangetic Plain in Bihar, northern India. Named Gangaichthys indonepalicus, it's the first subterranean eel ever recorded from the Gangetic Basin, and it all started with a random borewell (drilled well) video.

Read more