Purpose
Get the
RHS value of a
cut.
Synopsis
double XPRBgetcutrhs(XPRBcut cut);
Argument
cut
|
Reference to a previously created cut.
|
Return value
Right hand side (RHS) value (default 0).
Example
Get the RHS value of the cut
cut1.
XPRBcut cut1;
double rhs;
XPRBprob expl1;
expl1 = XPRBnewprob("cutexample");
cut1 = XPRBnewcut(expl1, XPRB_E, 1);
rhs = XPRBgetcutrhs(cut1);
Further information
This function returns the RHS value (= constant
term) of a previously defined cut. The default RHS value is 0.
Related topics
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.