Initializing help system before first use

XPRSloadcuts

XPRSloadcuts


Purpose
Loads cuts from the cut pool into the matrix. Without calling XPRSloadcuts the cuts will remain in the cut pool but will not be active at the node. Cuts loaded at a node remain active at all descendant nodes unless they are deleted using XPRSdelcuts.
Synopsis
int XPRS_CC XPRSloadcuts(XPRSprob prob, int itype, int interp, int ncuts, const XPRScut mcutind[]);
Arguments
prob 
The current problem.
itype 
Cut type.
interp 
The way in which the cut type is interpreted:
-1 
load all cuts;
treat cut types as numbers;
treat cut types as bit maps - load cut if any bit matches any bit set in itype;
treat cut types as bit maps - 0 load cut if all bits match those set in itype.
ncuts 
Number of cuts to load. A value of -1 indicates load all cuts of type itype.
mcutind 
Array containing pointers to the cuts to be loaded into the matrix. This array may be NULL if ncuts is -1, otherwise it has length ncuts. Any indices of -1 will be ignored so that the array mindex returned from XPRSstorecuts can be passed directly to XPRSloadcuts.
Related topics