Initializing help system before first use

XPRSsave, XPRSsaveas (SAVE)

XPRSsave, XPRSsaveas

SAVE


Purpose
Saves the current data structures, i.e. matrices, control settings and problem attribute settings to file and terminates the run so that optimization can be resumed later.
Synopsis
int XPRS_CC XPRSsave(XPRSprob prob);
int XPRS_CC XPRSsaveas(XPRSprob prob, const char *probname);
SAVE
Arguments
prob 
The current problem.
probname 
The name of the file (without .svf) to save to.
Example 1 (Library)
XPRSsave(prob);
Example 2 (Console)
SAVE
Further information
1. The data structures are written to the file problem_name .svf. Optimization may recommence from the same point when the data structures are restored by a call to XPRSrestore ( RESTORE). Note that the .svf files created are particular to the release of the Optimizer used to create them. They can only be read using the same release Optimizer as used to create them.
2. The function XPRSsaveas is equivalent to XPRSsave with the exception of allowing to adjust the name of the file created. The name of the file must not be greater than MAXPROBNAMELENGTH.
Related topics