Photo by CHUTTERSNAP on Unsplash

How to Handle Optimization Problems

Easy examples with solutions and code

Hennie de Harder
Towards Data Science
11 min readMar 27, 2022

--

Variables, Constraints and Objective

In order to define an optimization problem, you need three things: variables, constraints and an objective. The variables can take different values, the solver will try to find the best values for the variables. Constraints are things that are not allowed…

--

--

📈 Data Scientist with a passion for math 💻 Currently working at IKEA and BigData Republic 💡 I share tips & tricks and fun side projects