Initializing help system before first use

XPRBnewidxset

Purpose
Create a new index set.
Synopsis
XPRBidxset XPRBnewidxset(XPRBprob prob, const char *name, int maxsize);
Arguments
prob 
Reference to a problem.
name 
Name of the index set to be created. May be NULL if not required.
maxsize 
Maximum size of the index set.
Return value
Reference to the new index set if function executed successfully, NULL otherwise.
Example
The following defines an index set with space for 100 entries.
XPRBprob prob;
XPRBidxset iset;
   ...
iset = XPRBnewidxset(prob, "Set", 100);
Further information
This function creates a new index set. Note that the indicated size maxsize corresponds to the space allocated initially to the set, but it is increased dynamically if need be. If the indicated set name is already in use, BCL adds an index to it. If no name is given, BCL generates a default name starting with IDX. (The generation of unique names will only take place if the names dictionary is enabled, see XPRBsetdictionarysize.)
Related topics

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