[Ipopt-tickets] [Ipopt] #27: TNLP::finalize_solution gets incorrect
g
Ipopt
coin-trac at coin-or.org
Fri Jan 12 08:31:27 EST 2007
#27: TNLP::finalize_solution gets incorrect g
------------------------------+---------------------------------------------
Reporter: stefan | Owner: ipopt-team
Type: defect | Status: new
Priority: normal | Component: Ipopt
Version: 3.2 (C++ Version) | Severity: normal
Keywords: |
------------------------------+---------------------------------------------
Hi,
I observed that the values in g which are given to the call of
TNLP::finalize_solution seem to be incorrect for equality constraints,
i.e., for a constraint of the form c<=g(x)<=c. I can correct them by
adding the constant c to the corresponding entry in g.
From a look at TNLPAdapter::Eval_c, i see that c_rhs_[i] is substracted
from some values, maybe it need to be added again in TNLPAdapter::ResortG.
I'm using IPOPT release 3.2.3.
All best,
Stefan
--
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/27>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.
More information about the Ipopt-tickets
mailing list