Skip to main content

What is a common challenge faced by engineers, thieves, and business decision-makers?


There was a time when the only source of transportation for humans was on foot. But the invention of the wheel changed the game, as it allowed them to cover longer distances than before without expending as much energy. Further inventions such as steam locomotives and airplanes have only expanded this distance limit. And now, with the advent of rockets, spacecraft, and rovers, we have begun to explore other planets in our solar system that are millions of kilometers away!

On a higher level, we can understand that our world-class engineers are in the business of expanding our horizons. However, on a much deeper level, they are indeed grappling with the challenges like improving the conversion efficiency of fuel energy into mechanical energy, refining engine designs, and developing better materials. 

For example, consider the example of steam engines. When these engines were invented, they marveled the world with their ability to perform mechanical work using water. However, this process had limitations in terms of efficiency due to significant heat loss during the boiling of water to produce steam. Later, internal combustion engines addressed this limitation by utilizing a fuel and air mixture instead of water. This innovation ensured minimal heat loss and improved overall efficiency.

In essence, we can visualize this process as striving to overcome a limitation (like efficiency), resulting in the desired outcome of pushing the boundaries (like distance limit). This concept bears a resemblance to the expansive domain of operations research, where mathematical techniques are employed to solve similar problems.

While operations research doesn't directly deal with the intricacies of thermodynamics to enhance conversion efficiency, its main focus lies in allocating the finite resources at our disposal to achieve some form of advancement.

Let us divert from the boring engineering language and enter the risky profession of theft for now. 

Imagine that you have devised an intricate plan to carry out a heist on an antique store, intending to rob it under the cover of darkness. You have your trusty backpack ready to hold the stolen goods. After successfully breaking in and deftly disabling the alarms and security cameras, you realize the store is brimming with valuable items just waiting to be taken. It's as if you're a child in a candy store. In an ideal world, you could empty the entire store and make your escape without a trace. However, the reality is not perfect. You lack a getaway van and an infinite-capacity backpack. Consequently, your only option is to snatch as much as you can, cram it into your backpack, and sprint like a crazed dog being chased, knowing that the police might appear at any moment. But be cautious, overloading the backpack beyond its capacity will cause it to tear apart, leading your entire mission to go down the drain.

Therefore, there is a weight limit imposed on the items that your backpack can accommodate, let's say 5 kilograms for now.

You have these items that you could readily grab and run:

Serial NumItemWeight (kg)Value (grand)
1Antique lamp0.56
2Porcelain figurine1.55
3Antique clock0.44
4Vintage Painting14
5Vintage music player1.13
6Decorative art piece1.64
7Retro typewriter0.81

Now, which of these items would you choose to pack in your backpack? Unfortunately, you cannot steal all of them since their combined weight (6.9 kg) exceeds the backpack's capacity of 5 kg. Since your objective is to maximize the profit from selling the stolen goods, you wouldn't want to randomly grab whatever you can.

Here, you decide to take out the calculator, compute the value unit weight of each item holds, and make a decision based on that.

Serial NumItemWeight (kg)Value (grand)Value/Weight
1Antique lamp0.5612
2Porcelain figurine1.553.33
3Antique clock0.4410
4Vintage Painting144
5Vintage music player1.132.73
6Decorative art piece1.642.5
7Retro typewriter0.811.25

Based on these numbers, you decide to carry the first five items and leave the decorative art piece and retro typewriter at the store. You make a huge profit of 22 grand later by selling these items, which enables you to sleep peacefully at night with a feeling of accomplishment.

But what if I told you that you could have made an extra grand if you left out the vintage music player in favor of the decorative art piece? 

Operations research (OR) suggests that the optimal solution for this heist is to seize items 1, 2, 3, 4, and 6, which would result in a total profit of 23 grand.

OR is all about making one or more decisions to hit that sweet spot in terms of our objective. And when we say an objective, we don't always need to think about maximizing the profit. Sometimes, we could slightly tweak the scenario to look at the problem from a different direction.

