XPRSsetdefaults
PurposeSets all controls to their default values. Must be called before the problem is read or loaded by XPRSreadprob, XPRSloadglobal, XPRSloadlp, XPRSloadqglobal, XPRSloadqp.Synopsisint XPRS_CC XPRSsetdefaults(XPRSprob prob);
Argument
prob The current problem.ExampleThe 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
If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.