XSLPsaveas
XSLPsaveas |
Purpose
Save the Xpress NonLinear problem to a named file
Synopsis
int XPRS_CC XSLPsaveas(XSLPprob Prob, const char *Filename);
Arguments
Prob
|
The current SLP problem.
|
Filename
|
The name of the file (without extension) in which the problem is to be saved.
|
Example
The following example saves the current problem to files named
MyProb.svf and
MyProb.svx.
XSLPsaveas(Prob,"MyProb");
Further information
The problem is saved into two files filename.svf which is the optimizer save file, and filename.svx which is the SLP save file, where filename is the second argument to the function. Both files are used in a full save; only the svx file is required when the underlying optimizer problem is not being saved.
Normally XSLPsaveas 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