XPRSrestore

RESTORE


Purpose
Restores the Optimizer's data structures from a file created by XPRSsave (SAVE). Optimization may then recommence from the point at which the file was created.
Synopsis
int XPRS_CC XPRSrestore(XPRSprob prob, const char *probname);
RESTORE [probname]
Arguments
prob 
The current problem.
probname 
A string of up to 200 characters containing the problem name.
Example 1 (Library)
XPRSrestore(prob,"")
Example 2 (Console)
RESTORE
Further information
1. This routine restores the data structures from the file problem_name.svf that was created by a previous execution of XPRSsave (SAVE). The file problem_name.sol is also required and, if recommencing optimization in a global search, the files problem_name.glb and problem_name.ctp are required too. Note that .svf files 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. (Console) The main use for XPRSsave (SAVE) and XPRSrestore (RESTORE) is to enable the user to interrupt a long optimization run using CTRL-C, and save the Optimizer status with the ability to restart it later from where it left off. It might also be used to save the optimal status of a problem when the user then intends to implement several uses of XPRSalter (ALTER) on the problem, re-optimizing each time from the saved status.
Related topics
XPRSalter (ALTER), XPRSsave (SAVE).


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