Name

analyze_safe — This method is similar the the analyze method, but it will periodically save out the scenario files in order to protect against power failures or other interuptions.

Overview

This method is similar the the analyze method, but it will periodically save out the scenario files in order to protect against power failures or other interuptions. It a long-running simulation has been interupted, then it is possible to reload the most recently saved scenario files and continue the simulation.

Syntax

void analyze_safe ( String label , int count , double improvement , int checkPointCount ) 

The command has the following arguments:

label

The name to be given to this scenario. The scenario reports will be written out to a folder of the same name. If the folder already exists then the files will be overwritten.

count

The number of iterations between checks of the objective function.

improvement

The amount of improvement between checks of the objective function that must occur in order to satisfy the convergence criteria.

checkPointCount

The frequency for saving a checkpoint of the solution. If less than 1 then checkpointing will not occur.

Description

Run an analysis according to the specified convergence criteria. For a more complete description of these parameters see the documentation for the analyze method, or the API documentation for the waitForProgress method of the Control class.