relentless.optimize.AndTest#
- class relentless.optimize.AndTest(a, b)#
Logic test if both specified tests return convergence.
Check if the function is determined to be converged by both of the specified convergence tests.
- Parameters:
a (
ConvergenceTest) – The first convergence test to use.b (
ConvergenceTest) – The second convergence test to use.
Methods
converged(result)Check if the function is converged by all of the specified tests.
- converged(result)#
Check if the function is converged by all of the specified tests.
- Parameters:
result (
ObjectiveFunctionResult) – The result to check for convergence.- Returns:
True if the function is converged by all tests.
- Return type: