XPRSdelcpcuts
PurposeDuring the Branch and Bound search, cuts are stored in the cut pool to be applied at descendant nodes. These cuts may be removed from a given node using XPRSdelcuts, but if this is to be applied in a large number of cases, it may be preferable to remove the cut completely from the cut pool. This is achieved using XPRSdelcpcuts.Synopsisint XPRS_CC XPRSdelcpcuts(XPRSprob prob, int itype, int interp, int ncuts, XPRScut mcutind[]);
Arguments
prob The current problem. itype Cut type. interp Way in which the cut type is interpreted:
-1 drop all cuts; 1 treat cut types as numbers; 2 treat cut types as bit maps - delete if any bit matches any bit set in itype; 3 treat cut types as bit maps - delete if all bits match those set in itype. ncuts The number of cuts to delete. A value of -1 indicates delete all cuts. mcutind Array containing pointers to the cuts which are to be deleted. This array may be NULL if ncuts is -1, otherwise it has length ncuts.Related topics
If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.