XSLPsetdefaultcontrol


Purpose
Set the values of one SLP control to its default value
Synopsis
int XPRS_CC XSLPsetdefaultcontrol(XSLPprob Prob, int Param);
Arguments
Prob 
The current SLP problem.
Param 
The number of the control to be reset to its default.
Example
The following example reads a problem from file, sets the XSLP_LOG control, optimizes the problem and then reads and optimizes another problem using the default setting.
XSLPreadprob(Prob, "Matrix1", "");
XSLPsetintcontrol(Prob, XSLP_LOG, 4);
XSLPmaxim(Prob, "");
XSLPsetdefaultcontrol(Prob,XSLP_LOG);
XSLPreadprob(Prob, "Matrix2", "");
XSLPmaxim(Prob, "");
Further information
This function cannot reset the optimizer controls. Use XPRSsetdefaults or XPRSsetdefaultcontrolas well to reset optimizer controls to their default values.
Related topics
XSLPsetdblcontrol, XSLPsetdefaults, XSLPsetintcontrol, XSLPsetstrcontrol


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.