June 16, 2021
Juan José Salazar
University of La Laguna
The concept of «optimization» is inherent in nature. All living beings face the challenge of maximizing the benefit they obtain with limited resources. Population and economic growth generate new technological and logistical challenges, which accentuates the need for optimization in businesses.
Mathematics is useful for solving technological challenges, but essential for tackling logistical problems. There are companies that continue to make decisions «by inertia,» without mathematical optimization. But any company that wants to expand its market, or that operates in a highly competitive sector (as is the case with airlines), needs to resort to mathematical optimization to make decisions with a guarantee of success. Recent economic crises have tested the robustness of many business plans, with the consequent failure of companies that did not manage their resources efficiently. As an example, and considering only regional airlines in Spain, since 2000 an airline has closed every year: Islas Airways, Air Madrid, Futura, Air Comet, Helitt, Ándalus, and Iberline, among others. Binter Canarias continues to operate today thanks to the commitment it made at the time to optimize its resources, starting in 2008 a fruitful collaboration with research and development groups from the University of La Laguna that used Mathematical Optimization techniques to plan the service shifts of its crews and aircraft.
This same type of mathematical development has also been key for other companies involved in land or sea passenger transport, goods distribution, inventory management, and telecommunications. Today, a port can be brought to a standstill (with all the consequences this has for the local population) if the tools managing ship arrivals and departures, container loading and unloading, truck traffic, crane operation, and worker shifts are not functioning properly. Behind all the programs that manage these processes are mathematical models and optimization algorithms.
In this context, the mathematical model is an abstract representation of the actual logistics to be developed and the problem to be solved. It can be visualized as a photograph of the real object. In the model, the issues on which decisions must be made are represented as numerical variables. The conditions that limit the resources influencing these variables or the permissible values (constraints) are described by equations and inequalities. The solution to the system of equations may result in a problem with no solution (infeasible); but when this is not the case, it leads to many valid solutions, although not all are equally good or desirable for the decision-maker. This is why mathematical models include an objective function that measures the benefit or preference of each valid solution—the goodness of the solution. Thus, solving the problem is equivalent to finding a valid solution that optimizes the objective function.
The same problem can be represented by different mathematical models, just as an object can be photographed from different viewpoints. Therefore, there are better and worse models for the same problem, which in practice translates into models that allow us to reach an optimal decision with more or less computational effort. Building good models is an art known as Mathematical Modeling. Like any art, Mathematical Modeling requires experience to mathematically represent the characteristics of a company's problem and the specific context in which it arises, while simultaneously creating a numerically solvable system.
Based on the mathematical relationships between the variables in the inequalities, models are classified into different categories; the most common is Linear Optimization. For this and other categories, highly effective algorithms have been developed, sometimes capable of finding optimal solutions to very large-scale optimization problems (hundreds of thousands of unknowns and inequalities) very quickly.
The demand for these algorithms has been steadily increasing in recent decades, as evidenced by the growing number of available optimization programs. The significance of this is illustrated by IBM's acquisition of the pioneering Mathematical Optimization library (ILOG CPLEX) in 2009. Another example is Microsoft, which launched the Microsoft Solver Foundation program in 2011. More recently, Google has joined the race with its open-source tool, Google OR-tools. These and other algorithm libraries offer user-friendly interfaces that allow even small businesses to incorporate Mathematical Optimization into their decision-making systems, although in all cases the mathematical model must first be designed. To date, creating the model remains the exclusive domain of human ingenuity, which partly explains the growing demand for mathematicians in the job market.
The advantages of Mathematical Optimization are amplified by the enormous amount of data that current technology makes available to us. Sensors in electronic devices collect information from users through webcams, internet browsers, electronic cards, mobile phones, and digital watches. Load and volume sensors, and much more, all of which together provide data on customer needs, warehouse status, and vehicle movements. When properly processed, this data can significantly improve business efficiency. This overabundance of data has given rise to the modern discipline of Data Science, an evolution of what we traditionally know as Statistics, but now combined with Computer Programming. The race for better data capture, processing, management, and analysis, far from slowing down, is accelerating. Quantum computers will multiply computing power and accentuate the need to have and apply this branch of mathematics, which, under various names (Big Data, Data Mining, Deep Learning, etc.), is contributing to a new field: Artificial Intelligence.
Modern mathematics has adapted to the reality of our time and has evolved from static algorithms (such as the algorithm to calculate the greatest common divisor of two numbers) to much more complex ones, capable of dealing with dynamic problems, learning from data, detecting patterns of behavior and adapting autonomously (Machine Learning).
The dream of predicting and optimizing is already a reality in many cases thanks to Mathematical Optimization, and will be even more so in the near future.
Filed under: No. 8, Hypothesis Magazine