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

© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.