Skip to content

How to make acceptable_obj_change_tol work? #631

Answered by svigerske
type-null asked this question in Q&A
Discussion options

You must be logged in to vote

The acceptable_obj_change_tol is only one criterion that needs to be satisfied to make Ipopt stop with an "acceptable" point. In addition, various infeasibility measures need to be satisfied and this needs to happen for at least acceptable_iter many subsequent iterations.
Check https://coin-or.github.io/Ipopt/OPTIONS.html#OPT_Termination for all other options you may need to set. In your log, the primal and dual infeasibility are still quite high, preventing Ipopt from stopping.

Looking at the code for the acceptable check may also help:

bool OptimalityErrorConvergenceCheck::CurrentIsAcceptable()
{

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by svigerske
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants