<div dir="ltr">They are calculated based on your own code in src/Algorithm/IpIpoptCalculatedQuantities.cpp: IpoptCalculatedQuantities::curr_primal_infeasibility, where usually the infinity norm is taken. Have you tested the return value of your constraint function?<div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 2, 2014 at 4:02 AM, Lemoine, Roberto <span dir="ltr"><<a href="mailto:Roberto.Lemoine@bci.tu-dortmund.de" target="_blank">Roberto.Lemoine@bci.tu-dortmund.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">Dear members of the IPOPT community,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Short question. Where in the IPOPT code are the primal and dual infeasibilities inf_pr and inf_du calculated?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I am asking this because the value of both (particularly of inf_pr) increase significantly after introducing a simple constraint in the optimization problem. The constraint should actually be inactive at the initial guess (I have verified that the constraint is within its intended bounds). So, I would like to find out why this constraint is doing this.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thank you very much in advance.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span lang="DE">Best regards,<u></u><u></u></span></p><p class="MsoNormal"><span lang="DE"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="DE">Roberto Lemoine<u></u><u></u></span></p><p class="MsoNormal"><span lang="DE"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="DE">Technische Universität Dortmund<u></u><u></u></span></p><p class="MsoNormal"><span lang="DE">Fakultät Bio- und Chemieingenieurwesen<u></u><u></u></span></p><p class="MsoNormal"><span lang="DE">Lehrstuhl für Systemdynamik und Prozessführung<u></u><u></u></span></p><p class="MsoNormal"><span lang="DE">G2, Raum 3.29<u></u><u></u></span></p><p class="MsoNormal"><span lang="DE">44221 Dortmund<u></u><u></u></span></p><p class="MsoNormal"><span lang="DE" style="color:black"><a href="mailto:Roberto.Lemoine@bci.tu-dortmund.de" target="_blank"><span style="color:black">Roberto.Lemoine@bci.tu-dortmund.de</span></a><u></u><u></u></span></p><p class="MsoNormal"><span lang="DE">Tel: <a href="tel:%2B49%20%280%29%20231%2F755-5171" value="+492317555171" target="_blank">+49 (0) 231/755-5171</a><u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p></div></div><br>_______________________________________________<br>
Ipopt mailing list<br>
<a href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/ipopt" target="_blank">http://list.coin-or.org/mailman/listinfo/ipopt</a><br>
<br></blockquote></div><br></div></div>