Initializing help system before first use

XPRBprintarrvar

XPRBprintarrvar


Purpose
Print out an array of variables.
Synopsis
int XPRBprintarrvar(XPRBarrvar av);
Argument
av 
Reference to an array of variables.
Return value
0 if function executed successfully, 1 otherwise.
Example
XPRBprob prob;
XPRBarrvar ty1;
   ...
ty1 = XPRBnewarrvar(prob, 5, XPRB_PL, "arry1", 0, 500);
XPRBprintarrvar(ty1);
The above prints names and bounds for all variables in the array ty1.
Further information
This function prints out all variables in the array (names and bounds or solution values). It is not available in the student version.
Related topics