XPRS_nml_getnamecount
XPRS_nml_getnamecount |
Purpose
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.
XPRS_nlm_getnamecount returns the number of names in the namelist.
Synopsis
int XPRS_CC XPRS_nml_getnamecount(XPRSnamelist nml, int* count);
Arguments
nml
|
The namelist object.
|
count
|
Pointer to a variable into which shall be written the number of names.
|
Example
XPRSnamelist mylist; int count; ... XPRS_nml_getnamecount(mylist,&count); printf("There are %d names", count);
Related topics
None.