Initializing help system before first use

XPRBgetidxelname

XPRBgetidxelname


Purpose
Get the name of an index.
Synopsis
const char *XPRBgetidxelname(XPRBidxset idx, int i);
Arguments
idx 
A BCL index set.
Index number.
Return value
Name of the i th element in the set if function executed successfully, NULL otherwise.
Example
XPRBprob prob;
XPRBidxset iset;
const char *name;
   ...
iset = XPRBnewidxset(prob, "Set", 100);
name = XPRBgetidxelname(iset, 0);
This defines an index set, iset, with space for 100 entries and retrieves the name of the index set element with sequence number 0.
Further information
An index element can be accessed either by its name or by its sequence number. This function returns the name of an index set element given its sequence number.
Related topics

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