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

© 2001-2019 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.