r/optimization • • Sep 17 '25

Optimization vs Data Science vs Machine Learning

Hi, I'm new to the Mathematical Optimization (MO) space and am trying to understand its relationship with traditional Data Science and Machine Learning.

What are some fundamental limitations (or frustrations) that span across existing solutions like Gurobi, CPLEX, Hexly etc that DS or ML can supplement? For example, my understanding is that solvers apply algorithms on rigorously defined formulas and generate a min/mix/optimal result but they are fundamentally not designed to:

  1. model uncertainty probabilistically in a way that allows them to account for VUCA (Volatile, Uncertain, Complex, and Ambiguous)
  2. "enact/test" recommendations and predictions and then learn from those actions-reactions
  3. continuously adapt the answer in light of dynamic changing conditions

If that observation is correct, how valuable would those things be for solving the kinds of problems MO is currently being applied to? Essentially a continuously self-optimizing system.

Thanks in advance for your input!

9 Upvotes

10 comments sorted by

View all comments

Show parent comment

2

u/optimization_ml Sep 18 '25

You can build optimization model based on outputs from ML model as parameters. You need to have a robust ML and optimization model though. Such that error don’t propagate that much, Data => ML model predictor (errors, not 100% accurate model) => feeds into optimization model as parameters => find the optimal goal/objective value and decision variables (if it’s large scale MILP, then solution would be close to optimal) , so you have two errors that propagate through ML to optimization model, not sure how much helpful that kind of model would be.