<div dir="ltr"><p>Hello Antonello Lobianco,</p><p><br>
</p>
<p>To troubleshoot possible errors in the derivatives see:</p>
<p><a href="https://www.coin-or.org/Ipopt/documentation/node30.html">https://www.coin-or.org/Ipopt/documentation/node30.html</a></p><p><br></p>
<p>Best regards,</p>
<p>João Leal</p></div><div class="gmail_extra"><br><div class="gmail_quote">2017-12-19 10:48 GMT+00:00 Antonello Lobianco <span dir="ltr"><<a href="mailto:a.lobianco@univpm.it" target="_blank">a.lobianco@univpm.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>I think you have a bit of confusion.<br></div>You posted on the "ipopt" mailing list.<br></div>"ipopt" is a solver engine for non linear problems. It is free and has, by itself, no limits (and, by the way, let you choose between different "linear solvers" for the linear part of solving a nonlinear problem.. let's call them "subsolvers". The default MUMPS is fine.)<br><br></div>Now, how do yo use IPOPT ?<br></div>You can use it trough the C++ interface. But "coding" a model in C++, taking care of multiple dimensions of your problem, passing IPOPT the first and second derivatives (or using automatic differentiation libraries - ADOL-C and ColPack in my case) is long and complex.<br><br></div>So you use IPOPT within an Algebric Modelling Language, that allows you to code your model in a simple equation-like style.</div><div>Two of the oldests AML - GAMS and AMPL- are commercial. Even to use IPOPT - by itself free- they ask you money.</div><div>Nowaday you have better alternatives, like Pyomo for Python or JuMP for Julia. <br></div><div>If you don't have "path dependency", e.g. having to work with someone that uses only GAMS or AMPL, go for them and you can use IPOPT totally for free (and use nice, easy to integrate languages).</div><div><br></div><div>Antonello<br></div><div><br></div><div><br></div><div><div> <br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 December 2017 at 10:01, Wijekoon, Manusha <span dir="ltr"><<a href="mailto:manusha.wijekoon@citi.com" target="_blank">manusha.wijekoon@citi.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Raoul,<br>
<br>
I will try different solvers. However most of the solvers need licence for commercial use. This is OK as long as we can do an evaluation, but could not find any info on evaluation licences. I will keep on searching.<br>
<br>
Thanks<br>
<span class="m_-5958953184106692875HOEnZb"><font color="#888888">Manusha<br>
</font></span><div><div class="h5"><div class="m_-5958953184106692875HOEnZb"><div class="m_-5958953184106692875h5"><br>
<br>
<br>
-----Original Message-----<br>
From: Herzog Raoul [mailto:<a href="mailto:Raoul.Herzog@heig-vd.ch" target="_blank">Raoul.Herzog@heig-vd.c<wbr>h</a>]<br>
Sent: 18 December 2017 22:17<br>
To: Daniel Feenberg <<a href="mailto:feenberg@nber.org" target="_blank">feenberg@nber.org</a>>; Wijekoon, Manusha [ICG-IT] <<a href="mailto:mw99659@imceu.eu.ssmb.com" target="_blank">mw99659@imceu.eu.ssmb.com</a>><br>
Cc: <a href="mailto:ipopt@list.coin-or.org" target="_blank">ipopt@list.coin-or.org</a><br>
Subject: RE: [Ipopt] how to select non linear solver<br>
<br>
Hi,<br>
<br>
The linear solvers (MUMPS, MA57, etc) are only involved in the search of the "Newton" direction, not in the subsequent line search.<br>
The choice of the linear solver mostly affects computation time, e.g. if the Hessian matrix is sparse, in some (rare) cases the choice of the linear solver may also affect convergence.<br>
<br>
--raoul<br>
<br>
-----Message d'origine-----<br>
De : Ipopt [mailto:<a href="mailto:ipopt-bounces@coin-or.org" target="_blank">ipopt-bounces@coin-or.<wbr>org</a>] De la part de Daniel Feenberg Envoyé : Montag, 18. Dezember 2017 17:05 À : Wijekoon, Manusha <<a href="mailto:manusha.wijekoon@citi.com" target="_blank">manusha.wijekoon@citi.com</a>> Cc : <a href="mailto:ipopt@list.coin-or.org" target="_blank">ipopt@list.coin-or.org</a> Objet : Re: [Ipopt] how to select non linear solver<br>
<br>
<br>
<br>
On Mon, 18 Dec 2017, Wijekoon, Manusha wrote:<br>
<br>
><br>
> Hi<br>
><br>
> <br>
><br>
> I am trying to tackle a non-linear optimization problem and current<br>
> solver selected is MUMPS linear solver. I assume this solver cannot<br>
> solve non-linear problems?<br>
<br>
All(?) non-linear optimization packages alternate between a non-linear step that chooses a direction of improvement, and a linear step that selects a distance along that direction. IPOPT offers a choice of solvers for the linear step, but that doesn't mean it can't solve a non-linear problem. Pick one and go ahead.<br>
<br>
daniel feenberg<br>
NBER<br>
<br>
______________________________<wbr>_________________<br>
Ipopt mailing list<br>
<a href="mailto:Ipopt@list.coin-or.org" target="_blank">Ipopt@list.coin-or.org</a><br>
<a href="https://list.coin-or.org/mailman/listinfo/ipopt" rel="noreferrer" target="_blank">https://list.coin-or.org/mailm<wbr>an/listinfo/ipopt</a><br>
<br>
<br>
<br>
<br>
</div></div></div></div></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="m_-5958953184106692875gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span><span>Antonello Lobianco<br>AgroParisTech, Laboratoire d'Economie Forestière<br>14 Rue Girardet - 54000 Nancy, France<br>Tel: <a href="tel:+33%203%2083%2039%2068%2065" value="+33383396865" target="_blank">+33.383396865</a><br>Email, university: <a href="mailto:antonello.lobianco@nancy.inra.fr" target="_blank">antonello.lobianco@inra.fr</a><br>Email, personal: <a href="mailto:antonello@lobianco.org" target="_blank">antonello@lobianco.org</a><br><a href="http://antonello.lobianco.org/" target="_blank">http://antonello.lobianco.org</a></span></span></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
Ipopt mailing list<br>
<a href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br>
<a href="https://list.coin-or.org/mailman/listinfo/ipopt" rel="noreferrer" target="_blank">https://list.coin-or.org/<wbr>mailman/listinfo/ipopt</a><br>
<br></blockquote></div><br></div>