<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Stefan,<div><br></div><div>Thanks again for your quick answers. Now it works with GAMS 23.3 or GAMS 23.4.&nbsp;</div><div><br></div><div>Maybe to help you to better understand where this problem comes from. &nbsp;My math problem contains a Kirchhoff's law about flows in my network. Now I would like to consider the same law for the energy of my network.( I was considering the energy in my network was the same everywhere.)</div><div><br></div><div>So i changed my equation of nodes from&nbsp;</div><div>\sum f_{i,j} = 0</div><div>to&nbsp;</div><div>\sum Energy{i,j}*f_{i,j} =0</div><div><br></div><div>That's how I get IPOPT causing sytem error. I did not change a thing in my non-differentiable equations.</div><div><br></div><div>Thanks agains Stefan, your help was highly useful.</div><div><br></div><div>Best Regards,</div><div>Dan</div><div><br></div><div>--- En
 date de&nbsp;: <b>Jeu 27.5.10, Stefan Vigerske <i>&lt;stefan@math.hu-berlin.de&gt;</i></b> a écrit&nbsp;:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: Stefan Vigerske &lt;stefan@math.hu-berlin.de&gt;<br>Objet: Re: [Ipopt] Error system of Ipopt when using GAMS<br>À: "yanndan bronx" &lt;yanndan@yahoo.com&gt;<br>Cc: "ipopt mailing list" &lt;ipopt@list.coin-or.org&gt;<br>Date: Jeudi 27 mai 2010, 16h33<br><br><div class="plainMail">Hi,<br><br>thanks for the instance.<br>I can reproduce your problem.<br>With GAMS 23.4 I also get the message<br><br> Internal error 2 in QAMD : Schur size expected:&nbsp; &nbsp; 0&nbsp;&nbsp;&nbsp;Real:&nbsp; &nbsp; 1<br> ** MPI_ABORT called<br><br>I believe this comes from Mumps, the linear solver that is used in Ipopt<br>(with GAMS 23.4, MUMPS 4.9 is used; with 23.3, it was 4.8).<br><br>And I guess that Mumps fails because of some invalid values in
 the<br>Hessian. Ipopt computes the Hessian in the starting point.<br>Unfortunately, x|x| is not twice differentiable at x=0, and thus there<br>may be something going wrong&nbsp; (I have not debugged yet).<br>I tried setting the Ipopt option check_derivatives_for_naninf to yes,<br>but that did not result in complains.<br><br>Anyway, if you tell Ipopt not to use the GAMS hessian's, but to<br>approximate it, then it should work better. So try setting<br>&nbsp; hessian_approximation limited-memory<br>in your coinipopt.opt file.<br>Changing the starting point did not work for me, unfortunately.<br><br>Stefan<br><br>Am 27.05.2010 15:51, schrieb yanndan bronx:<br>&gt; Hi Stefan,Thanks for your quick answer. I joining a file .gms which should reproduce the error. Sorry if the file is not commented but I am using several text files to create my model. I used CONVERT to extract the core of the problem.<br>&gt; I am using f(x)= x|x|&nbsp; as non-differentiable
 function.<br>&gt; Thanks again for your help.<br>&gt; Best Regards,Dan<br>&gt; --- En date de : Jeu 27.5.10, Stefan Vigerske &lt;<a ymailto="mailto:stefan@math.hu-berlin.de" href="/mc/compose?to=stefan@math.hu-berlin.de">stefan@math.hu-berlin.de</a>&gt; a écrit :<br>&gt; <br>&gt; De: Stefan Vigerske &lt;<a ymailto="mailto:stefan@math.hu-berlin.de" href="/mc/compose?to=stefan@math.hu-berlin.de">stefan@math.hu-berlin.de</a>&gt;<br>&gt; Objet: Re: [Ipopt] Error system of Ipopt when using GAMS<br>&gt; À: "yanndan bronx" &lt;<a ymailto="mailto:yanndan@yahoo.com" href="/mc/compose?to=yanndan@yahoo.com">yanndan@yahoo.com</a>&gt;<br>&gt; Cc: <a ymailto="mailto:ipopt@list.coin-or.org" href="/mc/compose?to=ipopt@list.coin-or.org">ipopt@list.coin-or.org</a><br>&gt; Date: Jeudi 27 mai 2010, 12h16<br>&gt; <br>&gt; Hi,<br>&gt; <br>&gt; can you send the model so one can try to reproduce?<br>&gt; You seem to use model type DNLP? What non-differentiable functions
 are<br>&gt; you using?<br>&gt; You mal also wanna try GAMS 23.4.<br>&gt; <br>&gt; Stefan<br>&gt; <br>&gt; Am 27.05.2010 11:50, schrieb yanndan bronx:<br>&gt;&gt; Hello Everyone,<br>&gt;&gt; I have a weird problem with IPOPT using GAMS Interface. My problem is an non linear problem. I tried to resolve it on real instances but I got errors of the system. So I reduced my instances to a problem of small size which can be solved with a pen and a paper.However&nbsp; I still have an error system.&nbsp; I reproduce at the end of&nbsp; this message the&nbsp; solution report :<br>&gt;&gt; I try to solve it with COUENNE and I get my solution. I tried with BONMIN ( I cheated,&nbsp; I toldBONMIN that my problem was MINLP) BONMIN called Ipopt and we get the same error sytem.<br>&gt;&gt; I am a bit stubborn, so I would like to see if the problem was coming from GAMS. I used CONVERT to transpose my instance into AMPL format. I tried and IPOPT achieve maximum of
 iterations. BONMIN and COUENNE find quickly the solution of my problem.<br>&gt;&gt; Have you got any ideas to solve this kind of problem.<br>&gt;&gt; Best Regards, Dan<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; ********************************************************************************************************************************************************************************************************************MODEL STATISTICS<br>&gt;&gt; BLOCKS OF EQUATIONS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;3&nbsp; &nbsp;&nbsp;&nbsp;SINGLE EQUATIONS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;12BLOCKS OF VARIABLES&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;5&nbsp; &nbsp;&nbsp;&nbsp;SINGLE VARIABLES&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;41&nbsp; 6 projectedNON ZERO ELEMENTS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 78&nbsp; &nbsp;&nbsp;&nbsp;NON LINEAR N-Z&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;69DERIVATIVE POOL&nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 16&nbsp; &nbsp;&nbsp;&nbsp;CONSTANT POOL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 19CODE LENGTH&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;377<br>&gt;&gt;<br>&gt;&gt; GENERATION TIME&nbsp; &nbsp; &nbsp; =&nbsp; &nbsp; &nbsp; &nbsp; 0.125 SECONDS&nbsp; &nbsp; &nbsp; 4 Mb&nbsp; WIN233-233 Dec 15, 2009<br>&gt;&gt;<br>&gt;&gt; EXECUTION TIME&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;=&nbsp; &nbsp; &nbsp; &nbsp; 0.219 SECONDS&nbsp; &nbsp; &nbsp; 4 Mb&nbsp; WIN233-233 Dec 15, 2009GAMS Rev 233&nbsp; WIN-VIS 23.3.3 x86/MS Windows&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;05/27/10 09:13:46 Page 7G e n e r a l&nbsp;&nbsp;&nbsp;A l g e b r a i c&nbsp;&nbsp;&nbsp;M o d e l i n g&nbsp;&nbsp;&nbsp;S y s t e mSolution Report&nbsp; &nbsp;&nbsp;&nbsp;SOLVE min_Master_1 Using DNLP From line 406<br>&gt;&gt;<br>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;S O L V E&nbsp;
 &nbsp; &nbsp; S U M M A R Y<br>&gt;&gt;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;MODEL&nbsp;&nbsp;&nbsp;min_Master_1&nbsp; &nbsp; &nbsp; &nbsp; OBJECTIVE&nbsp; f_obj&nbsp; &nbsp;&nbsp;&nbsp;TYPE&nbsp; &nbsp; DNLP&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DIRECTION&nbsp; MINIMIZE&nbsp; &nbsp;&nbsp;&nbsp;SOLVER&nbsp; COINIPOPT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;FROM LINE&nbsp; 406<br>&gt;&gt; **** SOLVER STATUS&nbsp; &nbsp;&nbsp;&nbsp;13 System Failure&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;**** MODEL STATUS&nbsp; &nbsp; &nbsp; 13 Error No Solution&nbsp; &nbsp; &nbsp; &nbsp; **** OBJECTIVE VALUE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;NA<br>&gt;&gt;&nbsp;&nbsp;&nbsp;RESOURCE USAGE, LIMIT&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;NA&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1000.000 ITERATION COUNT, LIMIT&nbsp; &nbsp; &nbsp; &nbsp; NA&nbsp; &nbsp; 2000000000 EVALUATION ERRORS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp;&nbsp;&nbsp;NA&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;0<br>&gt;&gt; GAMS/CoinIpopt NLP Solver (IPOPT Library 3.7)written by A. Waechter<br>&gt;&gt; List of user-set options:<br>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Name&nbsp;&nbsp;&nbsp;Value&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; used&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; max_cpu_time = 300&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;yes<br>&gt;&gt; ******************************************************************************This program contains Ipopt, a library for large-scale nonlinear optimization. Ipopt is released as open source code under the Common Public License (CPL).&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;For more information visit <a
 href="http://projects.coin-or.org/Ipopt******************************************************************************" target="_blank">http://projects.coin-or.org/Ipopt******************************************************************************</a><br>&gt;&gt; NOTE: You are using Ipopt by default with the MUMPS linear solver.&nbsp; &nbsp; &nbsp; Other linear solvers might be more efficient (see Ipopt documentation).<br>&gt;&gt;<br>&gt;&gt; Exception of type: IpoptException in file "Unknown File" at line -1: Exception message: Unknown Exception caught in Ipopt<br>&gt;&gt; No solution returned********************************************************************************************************************************************************************************************************************<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp; <br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;
 _______________________________________________<br>&gt;&gt; Ipopt mailing list<br>&gt;&gt; <a ymailto="mailto:Ipopt@list.coin-or.org" href="/mc/compose?to=Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br>&gt;&gt; <a href="http://list.coin-or.org/mailman/listinfo/ipopt" target="_blank">http://list.coin-or.org/mailman/listinfo/ipopt</a><br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br><br></div></blockquote></div></td></tr></table><br>