exit_criteria

The following criteria (or termination tests) can be used to tell libEnsemble when to stop a given run:

exit_criteria: [dict]:

    Optional keys (At least one must be given):

    'sim_max' [int]:
        Stop when this many new points have been evaluated by sim_f
    'gen_max' [int]:
        Stop when this many new points have been generated by gen_f
    'wallclock_max' [float]:
        Stop when this time (since the manager has been initialized) has elapsed
    'stop_val' [(str, float)]:
        Stop when H[str] < float for the given (str, float pair)

See also

From test_persistent_aposmm_dfols.py.

    exit_criteria = {
        "sim_max": 1000,
        "wallclock_max": 100,
        "stop_val": ("f", 3000),
    }