Initializing help system before first use

XPRSsetintcontrol, XPRSsetintcontrol64

XPRSsetintcontrol, XPRSsetintcontrol64


Purpose
Sets the value of a given integer control parameter.
Synopsis
int XPRS_CC XPRSsetintcontrol(XPRSprob prob, int ipar, int isval);

int XPRS_CC XPRSsetintcontrol64(XPRSprob prob, int ipar, XPRSint64 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
Example
The following sets the control PRESOLVE to 0, turning off the presolve facility prior to optimization:
XPRSsetintcontrol(prob, XPRS_PRESOLVE, 0);
XPRSlpoptimize(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