Initializing help system before first use

# XPRSrestore (RESTORE)

Purpose
Restores the Optimizer's data structures from a file created by XPRSsaveas ( SAVE). Optimization may then recommence from the point at which the file was created.
Topic areas
File IO, Save Restore
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 | Additional flags
h | Do not restore hardware information from the file;
v | use the provided filename verbatim, without appending the .svf extension.

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 XPRSsaveas ( 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 major release of the Optimizer that was used to create them.
2. ( Console) The main use for XPRSsaveas ( 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.
Related topics
XPRSsaveas ( SAVE).
Parent Topic Console and Library Functions

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