Adding Expression Constraints
- Select Administer > Optimization Modeler. The Optimization Modeler form is displayed.
- Select the required object.
- Click the Detail tab.
- Click Add Row.
- Specify this information in the Detail tab:
- Constraint Name
- The name of the constraint.
- Description
- The description of the constraint.
- Select the Expression Constraint in the Type field.
- Click the Define Definition icon corresponding to the Constraint Name. The Expression Constraints window is displayed.
- Specify this information:
- LHS Expression
- The expression on the left-hand side.
- RHS Expression
-
The expression on the right- hand side.
Note: The expression can include variables, parameters, or literal values.
- Operator
- Select the required comparison operator.
Note: Multiplication and division between Optimization variables are not supported.Eg : [SODIUM.D.PVALUE] * [ALIAS_CODE1.BakingSoda.D.QTYMASS]. [OPTVAR1.VALUE] / [SODIUM.D.PVALUE].
- Click OK.