Initializing help system before first use

XSLPsave

XSLPsave


Purpose
Save the Xpress NonLinear problem to file
Synopsis
int XPRS_CC XSLPsave(XSLPprob Prob);
Argument
Prob 
The current SLP problem.
Example
The following example saves the current problem to files named prob1.svf and prob1.svx.
XPRSprob xprob;
XSLPgetptrattrib(Prob, XSLP_XPRSPROBLEM, &xprob);
XPRSsetprobname(xprob, "prob1");
XSLPsave(Prob);

Further information

The problem is saved into two files prob.svf which is the optimizer save file, and prob.svx which is the SLP save file, where prob is the name of the problem. Both files are used in a full save; only the svx file is required when the underlying optimizer problem is not being saved.

Normally XSLPsave saves both the Xpress NonLinear problem and the underlying optimizer problem. If only the Xpress NonLinear problem is required, set the integer control variable XSLP_CONTROL appropriately.


Related topics