XPRBgetcuttype


Purpose
Get the type of a cut.
Synopsis
int XPRBgetcuttype(XPRBcut cut);
Argument
cut 
Reference to a previously created cut.
Return value
XPRB_L 
Maths/leq.png (inequality)
XPRB_G 
Maths/geq.png (inequality)
XPRB_E 
= (equation)
-1 
An error has occurred,
Example
Get the type of cut1.
XPRBcut cut1;
int rtype;
XPRBprob expl1;
expl1 = XPRBnewprob("cutexample");
cut1 = XPRBnewcut(expl1, XPRB_E, 1);
rtype = XPRBgetcuttype(cut1);
Further information
This function returns the type of the given cut.
Related topics
XPRBnewcut, XPRBgetcutid, XPRBgetcutrhs, XPRBsetcuttype.


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