XSLPreminim
PurposeContinue the minimization of an SLP problemSynopsisint XPRS_CC XSLPreminim(XSLPprob Prob, char *Flags);Arguments
Prob The current SLP problem. Flags These have the same meaning as for XSLPminim.ExampleThe following example optimizes the SLP problem for up to 10 SLP iterations. If it has not converged, it saves the file and continues for another 10.int Status; XSLPsetintcontrol(Prob, XSLP_ITERLIMIT, 10); XSLPminim(Prob,""); XSLPgetintattrib(Prob, XSLP_STATUS, &Status); if (Status & XSLP_MAXSLPITERATIONS) { XSLPsave(Prob); XSLPsetintcontrol(Prob, XSLP_ITERLIMIT, 20); XSLPreminim(Prob,""); }Further informationThis allows Xpress-SLP to continue the minimization of a problem after it has been terminated, without re-initializing any of the parameters. In particular, the iteration count will resume at the point where it previously stopped, and not at 1.Related topics
If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.