Getting Contraint Violations

Getting Contraint Violations

I am solving a nonlinear optimization problem using JuMP with IPOPT and I am running into a problem where the solver says:"WARNING: Not solved to optimality, status: Infeasible"

It is very similar to a problem that is feasible and I am not sure what the issue is with this problem. So, I started to try and look at the constraints violation at this infeasible point, but I could not figure it out with a nonlinear constraint. Frist I tried the ``getvalue()'' function but that did not work and the documentation did not say that ``getvalue()`` works with nonlinear expressions.

I tried a few other things as well that did not pan out. Is there an easy way query to evaluate the nonlinear constraint expressions at the current solution?

Re: Getting Contraint Violations

I am solving a nonlinear optimization problem using JuMP with IPOPT and I am running into a problem where the solver says:"WARNING: Not solved to optimality, status: Infeasible"

It is very similar to a problem that is feasible and I am not sure what the issue is with this problem. So, I started to try and look at the constraints violation at this infeasible point, but I could not figure it out with a nonlinear constraint. Frist I tried the ``getvalue()'' function but that did not work and the documentation did not say that ``getvalue()`` works with nonlinear expressions.

I tried a few other things as well that did not pan out. Is there an easy way query to evaluate the nonlinear constraint expressions at the current solution?

I am solving a nonlinear optimization problem using JuMP with IPOPT and I am running into a problem where the solver says:"WARNING: Not solved to optimality, status: Infeasible"

It is very similar to a problem that is feasible and I am not sure what the issue is with this problem. So, I started to try and look at the constraints violation at this infeasible point, but I could not figure it out with a nonlinear constraint. Frist I tried the ``getvalue()'' function but that did not work and the documentation did not say that ``getvalue()`` works with nonlinear expressions.

I tried a few other things as well that did not pan out. Is there an easy way query to evaluate the nonlinear constraint expressions at the current solution?