relentless.optimize.ConvergenceTest#
- class relentless.optimize.ConvergenceTest#
Abstract base class for optimization convergence tests.
A
ConvergenceTestdefines a test to determine if anObjectiveFunction\(f\left(\mathbf{x}\right)\), defined on a set of design variables \(\mathbf{x}=\left[x_1,\cdots,x_n\right]\), has converged to a desired point.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: