Connect with us

Sciences et technologie

Episode 5: Improving Operations with Route Optimization

Data Overflow

Published

on

[simplicity-save-for-later]

Introduction

Route optimization is very useful nowadays. The route suggested by your GPS is made based on different factors and is using data science to improve your trip by saving you time and effort. In this article, we’re going to talk about a specific experience of a route optimization program made for an Asian delivery service called GOGOVAN, where the idea came from, and how it started.

What is GOGOVAN?

Every day, GOGOVAN drivers arrive at warehouses across Asia to pick up thousands of orders that their business partners have asked them to deliver to their clients. These orders can be a range of things — from that long-awaited new phone to an anniversary present that was ordered at the last minute. All of them will be of different sizes, shapes, and weights. For each one of them, there will be a person waiting and hoping this time the courier company gets there on time… This is why at GOGOVAN, they do everything in their power to ensure smooth and timely deliveries with a quality of service that will amaze customers. Every delivery route is carefully planned manually and double-checked by the Operations Team, to make sure it never fails.

The problem they were facing

In the past, GOGOVAN’s Operations Team had to manually sort out the delivery routes, usually on the morning of pickup, and ensure they meet all the delivery time requirements for that day. As you might imagine, that is not a particularly exciting nor easy task. It took one person approximately 1 hour to create a sub-optimal route for 100 waypoints. For requests bigger than that, this time grew exponentially. GOGOVAN instantly realized that this process was simply begging for some automation.We feel sorry for the Operations Team who had to do such mundane work each early morning, but when the order volume grew, that task was slowly becoming mission impossible. The delivery service company saw it as an opportunity to develop a cutting-edge technology that will become a core component of GOGOVAN’s Data Science stack.

How did the solution start?

GOGOVAN is very client and driver-centric. Consequently, they always try to analyze a problem from their perspectives in order to understand how the solution could impact and benefit both. After a lot of brainstorming, these are the goals they came up with:

  • All orders need to be delivered on time.
  • Ensure drivers are not rushed to make it on time by using buffer times and real-time distance.
  • Save fuel by reducing the distance driven.
  • Minimize idle time for drivers — no one likes waiting with a trunk full of packages.
  • Improve vehicle utilization.
  • Fully automate the process.
  • The algorithm needs to be growing with the problem.

They realized that the problem they are facing is widely known as Vehicle Routing Problem (VRP):
VRP can be described as the problem of creating a set of optimal routes from one, or many, depots to multiple customers, subject to a set of constraints. The objective is to deliver goods to all customers, at the same time minimizing the cost of the routes and the number of vehicles.

The Solution

With VRP being a widely recognized problem, there are indeed a lot of companies out there who seem to be tackling the problem. However, GOGOVAN somehow did not feel satisfied with previous solutions… They created their own with the help of the folks at Google who spent months coding all the different algorithms they wanted to test. They built their tool of Route Optimization and it looks like this:

The volume of orders submitted to Route Optimizer quickly increased from 500 items per warehouse to more than 1000. The algorithm’s runtime and memory usage jumped incredibly quickly — from 1 minute and 500 MB to 10 minutes and 5 GB. As they tested it for higher and higher volumes, they finally reached the maximum — for 2000 waypoints the module used up 25GB of RAM. They used a renowned clustering algorithm — DBSCAN. What they have is a state-of-the-art method that groups together geographical points. However, it has its downside: each cluster has to have the same radius. With the combination of the operations know-how, data science and research expertise, large volumes of data, and open-source state-of-the-art contributions, they arrived at a robust in-house solution that:

  • Is more up-to-date, performant, and has customizable algorithms and iteration logic.
  • Is cheaper, more efficient, and more scalable.
  • Allows developing tangible intellectual property assets and building a competitive advantage around it.

Conclusion

In this article, we presented an approach to the Capacitated Vehicle Routing Problem with Time Windows for a large number of waypoints (up to 5000). By using a recursive-DBSCAN method GOGOVAN was able to significantly reduce runtimes and memory usage while maintaining a similar quality of results as in the baseline Google Optimization Tools method. The algorithm was of great help to the Operations team reducing hours of mundane manual work to a few minutes of CPU time. GOGOVAN decided to be a leader in the field by not using a BlackBox solution but developing its own.

Share your thoughts

Continue Reading

Sciences et technologie

Chapter 2 : England, the Discovery of Vaccines.

insatpress

Published

on

[simplicity-save-for-later]

By

Fast breathing, clenched fists, and hunched shoulders are common signs of tension that most people show as the vaccination syringe approaches the body whilst 300 years ago people took the same syringe with great joy and hope.
The reason is that we are clueless of what humanity endured before the « blessing » of vaccines came to light.
Let me tell you the tale of one of humankind’s greatest inventions through the eyes of a time walker. This invention actually underwent a lengthy process of discovery, development, and improvement that lasted for centuries.

And our wanderer walked down the lane of the 1700s, when English physician Edward Jenner overheard a girl boasting to her friend that she would not contract smallpox because she had already contracted cowpox and she will have a flawless face free from pox blisters.

The doctor thought that the idea was brilliant even though it seemed silly.
Why not provide cowpox vaccination instead of the usual inoculation which involved inserting fresh smallpox material, such as blisters from a sick individual, under the skin of a nonimmune person considering that 3 percent of people died due to variolation using the previous method?
Smallpox and cowpox both belong to the same family « poxviridae » and once the disease is transferred from cows to people, it became weakened
In order to give the immune system the memory it needs to fight smallpox once it enters the body, the doctor came up with the brilliant idea of infecting his patients with cowpox, which is contagious but much less dangerous than what smallpox can do to a human. He called this procedure « the variolae vaccine » and performed it on a boy for the first time. In 1796, at that same time, the idea of a modern vaccination was born. The boy lived and showed no signs of smallpox. And Edward Jenner branded himself as « the father of immunology » in history.
From that time until 1850, vaccination evolved, and then the arm-to-arm vaccination practice emerged, posing a safety concern because this new method of immunization allows for the transmission of bacteria and other diseases from one person to another.
Sydney Cooper, a microbiologist, discovered in 1896 that adding glycerin to the blistering agent used during the procedure could make this vaccination safer.
As a result, scientists were able to create the vaccine « dryvax, » which was used in the 1967 big WHO vaccination campaign that was a complete success.
The smallpox was eradicated, and research continued in the years that followed to reduce the vaccine’s side effects and make it more effective.
With knowledge, observation, try and error as well as the absurd notion of a normal girl, which we can term « luck » and the culminated work of many minds, many hands, many hearts during hundreds of years, this holly tool of science was created.
People like us who were born in an era where a new vaccine could be developed in one or one and a half year to stop a worldwide pandemic are unable to appreciate the blessing that this discovery brought to the world.

One of the deadliest diseases in human history, smallpox is believed to have killed hundreds of millions of people throughout history with a death rate of 30%, compared to coronavirus’s 3%, just to imagine the nightmare it caused to humanity; the battle that humans won against it is one of history’s greatest victories.
Granted with hardiness and protection, waiting for the secret work of a needle in their bodies, with calm breaths and relaxed shoulders people received their vaccine.
May humanity always strive in preserving a world rich of life and vitality.

Written By : Nada Arfaoui.

Share your thoughts

Continue Reading

Made with ❤ at INSAT - Copyrights © 2019, Insat Press