XPRBnewcut
XPRBnewcut |
Purpose
Synopsis
XPRBcut XPRBnewcut(XPRBprob prob, int qrtype, int mtype);
Arguments
prob
|
Reference to a problem.
|
||||||
qrtype
|
Type of the cut:
|
||||||
mtype
|
Cut classification or identification number.
|
Return value
Example
The example shows how to create a new equality cut.
XPRBcut cut1; XPRBprob expl1; expl1 = XPRBnewprob("cutexample"); cut1 = XPRBnewcut(expl1, XPRB_E, 1);
Further information
This function creates a new cut and returns the reference to this cut,
i.e. the cut's model name. It has to be called before
XPRBaddcutterm is used to add terms to the cut.
Related topics