Skip to content

IPOPT optimal solution found while constraints are violated #440

Answered by svigerske
elh-mod1360 asked this question in Q&A
Discussion options

You must be logged in to vote

Try setting honor_original_bounds=no. This should prevent that Ipopt projects the final point back onto the given variable bounds. The returned point will then have a constraint violation that should satisfy the constr_viol_tol, but that may be outside variable bounds by a bit.
If that is a problem, try setting bound_relax_factor=0.
With Ipopt 3.14, honor_original_bounds=no is the default and relaxation of bounds is limited by constr_viol_tol in addition.

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