relentless.optimize.LogicTest#
- class relentless.optimize.LogicTest(*tests)#
Abstract base class for logical convergence tests.
- Parameters:
tests (args) – The
ConvergenceTests to be used.- Raises:
TypeError – If all inputs are not
ConvergenceTests.
Methods
converged(result)Check if the function is converged.
- abstract converged(result)#
Check if the function is converged.
- Parameters:
result (
ObjectiveFunctionResult) – The result to check for convergence.- Returns:
True if the result is converged.
- Return type: