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:

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:

bool