XPRBsetcutid


Purpose
Set the classification or identification number of a cut.
Synopsis
int XPRBsetcutid(XPRBcut cut, int id);
Arguments
cut 
Reference to a previously created cut.
id 
Classification or identification number.
Return value
0 if function executed successfully, 1 otherwise.
Example
Set the classification or identification number of the cut cut1 to 10.
XPRBcut cut1;
XPRBprob expl1;
expl1 = XPRBnewprob("cutexample");
cut1 = XPRBnewcut(expl1, XPRB_E, 1);
XPRBsetcutid(cut1, 10); 
Further information
This function changes the classification or identification number of a previously defined cut. This change does not have any effect on the cut definition in Xpress-Optimizer if the cut has already been added to the matrix with the function XPRBaddcuts.
Related topics
XPRBnewcut, XPRBgetcutid, XPRBsetcuttype.


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