Initializing help system before first use

# XSLPitemname

Purpose
Retrieves the name of an Xpress NonLinear entity or the value of a function token as a character string.
Topic area
Names Manager
Synopsis
`int XPRS_CC XSLPitemname(XSLPprob prob, int type, double value, char *buffer);`
Arguments

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 Xpress NonLinear Formulae.
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 Xpress NonLinear Formulae.
buffer | Character buffer to hold the result, which will be terminated with a null character.

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

    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);
    }

Further information
1. If a name has not been provided for an Xpress NonLinear entity, then an internally-generated name will be used.
2. Numerical values will be formatted as fixed-point or floating-point depending on their size.
Parent Topic Library functions and the programming interface

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