XPRS_nml_copynames
XPRS_nml_copynames |
int XPRS_CC XPRS_nml_copynames(XPRSnamelist dst, XPRSnamelist src);
dst
|
The namelist object to copy names to. Any names already in this name list will be removed. Must be an object previously returned by
XPRS_nml_create.
|
src
|
The namelist object from which all the names should be copied.
|
XPRSprob prob; XPRSnamelist rnames, rnames_on_prob; ... /* Create a namelist */ XPRS_nml_create(&rnames); /* Get a namelist through which we can access the row names */ XPRSgetnamelistobject(prob,1,&rnames_on_prob); /* Now copy these names from the immutable 'XPRSprob' namelist to another one */ XPRS_nml_copynames(rnames,rnames_on_prob); /* The names in the list can now be modified then put to some other use */
© 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.