How to Handle Optimization Problems
Easy examples with solutions and code
Published in
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…