XPRSgetintcontrol, XPRSgetintcontrol64
XPRSgetintcontrol, XPRSgetintcontrol64 |
Purpose
Synopsis
int XPRS_CC XPRSgetintcontrol(XPRSprob prob, int ipar, int *igval);
int XPRS_CC XPRSgetintcontrol64(XPRSprob prob, int ipar, XPRSint64 *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 Chapter
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;
...
XPRSlpoptimize(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
