XPRBprintctr


Purpose
Print out a constraint.
Synopsis
int XPRBprintctr(XPRBctr ctr);
Argument
ctr 
Reference to a constraint.
Return value
0 if function executed successfully, 1 otherwise.
Example
The following prints out the constraint ctr2.
XPRBprob prob;
XPRBctr ctr2;
XPRBarrvar ty1;
   ...
ty1 = XPRBnewarrvar(prob, 5, XPRB_PL, "arry1", 0, 500);
ctr2 = XPRBnewsum(prob, "r2", ty1, XPRB_E, 9);
XPRBprintctr(ctr2);
Further information
This function prints out a constraint in LP format. It is not available in the student version.
Related topics
XPRBexportprob, XPRBprintprob, XPRBprintarrvar, XPRBprintvar.


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