Initializing help system before first use

# GetCPCuts(Cut[], Int32, Int64, Int32[], Char[], Int64[], Int32[], Double[], Double[]) Method

Returns cuts from the cut pool.
Namespace: Optimizer
Assembly: xprsdn (in xprsdn.dll) Version: 46.01.02+e8d9493ad804415424ae931ce2abaeb6c55a6d5a
Syntax
C#

    public void GetCPCuts(
    	Cut[] rowind,
    	int ncuts,
    	long maxcoefs,
    	int[] cuttype,
    	char[] rowtype,
    	long[] start,
    	int[] colind,
    	double[] cutcoef,
    	double[] rhs
    )

#### Parameters

rowind Cut
  Array of length ncuts containing the pointers to the cuts.
ncuts Int32
  Number of cuts to be returned.
maxcoefs Int64
  Maximum number of column indices of the cuts to be returned.
cuttype Int32
  Integer array of length ncuts where the cut types will be returned. May be null if not required.
rowtype Char
  Character array of length ncuts where the sense of the cuts ( L, G, or E) will be returned. May be null if not required.
start Int64
  Integer array of length ncuts+1 containing the offsets into the colind and cutcoef arrays. The last element indicates where an additional cut would start, if it were present. May be null if not required.
colind Int32
  Integer array of length maxcoefs where the column indices of the cuts will be returned. May be null if not required.
cutcoef Double
  Double array of length maxcoefs where the matrix values will be returned. May be null if not required.
rhs Double
  Double array of length ncuts where the right hand side elements for the cuts will be returned. May be null if not required.

See Also

#### Reference

XPRSprob Class
GetCPCuts Overload
Optimizer Namespace
Parent Topic GetCPCuts Method

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