Initializing help system before first use

GetRows Method

Returns the constraints for a branch of a user branching object.

Namespace:   Optimizer
Assembly:  xprsdn (in xprsdn.dll) Version: 44.01.01
Syntax
C#
public int GetRows(
	int branch,
	int maxrows,
	out int p_ncoefs,
	int maxcoefs,
	char[] rowtype,
	double[] rhs,
	int[] start,
	int[] colind,
	double[] rowcoef
)

Parameters

branch
Type:  System.Int32
The number of the branch to get the constraints from.
maxrows
Type:  System.Int32
Maximum number of rows to return.
p_ncoefs
Type:  System.Int32
Memory location where the number of non zero coefficients in the constraints should be returned.
maxcoefs
Type:  System.Int32
Maximum number of non zero coefficients to return.
rowtype
Type:  System.Char
Character array of length maxrows where the types of the rows will be returned:
  • L: Less than type.
  • G: Greater than type.
  • E: Equality type.
rhs
Type:  System.Double
Double array of length maxrows where the right hand side values will be returned.
start
Type:  System.Int32
Integer array of length maxrows which will be filled with the offsets of the colind and rowcoef arrays of the start of the non zero coefficients in the returned constraints.
colind
Type:  System.Int32
Integer array of length maxcoefs which will be filled with the column indices for the non zero coefficients.
rowcoef
Type:  System.Double
Double array of length maxcoefs which will be filled with the non zero coefficient values.

Return Value

Type:  Int32
Remarks
See Also

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