Setting Up Simple Constraints of Controlling Variables

Constraints for variables enable the user to set simple conditions imposed on values of controlling variables. A condition is considered simple if it meet the following criteria:

For example, x1 ≥ 25 or 100 ≤ x2 ≤ 254, where x1 and x2  are controlling variables with the coefficient 1.

To set up simple constraints of controlling variables, use the Constraints for Variables page in the linear optimization block editing wizard:

Specify also the upper and lower constraint limits. Lower limit is a minimum allowed value of controlling variable, upper limit is a maximum allowed value of controlling variable. The following can be set for each controlling variable: only lower limit, only upper limit, both limits or no constraints.

For example, the constraint x1 ≥ 25 is set using the upper limit. The constraint 100 ≤ x2 ≤ 254 requires to set the upper and the lower limits.

Too enter simple constraints of controlling variables:

  1. Select a data source to store values of upper and lower limits. This data source should contain all dimensions of controlling variables selected during criterion function setup.

In the drop-down menu select the object that will be used as a data source.

  1. Set selection by fixed dimensions of data source. All data source dimensions, except for those used as dimensions in controlling variables, are included in fixed dimensions.

As a result, constraints of controlling variables are set.

To view the criterion function, click the Show Function External View button.

See also:

Inserting and Setting Up Linear Optimization Blocks