XSLPsave


Purpose
Save the Xpress-SLP 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-SLP problem and the underlying optimizer problem. If only the Xpress-SLP problem is required, set the integer control variable XSLP_CONTROL appropriately.


Related topics
XSLP_CONTROL, XSLPrestore XSLPsaveas


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.