Initializing help system before first use

XPRSgetcutlist

Purpose
Retrieves a list of cut pointers for the cuts active at the current node.
Topic area
Synopsis
int XPRS_CC XPRSgetcutlist(XPRSprob prob, int cuttype, int interp, int *p_ncuts, int maxcuts, XPRScut cutind[]);
Arguments
prob 
The current problem.
cuttype 
User defined 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;
treat cut types as numbers;
treat cut types as bit-vectors (compare Section Bit-vector controls) - get cut if any bit matches any bit set in cuttype;
treat cut types as bit-vectors (compare Section Bit-vector controls) - get cut if all bits match those set in cuttype.
p_ncuts 
Pointer to the integer where the number of active cuts of type cuttype will be returned.
maxcuts 
Maximum number of cuts to be retrieved.
cutind 
Array of length maxcuts where the pointers to the cuts will be returned.
Further information
If the number of active cuts is greater than maxcuts, then maxcuts cuts will be returned and p_ncuts will be set to the number of active cuts. If p_ncuts is less than maxcuts, then only p_ncuts positions will be filled in cutind.
Related topics

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.