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

© 2001-2020 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.