Set AllConstraints

AllConstraints

The predefined set AllConstraints contains the names of all constraints within an AIMMS model.

Set AllConstraints {
    SubsetOf   :  AllVariablesConstraints;
    Index      :  IndexConstraints;
}

Definition

The contents of the set AllConstraints is the collection of all symbolic constraint names defined within a particular model.

Updatability

The contents of the set can only be modified by adding or deleting constraints in the Model Explorer.

Note

The set AllConstraints or subsets thereof are typically used in the Constraints attribute of MathematicalProgram declared within an AIMMS model.

See also

The sets AllIdentifiers, AllVariables. Constraints are discussed in Constraint Declaration and Attributes, mathematical programs in MathematicalProgram Declaration and Attributes of the Language Reference.