XPRBgetarrvarname
XPRBgetarrvarname |
Purpose
Synopsis
const char *XPRBgetarrvarname(XPRBarrvar av);
Argument
av
|
BCL reference to an array of variables.
|
Return value
Name of the array if function executed successfully,
NULL otherwise.
Example
XPRBprob prob; XPRBarrvar ty1; ... ty1 = XPRBnewarrvar(prob, 10, XPRB_PL, "arry1", 0, 500); printf("%s\n", XPRBgetarrvarname(ty1));
This prints the output
arry1, the array variable name.
Further information
This function returns the name of an array of variables. If the name was not set by the user, this is a default name generated by BCL.
Related topics