XSLPsetdblcontrol
XSLPsetdblcontrol |
Purpose
Set the value of a double precision problem control
Synopsis
int XPRS_CC XSLPsetdblcontrol(XSLPprob Prob, int Param, double dValue);
Arguments
Prob
|
The current SLP problem.
|
Param
|
control (SLP or optimizer) whose value is to be returned.
|
dValue
|
Double precision value to be set.
|
Example
The following example sets the value of the Xpress NonLinear control
XSLP_CTOL and of the optimizer control
XPRS_FEASTOL:
XSLPsetdblcontrol(Prob, XSLP_CTOL, 0.001); XSLPgetdblcontrol(Prob, XPRS_FEASTOL, 0.005);
Further information
Both SLP and optimizer controls can be set using this function. If an optimizer control is set, the return value will be the same as that from
XPRSsetdblcontrol.
Related topics