exit_criteriaΒΆ

Exit criteria for libEnsemble:

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
    'elapsed_wallclock_time' [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,
                 'elapsed_wallclock_time': 100,
                 'stop_val': ('f', 3000)}