Skip to main content
  1. Posts/

Optimization-Model-Basics-Optimization-Mathema

172 words·1 min

Optimization-Model-Basics-Optimization-Mathema #

An Unconstrained optimization problem is an optimization problem where the objective function can be of any kind (linear or nonlinear) and there are no constraints. A linear program is an optimization problem with an objective function that is linear in the variables, and all constraints are also linear. A quadratic program is an optimization problem with an objective function that is quadratic in the variables (i.e. it may contain squares and cross products of the decision variables), and all constraints are linear. A nonlinear program is an optimization problem with an objective function that is an arbitrary nonlinear function of the decision variables, and the constraints can be linear or nonlinear. An optimization model’s variables can be accessed through its Variables property. For example, both linear and quadratic programs use variables of type LinearProgramVariable, which inherits from DecisionVariable and has an extra Cost property that represents the coefficient of the variable in the linear portion of the objective function. An optimization model’s constraints can be accessed through its Constraints property.