XSLPgetcoefformula, XPRSslpgetcoefformula
int XPRS_CC XSLPgetcoefformula(XSLPprob prob, int row, int col, double *p_factor, int parsed, int maxtypes, int *p_ntypes, int[] type, double[] value);
prob
|
The current SLP problem.
|
row
|
Integer holding the row index for the coefficient.
|
col
|
Integer holding the column index for the coefficient.
|
p_factor
|
Address of a double precision variable to receive the value of the constant factor multiplying the formula in the coefficient.
|
parsed
|
Integer indicating whether the formula of the item is to be returned in internal unparsed format (
parsed=0) or parsed (reverse Polish) format (
parsed=1).
|
maxtypes
|
Maximum number of tokens to return, i.e. length of the
type and
value arrays.
|
p_ntypes
|
Number of tokens returned in type and value.
|
type
|
Integer array to hold the token types for the formula.
|
value
|
Double array of values corresponding to
type.
|
int n, type[10]; double value[10]; double factor; int ntypes; XSLPgetcoefformula(prob, 2, 3, &factor, 0, 10, &ntypes, type, value); for (n=0;type[n] != XSLP_EOF;n++) printf("\nType=%-3d value=%lg",type[n],value[n]);
© 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.