Initializing help system before first use

XPRBgetincvars

XPRBgetincvars


Purpose
Get the type of a constraint.
Synopsis
int XPRBgetincvars(XPRBctr ctr);
Argument
ctr 
Reference to a previously created constraint.
Return value
an ordinary constraint;
an include vars special constraint;
-1 
an error has occurred.
Example
XPRBprob prob;
XPRBctr ctr1;
int mcstat;
   ...
ctr1 = XPRBnewctr(prob, "r1", XPRB_N);
mcstat = XPRBgetincvars(ctr1);
This determines whether ctr1 is an ordinary constraint or an include vars special constraint.
Further information
This function indicates whether the given constraint is an include vars special constraint or an ordinary constraint.
Related topics