relentless.optimize.AnyTest#

class relentless.optimize.AnyTest(*tests)#

Logic test if any specified test returns convergence.

Check if the function is determined to be converged by any of the specified convergence tests.

Parameters:

tests (args) – The ConvergenceTests to be used.

Methods

converged(result)

Check if the function has converged by any of the specified tests.

converged(result)#

Check if the function has converged by any of the specified tests.

Parameters:

result (ObjectiveFunctionResult) – The result to check for convergence.

Returns:

True if the function is converged by any test.

Return type:

bool