General Constraint Attributes

General Constraint Attributes

These are general constraint attributes, meaning that they are associated with specific general constraints in the model. You should use one of the variousgetroutines to retrieve the value of an attribute. These are described at the beginning ofthis section). For the object-oriented interfaces, general constraint attributes are retrieved by invoking thegetmethod on a constraint object. For attributes that can be modified directly by the user, you can use one of the varioussetmethods.

Attempting to query an attribute that is not available will produce an error. In C, the attribute query routine will return aGRB_ERROR_DATA_NOT_AVAILABLEerror code. The object-oriented interfaces will throw an exception.



Subsections