Initializing help system before first use

XPRSrestore (RESTORE)

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, const char *flags);
RESTORE [probname] [flags]
Arguments
prob 
The current problem.
probname 
A string of up to MAXPROBNAMELENGTH characters containing the problem name.
flags 
Force the restoring of a save file even if it is from a different version.
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). 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.
3. The use of the 'f' flag is not recommended and can cause unexpected results.
Related topics