Initializing help system before first use

GetCols Method (Int32[], Int32[], Double[], Int32, Int32, Int32, Int32)

Returns the nonzeros in the constraint matrix for the columns in a given range.

Namespace:   Optimizer
Assembly:  xprsdn (in xprsdn.dll) Version: 44.01.04
Syntax
C#
public void GetCols(
	int[] start,
	int[] rowind,
	double[] rowcoef,
	int maxcoefs,
	out int p_ncoefs,
	int first,
	int last
)

Parameters

start
Type:  System.Int32
Integer array which will be filled with the indices indicating the starting offsets in the rowind and rowcoef arrays for each requested column. It must be of length at least last-first+2. Column i starts at position start[i] in the rowind and rowcoef arrays, and has start[i+1]-start[i] elements in it. May be null if not required.
rowind
Type:  System.Int32
Integer array of length maxcoefs which will be filled with the row indices of the nonzero coefficents for each column. May be null if not required.
rowcoef
Type:  System.Double
Double array of length maxcoefs which will be filled with the nonzero coefficient values. May be null if not required.
maxcoefs
Type:  System.Int32
The size of the rowind and rowcoef arrays. This is the maximum number of nonzero coefficients that the Optimizer is allowed to return.
p_ncoefs
Type:  System.Int32
Pointer to an integer where the number of nonzero coefficients in the selected columns will be returned. If p_ncoefs exceeds maxcoefs, only the maxcoefs first nonzero coefficients will be returned. May be null if not required.
first
Type:  System.Int32
First column in the range.
last
Type:  System.Int32
Last column in the range.
Remarks
See Also

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