XPRBdelctr


Purpose
Delete a constraint.
Synopsis
int XPRBdelctr(XPRBctr ctr);
Argument
ctr 
BCL reference to a constraint.
Return value
0 if function executed successfully, 1 otherwise.
Example
XPRBprob prob;
XPRBctr ctr1;
   ...
ctr1 = XPRBnewctr(prob, "r1", XPRB_E);
XPRBdelctr(ctr1);
This deletes the constraint ctr1.
Further information
Delete a constraint from the given problem. If this constraint has previously been selected as the objective function (using function XPRBsetobj), the objective will be set to NULL.
Related topics
XPRBnewctr.


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