from Fortune

by Larissa Zimberoff

Despite radical advances in technology, many companies still plan routes for their delivery trucks the same way they did a decade ago. Managers create itineraries the day before, and then hand printouts to drivers to follow or add them to the hand-held devices that their drivers carry at their hip.

But when drivers get stuck in traffic jams while on their rounds, they’re simply out of luck and behind schedule. The same thing happens if there’s a surprise snowstorm that makes roads impassable.

In short, the routes are inflexible.

But Wise Systems, a Boston startup, is tackling this age-old problem by pairing machine learning with data it collects from drivers’ mobile phones. It crunches information like the driver’s speed and GPS location with other details including traffic, weather, where the order is being delivered, and when customers are available to receive their orders.

What emerges is a delivery route that can be tweaked on the fly depending on any complications that come up. If the technology determines that a driver will miss a scheduled stop because of road closures, for example, it will adjust the schedule for the entire day. If that’s not possible, the driver will receive alerts on his or her mobile phone as a not-so subtle hint to pick up the pace. (Red is not a good sign.)

The goal is to create routes that allow drivers to work more efficiently. By doing so, companies can save money by increasing the number of deliveries that drivers can make during shifts while also making customers happier by improving the likelihood that orders will arrive on time, or by the driver they prefer.

Wise Systems, which has 15 employees, grew out of an assignment in a graduate class on entrepreneurship at MIT. At first, the idea of the company’s four founders was to map crime, but potential customers told them “crime was good, but traffic is worse.” One of the teams’ advisors, from the MIT Center for Transportation and Logistics, also nudged them in this direction. In 2014, when they realized the idea had potential, the team incorporated the company.

Optimizing delivery routes has its roots in what’s called the Traveling Salesman Problem, which mathematicians have been trying to solve since 1930. While the task is straightforward––finding most efficient route between cities for salesmen before returning home––it remains unsolved. The possibilities are limitless, much like the possibilities for deliveries.

This is where Wise’s machine learning comes into play. Its algorithms learn from each day’s data so that it can improve the routes the technology provides going forward. “It’s much more than taking the data and feeding it in,” says Wise chief technology officer Ali Kamil. “It’s also unlearning some things that might go wrong.”

Increasing the efficiency of deliveries is now more important than ever for companies as they battle for customers who expect their orders almost immediately. Amazon, for example, offers same-day deliveries of groceries and certain Prime products within one- and two-hour delivery windows, requiring huge computing power and machine learning tools.

But creating such a system is difficult. UPS has been building its own custom software––Orion––for over a decade. Over 500 people reportedly worked on the technology, but after 10 years, it’s still not fully deployed. In Manhattan, UPS drivers still use an old version called ED because Orion doesn’t do well in complex urban environments.

Anheuser-Busch became Wise Systems’ first client when it agreed in late 2016 to test the software with its Seattle and San Diego wholesalers. Six months later, the beer giant rolled out the technology––a mobile app for drivers and a web-based tool for managers––to more of its’ wholesalers across the country. As of this week, Wise has been implemented at all of its U.S. wholesalers—20 in total, plus two others in Ontario and Québec

For over 20 years, Anheuser-Busch used Roadnet, a technology that creates delivery routes up to the day of. Roadnet helps build the plan and set the sequence, but those routes don’t change after drivers get on the road.

Another problem became apparent when Anheuser-Busch compared the routes the Roadnet software created with those that drivers actually took. The company found that drivers often deviated from the plan. It was a sign that drivers thought they knew better than the technology, an easy slip-up when they follow the same route every day for years. It also highlighted the problem of incorporating some of the on-the-job knowledge that drivers had about their routes that technology has difficulty capturing.

To get some of that expertise into its system, Wise Systems lets drivers enter real-time data through its mobile app. Examples include whether a customer prefers to be serviced by a specific driver and whether parking is scarce. These shared notes are added to the app with a code so that the algorithm can take that information into account in the future. This kind of shared knowledge can be especially helpful when a new driver takes over an existing route.

After one year, Anheuser-Busch says it’s noticed several benefits of using Wise Systems. “Wise learns patterns and history, which helps it be more effective in the future,” says Matlock Rogers, director of wholesale operations for Anheuser-Busch. It lets his team see where drivers are in real time, reducing the phone calls and texting otherwise required for updates.

In urban markets where employees are trained and using the tools properly, Anheuser-Busch says it has reduced the miles traveled per stop by 4%, which translates into fuel savings, lower wear and tear on trucks, and, for the driver, improved earnings based on higher productivity.

Another benefit is improved customer service. In the past, drivers wouldn’t be alerted to missing a delivery window. “Now, Wise will show us the last 15 stops might be late and we can prioritize them if we need to hit a specific window for a certain client,” says Rogers.

Wise Systems says that its technology will improve over time as it takes on more clients, which in turn provide its system with more data to crunch. Imagine a network of 2,000 drivers––Wise’s pool now––versus one that taps the collective brainpower of 20,000 drivers.

“In the logistics industry drivers are paid by deliveries made, not time,” says Wise’s Kamil. “Inherently, they love us because we help them make more deliveries in a day.”