XPRBdelsos


Purpose
Delete a SOS.
Synopsis
int XPRBdelsos(XPRBsos sos);
Argument
sos 
Reference to a previously defined SOS of type 1 or 2.
Return value
0 if function executed successfully, 1 otherwise.
Example
The following deletes the SOS set1.
XPRBprob prob;
XPRBsos set1;
   ...
set1 = XPRBnewsos(prob, "sos1", XPRB_S1); 
XPRBdelsos(set1);
Further information
This function deletes a SOS without deleting the variables it consists of.
Related topics
XPRBaddsosarrel, XPRBaddsosel, XPRBdelsosel, XPRBnewsos.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.