Initializing help system before first use

XSLPgetdblcontrol

XSLPgetdblcontrol


Purpose
Retrieve the value of a double precision problem control
Synopsis
int XPRS_CC XSLPgetdblcontrol(XSLPprob Prob, int Param, double *dValue);
Arguments
Prob 
The current SLP problem.
Param 
control (SLP or optimizer) whose value is to be returned.
dValue 
Address of a double precision variable to receive the value.
Example
The following example retrieves the value of the Xpress NonLinear control XSLP_CTOL and of the optimizer control XPRS_FEASTOL:
double CTol, FeasTol;
XSLPgetdblcontrol(Prob, XSLP_CTOL, &CTol);
XSLPgetdblcontrol(Prob, XPRS_FEASTOL, &FeasTol);
Further information
Both SLP and optimizer controls can be retrieved using this function. If an optimizer control is requested, the return value will be the same as that from XPRSgetdblcontrol.
Related topics