Initializing help system before first use

XPRBdelctr

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. If the constraint occurs in a previously saved basis that is to be (re)loaded later on you should change its type to XPRB_N using XPRBsetctrtype instead of entirely deleting the constraint.
Related topics

© 2001-2019 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.