|
Get SOS information.
Parameters |
Description |
_LONG_T nsos |
The maximum number of SOS set members to retrieve. |
char sos_type[] |
Array containing the SOS type information for the sets. Possible values are
|
_LONG_T sos_set_no[] |
The sequence number of each SOS set. The length of this array must be at least equal to the total number of SOS sets. If you are not interested in the set numbers, you can set this argument to NULL. |
_LONG_T sos_set_elem[] |
In this array the members (columns) of each SOS set are listed sequentially. For example, if the first SOS set has 4 elements, then the first 4 entries in this array contain the column numbers of the members in this SOS set. The length of this array must be at least nsos. |
_LONG_T sos_len[] |
Length of each SOS set. The length of this array must be at least equal to the total number of SOS sets. |
double sos_ref[] |
The weight (or reference row value) of each SOS set member. The length of this array must be at least nsos. The positions in this array are defined in a similar way as in sos_set_elem. |
double sos_prior[] |
The priority of each SOS set. In case no priority is present, the value sos_prior[i] is set equal to -1 by AIMMS. The length of this array must be at least equal to the total number of SOS sets. If you are not interested in priority settings, you can set this argument to NULL. |
The GetSOSData method
The GetSOSData method is used to retrieve SOS information from AIMMS. This method should only be used by MIP solvers.