Initializing help system before first use

presolverow

Purpose
Presolves a row formulated in terms of the original variables such that it can be added to a presolved matrix.
Synopsis
presolverow(
prob,
rowtype,
origcolind,
origrowcoef,
origrhs,
norigcoefs = x_max_vec_length(origcolind, origrowcoef)
)

Arguments
prob 
The current problem.
rowtype 
The type of the row:
L
indicates a <= row;
G
indicates a >= row.
origcolind 
Integer array of length norigcoefs containing the column indices of the row to presolve.
origrowcoef 
Double array of length norigcoefs containing the non-zero coefficients of the row to presolve.
origrhs 
The right-hand side constant of the row to presolve.
norigcoefs 
Number of elements in the origcolind and origrowcoef arrays.
Return value
A list with the following elements:
ncoefs
The number of elements in the colind and rowcoef arrays.
colind
The column indices of the presolved row
rowcoef
The coefficients of the presolved row
rhs
The presolved right-hand side.
status
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.

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