Initializing help system before first use

EstimateLinearNonzeros Method

Estimate the number of non-zeros that we will have to add when creating rows new rows. This can be used to compute an initial size for the rowcoef and colinds buffers.

Namespace:  Optimizer
Assembly: xprsdn (in xprsdn.dll) Version: 45.01.02+1f9fd7ff9a8620394fec1839699751312debed40
Syntax
C#
public static int EstimateLinearNonzeros(
	int rows,
	XPRSprob prob
)

Parameters

rows   Int32
Expected number of rows to add.
prob   XPRSprob
The problem to which rows will be added

Return Value

Int32
The expected number of non-zeros.
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.