XPRS_nml_addnames
The XPRS_nml_* functions provide a simple, generic interface to lists of names, which may be names of rows/columns on a problem or may be a list of arbitrary names provided by the user. Use the XPRS_nml_addnames to add names to a name list, or modify existing names on a namelist.
int XPRS_CC XPRS_nml_addnames(XPRSnamelist nml, const char names[], int first, int last);
nml
|
The name list to which you want to add names. Must be an object previously returned by
XPRS_nml_create, as
XPRSnamelist objects returned by other functions are immutable and cannot be changed.
|
names
|
Character buffer containing the null-terminated string names. The length of an individual name (including the terminating
NUL) must not exceed 1MB.
|
first
|
The index of the first name to add/replace. Name indices in a namelist always start from 0.
|
last
|
The index of the last name to add/replace.
|
char mynames[0] = "fred\0jim\0sheila" ... XPRS_nml_addnames(nml,mynames,0,2);
© 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.