Skip to main content

MaxEvaluations

Module: opytimizer.core.stopping

Soft check: verified at end of each iteration. For exact enforcement, use Function(budget=n) instead.

Constructor​

MaxEvaluations(n: int) -> None

Parameters​

ParameterTypeDefaultDescription
nint—

Methods​

init_pbar​

init_pbar(self, position) -> None

Progress Bar initialization.

Parameters​

ParameterTypeDefaultDescription
position—

should_stop​

should_stop(self, opt) -> bool

Return True when the criterio was satisfied

Parameters​

ParameterTypeDefaultDescription
opt—

update_pbar​

update_pbar(self, opt) -> None

Update the Progress Bar to the current optimization state.

Parameters​

ParameterTypeDefaultDescription
opt—