XSLPremaxim
 XSLPremaxim | 
   
  Purpose
 
 Continue the maximization of an SLP problem
 
  Synopsis
 
int XPRS_CC XSLPremaxim(XSLPprob Prob, char *Flags);
 
  Arguments
 
| 
     
     Prob 
       | 
   
     
     The current SLP problem.
       | 
  
| 
     
     Flags 
       | 
   
     
     These have the same meaning as for
     XSLPmaxim.
       | 
  
  Example
 
 The 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 information
 
 This allows Xpress NonLinear 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
 
