Adding Expression Constraints

  1. Select Administer > Optimization Modeler. The Optimization Modeler form is displayed.
  2. Select the required object.
  3. Click the Detail tab.
  4. Click Add Row.
  5. Specify this information in the Detail tab:
    Constraint Name
    The name of the constraint.
    Description
    The description of the constraint.
  6. Select the Expression Constraint in the Type field.
  7. Click the Define Definition icon corresponding to the Constraint Name. The Expression Constraints window is displayed.
  8. 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].

  9. Click OK.