Initializing help system before first use

XPRS_nml_removenames

XPRS_nml_removenames


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_nml_removenames will remove the specified names from the name list. Any subsequent names will be moved down to replace the removed names.
Synopsis
int XPRS_CC XPRS_nml_removenames(XPRSnamelist nml, int firstIndex, int lastIndex);
Arguments
nml 
The name list from which you want to remove names. Must be an object previously returned by XPRS_nml_create, as XPRSnamelist objects returned by other functions are immutable and cannot be changed.
firstIndex 
The index of the first name to remove. Note that indices for names in a name list always start from 0.
lastIndex 
The index of the last name to remove.
Example
XPRS_nml_removenames(mylist, 3, 5);
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.