XPRSsetintcontrol


Purpose
Sets the value of a given integer control parameter.
Synopsis
int XPRS_CC XPRSsetintcontrol(XPRSprob prob, int ipar, int isval);
Arguments
prob 
The current problem.
ipar 
Control parameter whose value is to be set. A full list of all controls may be found in Control Parameters, or from the list in the xprs.h header file.
isval 
Value to which the control parameter is to be set.
Related Controls
See Control Parameters.
Example
The following sets the control PRESOLVE to 0, turning off the presolve facility prior to optimization:
XPRSsetintcontrol(prob, XPRS_PRESOLVE, 0);
XPRSmaxim(prob, "");
Further information
Some of the integer control parameters, such as SCALING, are bitmaps, with each bit controlling different behavior. Bit 0 has value 1, bit 1 has value 2, bit 2 has value 4, and so on.
Related topics
XPRSgetintcontrol, XPRSsetdblcontrol, XPRSsetstrcontrol.


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