I am using ipopt solver for a non-linear optimization problem in Python. The ipopt documentation states a function CheckConvergence() by which the convergence status of the