Let's continue with the previous example, imagine that you aim to steal items that would generate a profit of at least 20 grand. However, considering the possibility of a police chase, you prioritize minimizing the weight of the backpack to lighten your load. Therefore, our objective is to minimize the backpack's weight while ensuring a constraint on the minimum required profit.

Mathematically speaking, this objective is captured by an 'objective function'. The choice between a maximization objective (such as profit) or a minimization objective (such as weight or cost) is entirely situational and depends on the specific scenario and your priorities.

In a similar vein, the restrictions you imposed on the backpack weight and minimum profit mirror the finite resources found in the real world. These limitations are captured by the "constraints" component in the mathematical formulation.

And this problem originated because you had to choose among the seven available items. Mathematically, this can be represented by seven binary decision variables, where each variable corresponds to an item (1 indicating chosen and 0 indicating not chosen).

Now, let's shift our focus to the entirely unrelated realm of business, where each day presents you with numerous decisions to make. These decisions are akin to the question of "Which items should I steal?" in the previous example. A decision made without the support of a systematic approach like OR can lead to a solution that deviates significantly from the optimal one. At times, this difference can be crucial in determining whether your company faces bankruptcy or emerges as a leading player in its industry.

OR is an extensive field that already has a significant impact on various aspects of our lives. Therefore, understanding how to formulate real-life decision-making problems into OR problems can be a valuable skill.

Comments

Popular posts from this blog

Solving Customer Churn with a hammer!

Learning when data should take a back seat and give way to domain knowledge is a valuable skill. Suppose you built a machine learning model on the data of your customers to predict churn risk. Now that you have a risk score for each customer, what do you do next? Do you filter the top n% based on the risk and send them a coupon with a discount in the hopes that it will prevent churn? But what if price is not the factor driving churn in many of these customers? Customers might have been treated poorly by customer service, which drove them away from your company's product.  Or there might have been an indirect competitor's product or service that removes the need for your company's product altogether (this happened to companies like Blockbuster and Kodak in the past!) There could be a myriad of factors, but you get the point! Dashboards and models cannot guide any company's strategic actions directly. If companies try to use them without additional context, more often tha...

Curing writer's block with sunk cost fallacy

I paid $20 to renew this blog's domain in July. But the truth is, I had been suffering from writer's block ever since the start of this year and hadn’t posted a single thing. At one point, I was ready to give up on the blog altogether, but a voice in my head kept reminding me of all the time and money I’d already invested in this blog. So, this week, I sat down to write this imperfect, patchy article—about none other than that voice itself.  Let me start with a classic scenario where you might have also encountered this voice. Suppose you’re at an Italian restaurant and ordered some pasta and tiramisu. After finishing the pasta, you realize you’re full, and there’s no way your stomach can handle that delicious tiramisu sitting right in front of you. But then, that beautiful brain of yours reminds you that you’ll be paying for the tiramisu whether you eat it or not. In a desperate attempt to avoid wasting money, you reluctantly eat two quick bites. And just like that, my frien...

What is SUTVA for A/B testing?

Imagine if person B’s blood pressure reading depends on whether person A receives the blood pressure medicine in a randomized controlled trial. This will be violating Stable Unit Treatment Value Assumption (SUTVA) SUTVA states that the treatment received by an individual should not influence the outcome we see for another individual during the experiment. I know the initial example sounded absurd, so let me try again. Consider LinkedIn A/B testing a new ‘dislike’ reaction for its users, and the gods of fate chose you to be part of the initial treatment group that received this update. Excited after seeing this new update, you use this dislike reaction on my post and send a screenshot to a few of your connections to do the same, who are coincidentally in the control group that did not receive the update. Your connections log in and engage with my posts to use this dislike reaction, but later get disappointed as this new update is not yet available to them. The offices of LinkedIn are tr...