XSLPgetnames
XSLPgetnames |
Purpose
This function is deprecated and may be removed in future releases. Retrieve the names of a set of Xpress NonLinear entities
Synopsis
int XPRS_CC XSLPgetnames(XSLPprob Prob, int Type, char *cNames, int First, int Last);
Arguments
|
Prob
|
The current SLP problem.
|
||||||
|
Type
|
Type of entity. The following are defined:
For compatibility with
XSLPgetindex, values for
Type of 1 (rows) and 2 (columns) are also possible.
|
||||||
|
cNames
|
Character buffer to receive the names. Each name will be terminated by a null character. |
||||||
|
First
|
Index of first item to be returned.
|
||||||
|
Last
|
Index of last item to be returned.
|
Example
The following example retrieves the names of internal function numbers 3 and 4.
char ch, Buffer[60];
XSLPgetnames(Prob, XSLP_INTERNALNAMES, Buffer, 3, 4);
ch = Buffer;
printf("\nFunction #3 is %s",ch);
for (;;ch++) if (*ch == '\0') break;
ch++;
printf("\nFunction #4 is %s",ch);
Names are returned in
Buffer separated by null characters.
ch finds the null character and hence the start of the next name.
Further information
First and
Last always count from 1.
Related topics
© 2001-2020 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.
