XPRSgetintcontrol


Purpose
Enables users to recover the values of various integer control parameters
Synopsis
int XPRS_CC XPRSgetintcontrol(XPRSprob prob, int ipar, int *igval);
Arguments
prob 
The current problem.
ipar 
Control parameter whose value is to be returned. A full list of all controls may be found in Control Parameters, or from the list in the xprs.h header file.
igval 
Pointer to an integer where the value of the control will be returned.
Related Controls
See Control Parameters.
Example
The following obtains the value of DEFAULTALG and outputs it to screen:
int defaultalg;
...
XPRSmaxim(prob,"");
XPRSgetintcontrol(prob,XPRS_DEFAULTALG,&defaultalg);
printf("DEFAULTALG is %d\n",defaultalg);
Further information
Some control parameters, such as SCALING, are bitmaps. Each bit controls a different behavior. If set, bit 0 has value 1, bit 1 has value 2, bit 2 has value 4, and so on.
Related topics
XPRSsetintcontrol, XPRSgetdblcontrol, XPRSgetstrcontrol.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.