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…
AI security cameras may soon recognize your walk before they recognize your face
A new AI gait system tracks body motion through skeletal keypoints, aiming at long-range identity checks where face scans and fingerprints fall short.
Security cam

Security cameras are built to look for faces. New research suggests they may soon have another target, the small habits buried in the way someone walks.

A paper published in the International Journal of Reasoning-based Intelligent Systems describes SKDMap-Net as a gait recognition system designed to identify people from walking video, even when the camera doesn’t get a clean look at their face. Instead of relying on a close-up scan, it studies how a body moves from frame to frame.

Read more
A 20-second 3D printer breakthrough comes with exactly the kind of catch science loves
The process can create complex microstructures far faster than some laser-based methods, but full 3D control is still a work in progress.
Aluminium, Smoke Pipe

A 3D printer that can make a structure in about 20 seconds sounds like a lab claim wearing a cape. The clever bit is real. The catch arrives before anyone starts dreaming about instant replacement parts.

University of Utah researchers have demonstrated a holographic 3D printing technique that hardens tiny structures in one exposure instead of building them layer by layer. That one-shot approach could avoid the weak, leaky seams that stacked printing can leave behind. For now, though, this is a tool for microstructures, not a shortcut to printing whatever object pops into your head.

Read more
Amazon is full of copycats and shady brands. This Chrome extension lets you avoid them.
Advertisement, Poster, Text

Shopping on Amazon used to be simple. You searched for a product, compared a few familiar brands, and checked out. These days, it often feels like you're scrolling through an endless parade of names that look like someone leaned on a keyboard before hitting publish. That's exactly the problem Knockoff is trying to solve.

Created by developer Josh Pigford, the Chrome extension doesn't promise to expose counterfeit products or magically tell you what's good. Instead, it tackles something arguably more annoying: the flood of unfamiliar, mass-produced brands that dominate Amazon search results.

Read more