XPRBgetsosname
XPRBgetsosname |
Purpose
Synopsis
const char *XPRBgetsosname(XPRBsos sos);
Argument
sos
|
Reference to a previously created SOS.
|
Return value
Name of the SOS if function executed successfully,
NULL otherwise.
Example
XPRBprob prob; XPRBsos set1; ... set1 = XPRBnewsos(prob, "sos1", XPRB_S1); printf("%s\n", XPRBgetsosname(set1));
The prints "
sos1" as output.
Further information
This function returns the name of a SOS. If the user has not defined a name the default name generated by BCL is returned.
Related topics