Initializing help system before first use

# XPRSdelcpcuts

Purpose
During 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.
Topic area
Cuts
Synopsis
`int XPRS_CC XPRSdelcpcuts(XPRSprob prob, int cuttype, int interp, int ncuts, const XPRScut cutind[]);`
Arguments

prob | The current problem.
cuttype | User defined cut type to match against.
interp | Way in which the cut cuttype is interpreted:
-1 | match all cut types;
1 | treat cut types as numbers;
2 | treat cut types as bit-vectors (compare Section Bit-vector controls) - delete if any bit matches any bit set in cuttype;
3 | treat cut types as bit-vectors (compare Section Bit-vector controls) - delete if all bits match those set in cuttype.
ncuts | The number of cuts to delete. A value of -1 indicates delete all cuts.
cutind | Array of length ncuts containing pointers to the cuts which are to be deleted. This array may be NULL to delete all cuts, when ncuts should be -1.

Related topics
XPRSaddcuts, XPRSdelcuts, XPRSloadcuts, Section Working with the Cut Manager.
Parent Topic Console and Library Functions

© 2001-2026 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.