XPRSsetintcontrol, XPRSsetintcontrol64
Purpose
Synopsis
int XPRS_CC XPRSsetintcontrol(XPRSprob prob, int control, int value);
int XPRS_CC XPRSsetintcontrol64(XPRSprob prob, int control, XPRSint64 value);
Arguments
|
prob
|
The current problem.
|
|
control
|
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.
|
|
value
|
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); XPRSlpoptimize(prob, "");
See also examples
addmipsol.c, ComplexUserFunctions.c, fixbv.c, knapsack.c, mipsolenum.c, mostviolated.c, Polygon_initialvalue.c, Polygon_textformula.c, Polygon_tokens.c, Polygon_userfunc.c, roundint.c, savesol.c, tableau.c, trimloss.c, tsp.c.
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-2025 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.
