XSLPitemname
XSLPitemname |
int XPRS_CC XSLPitemname(XSLPprob Prob, int Type, double Value, char *Buffer);
Prob
|
The current SLP problem.
|
Type
|
Integer holding the type of Xpress NonLinear entity. This can be any one of the token types described in the section on Formula Parsing.
|
Value
|
Double precision value holding the index or value of the token. The use and meaning of the value is as described in the section on Formula Parsing.
|
Buffer
|
Character buffer to hold the result, which will be terminated with a null character.
|
int n, Type[10]; double Value[10]; char Buffer[60]; int TokenCount; XSLPgetcoefformula(Prob, 2, 3, &Factor, 0, 10, &TokenCount, Type, Value); printf("\n"); for (n=0;Type[n] != XSLP_EOF;n++) { XSLPitemname(Prob, Type[n], Value[n], Buffer); printf(" %s", Buffer); }
If a name has not been provided for an Xpress NonLinear entity, then an internally-generated name will be used.
Numerical values will be formatted as fixed-point or floating-point depending on their size.
© 2001-2019 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.