XSLPremaxim
PurposeContinue the maximization of an SLP problemSynopsisint XPRS_CC XSLPremaxim(XSLPprob Prob, char *Flags);Arguments
Prob The current SLP problem. Flags These have the same meaning as for XSLPmaxim.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); XSLPmaxim(Prob,""); XSLPgetintattrib(Prob, XSLP_STATUS, &Status); if (Status & XSLP_MAXSLPITERATIONS) { XSLPsave(Prob); XSLPsetintcontrol(Prob, XSLP_ITERLIMIT, 20); XSLPremaxim(Prob,""); }Further informationThis allows Xpress-SLP to continue the maximization 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.