Navigation:  Analysis Methods > Optimization >

Parameter constraints

PDF version of the documentation Print this Topic Previous pageReturn to chapter overviewNext page

Constrained optimization is the minimization of an objective function subject to constraints on the possible values of the independent variable.  Constraints can be either equality or inequality constraints and are specified in the special tab of the optimization document with time intervals in which they must be fulfilled. During the optimization of diagram parameters under the given constraints a penalty function is calculated to establish a measure of their violation and this function value is strived to the minimum. In the region where constraints are not violated this value is equal to zero. In our implementation the penalty function is determined by the formula

P = ∑k max (0, gk(x))2,

where x is a vector of diagram parameters and variables, and gk(x) ≤ 0 are the parameter constraints.

 

Constraints can be indicated in the tab "Constraints" of the optimization document. Remember when you write a constraint you can use only the identifiers of parameters and variables declared in the diagram.

 

 

To add a new parameters constraint, press  the button with the symbol plus on it. To remove some constraints, select them and press the button with the symbol minus.