SOS Attributes

SOS Attributes

These are SOS attributes, meaning that they are associated with specific special-ordered set 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, SOS attributes are retrieved by invoking thegetmethod on an SOS 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