By Edward Rothberg, PhD
August 4, 2021
“What’s the difference between mathematical optimization and machine learning?”
This is a question that — as the CEO of a mathematical optimization software company — I get asked all the time. Although it seems like a simple question, it’s actually quite difficult to come up with a concise, coherent answer. There are two main reasons why this is the case:
1. Mathematical optimization and machine learning are two highly sophisticated advanced analytics software technologies that are used in a vast array of applications, making it hard to swiftly and succinctly define them and draw distinctions between them.
2. Mathematical optimization and machine learning actually have many significant similarities, such as:
Indeed, mathematical optimization and machine learning are two tools that, at first glance — like scissors and pliers — may seem to have a lot in common. When you look closely at their fundamental features and actual applications, however, you’ll see some important differences.
In this article, I’ll lay out the four main differences between mathematical optimization and machine learning so that, if you’re thinking of investing in one of these technologies, you can more easily determine which one is right for you.
Generally speaking, there are three different types of advanced analytics tools: descriptive (which provide insights on what has happened in the past or is happening currently in your business environment), predictive (which enable you to predict what will happen in the future) and prescriptive (which help you decide what you should do in order to reach your business goals).
Machine learning — the preeminent predictive analytics tool available today — is capable of processing massive amounts of historical “big data” to automatically identify patterns, learn from the past and make predictions about the future.
Mathematical optimization — the leading prescriptive analytics tool in the market — leverages the latest available data, a mathematical model of your business environment and an algorithm-based solver to generate solutions to your most challenging business problems and empower you to make the best possible business decisions.
The output of machine learning — predictions — can be used to guide certain decisions, but machine learning isn’t fundamentally equipped to handle business problems that involve intricate, interconnected sets of decisions (some of which have more possible outcomes than there are atoms in the universe) like mathematical optimization can.
Another critical difference between mathematical optimization and machine learning is how these two technologies are used.
Machine learning is employed in a seemingly endless range of applications — many of which touch our everyday lives, including image and speech recognition, product recommendations, virtual personal assistants, fraud detection, and self-driving cars.
Enterprises use mathematical optimization across the business spectrum in a wide variety of applications to address large-scale, mission-critical business problems, including production planning, workforce scheduling, electric power distribution, and shipment routing.
As many machine learning applications are consumer-facing and have become part and parcel of our daily lives, this technology is more visible and well-known than mathematical optimization. However, the impact of both technologies can be felt across virtually every industry and in practically every aspect of our world today.
Businesses today, particularly since the onset of the Covid-19 pandemic, operate in an environment characterized by constant change and disruption.
Mathematical optimization applications — as they are based on a detailed mathematical model (which functions as a digital twin of your operating environment) and run on the most up-to-date data — can easily adjust to changing conditions and give you the visibility and agility you need to efficiently respond to disruption.
In contrast, machine learning applications — which rely on historical data — often suffer from what’s called “model drift,” which refers to the fact that machine learning models lose their predictive power due to changes in the operating environment and data. Over time, and especially when encountering sudden changes, machine learning predictions become less accurate. When this happens, machine learning models need to be retrained on new data.
It should be noted that the robustness of mathematical optimization models comes at a cost, as these models typically require a greater investment of time and effort to build upfront than their machine learning counterparts.
Both mathematical optimization and machine learning have long and illustrious histories. The initial incarnations of these technologies appeared in the middle of the 20th century, while many of the underlying techniques were first developed hundreds of years ago.
Although both technologies are well-established, they’re at different stages in their lifecycles.
Mathematical optimization went through what Gartner would call the “peak of inflated expectations” in the early 1970s when, buoyed by a streak of successes, practitioners believed that mathematical optimization could be used to address an enormous range of real-world problems. It then fell into the “trough of disillusionment” in the late 1970s when the technology failed to live up to the hype and eventually settled into a “plateau of productivity” in the 1990s and beyond, as mathematical optimization is now a proven technology that companies across industries have applied widely.
According to Gartner, machine learning — which is now essentially ubiquitous across the business world — has reached the “peak of inflated expectations.” In the coming years, we’ll likely see a sense of disillusionment set in when machine learning isn’t able to fulfill sky-high expectations. Ultimately, however, the technology will achieve broad market viability and value.
One thing is certain: Mathematical optimization and machine learning will have an enduring and expanding impact on the world we live in for years to come, and enterprises will continue to find innovative ways to use these AI tools to tackle their most important business challenges.
This article was originally published on Forbes.com here.
GUROBI NEWSLETTER
Latest news and releases
Choose the evaluation license that fits you best, and start working with our Expert Team for technical guidance and support.
Request free trial hours, so you can see how quickly and easily a model can be solved on the cloud.