Purpose
Set the value of an integer problem control
Synopsis
int XPRS_CC XSLPsetintcontrol(XSLPprob Prob, int Param, int iValue);
Arguments
|
Prob
|
The current SLP problem.
|
|
Param
|
control (SLP or optimizer) whose value is to be returned.
|
|
iValue
|
The value to be set.
|
Example
The following example sets the value of the Xpress-SLP control
XSLP_ALGORITHM and
of the optimizer control
XPRS_DEFAULTALG:
XSLPsetintcontrol(Prob, XSLP_ALGORITHM, 934);
XSLPsetintcontrol(Prob, XPRS_DEFAULTALG, 3);
Further information
Both SLP and optimizer controls can be set using this function. If
an optimizer control is requested, the return value will be the same as that from
XPRSsetintcontrol.
Related topics
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.