Purpose
Retrieves a list of cut pointers for the
cuts active at the current
node.
Synopsis
int XPRS_CC XPRSgetcutlist(XPRSprob prob, int itype, int interp, int *ncuts, int size, XPRScut mcutind[]);
Arguments
prob
|
The current problem.
|
itype
|
Cut type of the cuts to be returned. A value of -1 indicates return all active cuts.
|
interp
|
Way in which the cut type is interpreted:
-1
|
get all cuts;
|
1
|
treat cut types as numbers;
|
2
|
treat cut types as bit maps - get cut if any bit matches any bit set in itype;
|
3
|
treat cut types as bit maps - get cut if all bits match those set in itype.
|
|
ncuts
|
Pointer to the integer where the number of active cuts of type itype will be returned.
|
size
|
Maximum number of cuts to be retrieved.
|
mcutind
|
Array of length size where the pointers to the cuts will be returned.
|
Further information
If the number of active cuts is greater than size, then size
cuts will be returned and ncuts will be set to the number of active cuts. If
ncuts is less than size, then only ncuts positions will be filled in
mcutind.
Related topics
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.