relentless.optimize.OrTest#

class relentless.optimize.OrTest(a, b)#

Logic test if either of the specified tests return convergence.

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

Parameters:

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