PresolveRow Method (Char, Int32, Int32[], Double[], Double, Int32, Int32, Int32[], Double[], Double, Int32)
Namespace: Optimizer
Assembly: xprsdn (in xprsdn.dll) Version: 42.01.04
public void PresolveRow( char rowtype, int norigcoefs, int[] origcolind, double[] origrowcoef, double origrhs, int maxcoefs, out int p_ncoefs, int[] colind, double[] rowcoef, out double p_rhs, out int p_status )
Parameters
- rowtype
-
Type:
SystemChar
The type of the row:- L: indicates a <= row;
- G: indicates a >= row.
- norigcoefs
-
Type:
SystemInt32
Number of elements in the origcolind and origrowcoef arrays. - origcolind
-
Type:
SystemInt32
Integer array of length norigcoefs containing the column indices of the row to presolve. - origrowcoef
-
Type:
SystemDouble
Double array of length norigcoefs containing the non-zero coefficients of the row to presolve. - origrhs
-
Type:
SystemDouble
The right-hand side constant of the row to presolve. - maxcoefs
-
Type:
SystemInt32
Maximum number of elements to return in the colind and rowcoef arrays. - p_ncoefs
-
Type:
SystemInt32
Pointer to the integer where the number of elements in the colind and rowcoef arrays will be returned. - colind
-
Type:
SystemInt32
Integer array which will be filled with the column indices of the presolved row. It must be allocated to hold at least COLS elements. - rowcoef
-
Type:
SystemDouble
Double array which will be filled with the coefficients of the presolved row. It must be allocated to hold at least COLS elements. - p_rhs
-
Type:
SystemDouble
Pointer to the double where the presolved right-hand side will be returned. - p_status
-
Type:
SystemInt32
Status of the presolved row:- -3: Failed to presolve the row due to presolve dual reductions;
- -2: Failed to presolve the row due to presolve duplicate column reductions;
- -1: Failed to presolve the row due to an error. Check the Optimizer error code for the cause;
- 0: The row was successfully presolved;
- 1: The row was presolved, but may be relaxed.
- TSP
© 2001-2023 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.