XPRSsave

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);
SAVE
Argument
prob 
The current problem.
Example 1 (Library)
XPRSsave(prob);
Example 2 (Console)
SAVE
Further information
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). Under such circumstances, the file problem_name.sol and, if a branch and bound search is in progress, the global files problem_name.glb and problem_name.ctp are also required. These files will be present after execution of XPRSsave (SAVE), but will be modified by subsequent optimization, so no optimization calls may be made after the call to XPRSsave (SAVE). 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.
Related topics
XPRSrestore (RESTORE).


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