XPRSsetdefaults


Purpose
Sets all controls to their default values. Must be called before the problem is read or loaded by XPRSreadprob, XPRSloadglobal, XPRSloadlp, XPRSloadqglobal, XPRSloadqp.
Synopsis
int XPRS_CC XPRSsetdefaults(XPRSprob prob);
Argument
prob 
The current problem.
Example
The following turns off presolve to solve a problem, before resetting the control defaults, reading it and solving it again:
XPRSsetintcontrol(prob, XPRS_PRESOLVE, 0);
XPRSmaxim(prob, "g");
XPRSwriteprtsol(prob);
XPRSsetdefaults(prob);
XPRSreadprob(prob);
XPRSmaxim(prob, "g");
Related topics
XPRSsetdefaultcontrol, XPRSsetintcontrol, XPRSsetdblcontrol, XPRSsetstrcontrol.


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