Saving and restoring results
You can save the results of a solve, keep a history of the saves and restore a saved version in the IDE.
After executing a model, you can save the results, keep a history of the saves and restore a saved version in the IDE. Here we use the BlendingMultiPeriod example to illustrate this feature.
Run the default configuration, either from the Run command in the menu bar, or from the contextual menu, as shown.
From the menu bar, select
.This action saves the results as displayed in the problem browser (data, decision variable values, expressions, constraints), as well as the .mod file and the log files (scripting log, solutions log, conflicts, relaxations, engine log, statistics and profiler).
After you have saved a result, the Restore results option becomes active, either in the Run menu or in the contextual menu of the Run Configuration.
The icon next to the LP formulation run configuration has a tiny clock attached to it, to indicate that it has saved results. Click Restore results.
The history of saved results is displayed, and a summary of the selected result is shown.
Click the Restore button to display the results in the Problem Browser. You can then click on an object in the Problem Browser to display a read-only version of the corresponding .mod file in the editor. All the logs mentioned in step #2 are also restored.