Initializing help system before first use

# problem.getcoefformula

Purpose
This subroutine is deprecated and will be removed in a future release. Use problem.slpGetCoefStr instead.
Retrieve a single nonlinear matrix coefficient as a formula split into tokens
Synopsis
`(factor, tokencount, type, value) = problem.getcoefformula(row, col, parsed, maxtypes)`
Arguments

row | The row index for the coefficient.
col | The column index for the coefficient.
parsed | Integer indicating whether the formula of the item is to be returned in internal unparsed format ( parsed=False) or parsed (reverse Polish) format ( parsed=True).
maxtypes | Maximum number of tokens to return, i.e., length of the type and value arrays.

Return value

factor | The value of the constant factor multiplying the formula in the coefficient.
tokencount | Number of tokens returned in type and value.
type | Array holding the token types for the formula.
value | Array of values corresponding to type.

Example
The following example displays the formula for the coefficient in row 2, column 3 in unparsed form:

    (fac, tc, type, value) = p.getcoefformula(2, 3, 0, 10)

Further information

The type and value arrays are terminated by an xslp_op_eof token.

If the requested coefficient is constant, then factor will be set to 1.0 and the value will be returned with token type xslp_op_con.

Related topics
problem.slpChgCoefStr, problem.slpChgCoef, problem.slpGetCoefStr
Parent Topic Deprecated functionality

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