Check convergence of variational algorithm

check_convergence(L, iter, tol, maxiter, verbose)

Arguments

L

Lower bound

iter

Iteration number

tol

Tolerance

maxiter

Maximum number of iterations

verbose

Boolean flag that, if TRUE, prints the outcome of the convergence check

Value

Boolean flag that indicates if algorithm has converged