Sitemap
Data And Beyond

Selected stories around Data Science, Machine Learning, Artificial Intelligence, Programming, and Technology topics. Writing guide: https://medium.com/data-and-beyond/how-to-write-for-data-and-beyond-b83ff0f3813e

Member-only story

Optimization 101: When Your Business Problem is Really a Set of Equations

8 min readOct 27, 2026

--

Many questions data scientists get handed are decisions, not predictions, and decisions like these have one provably best answer. You write down what you control, what you want, and the rules, and a free solver returns the exact optimum in milliseconds. It also tells you which constraint is holding you back and how much relaxing it is worth.

Imagine a meeting that spent most of an hour on a question with a one-second answer. The company made two products, a few machines stood between them and the customer, and the slide asked how many of each to build next month. The team pulled up a demand forecast, argued about whether it was too high, and nudged a spreadsheet until the numbers looked reasonable. Everyone left with a plan that was defensible only as the one everybody could live with, not as the best one.

We are trained to predict, so a business question sends us reaching for data and a forecast. But that slide was not asking what demand would be. It was asking what to make, which is a different question with a different kind of answer: an exact one. You do not reach it with a forecast; instead, you write down three things and hand them to a solver.

--

--

Senior data scientist | PhD in Physics

See more from me

Data And Beyond
Data And Beyond

Published in Data And Beyond

Selected stories around Data Science, Machine Learning, Artificial Intelligence, Programming, and Technology topics. Writing guide: https://medium.com/data-and-beyond/how-to-write-for-data-and-beyond-b83ff0f3813e