Initializing help system before first use

# XPRS_nml_copynames

Purpose
This subroutine is deprecated and will be removed in a future release. The names list API is scheduled for removal.
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_nml_copynames allows you to copy all the names from one name list to another. As name lists representing row/column names cannot be modified, XPRS_nml_copynames will be most often used to copy such names to a namelist where they can be modified, for some later use.
Topic area
Names Manager
Synopsis
`int XPRS_CC XPRS_nml_copynames(XPRSnamelist dest, XPRSnamelist src);`
Arguments

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

Example

    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 */

Related topics
XPRS_nml_create, XPRS_nml_addnames, XPRSgetnamelistobject.
Parent Topic Console and Library Functions

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