HI Carl,<br> <br> First off thanks very much for the reply. Looks like I'm really getting my omoney's worth with that IPOPT support contract. ;)<br><br>I've actually already set &gt;&gt;option ipopt_options "halt_on_ampl_error=yes"&lt;&lt; and the output below includes this. Doesn't provide any elcuidation unfortunately. Still your point about --enable-doscompile under cygwin is very well-taken and I will certainly get on that tomorrow as the next step.<br> <br>My objective function includes a sum of logs but all variables are (in theory at least) well-bounded. What seems suspect are that 1) the problem solves in MINOS, and 2) the difficulty only starts occurring at right about the 100 variable level.<br><br>And again, I thank you very much for your help.<br>Jac.<br><br><b><i><br>Carl Laird &lt;carl.d.laird@gmail.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">This type of error happens
 when there is a numerical evaluation<br>problem in AMPL (i.e. a constraint evaluates to infinity or NaN, sqrt<br>of a negative number, etc). You can add the following option to the<br>AMPL .mod file<br><br>   option ipopt_options "halt_on_ampl_error=yes"<br><br><br>before the solve call. This will instruct AMPL to halt when it detects<br>an evaluation error and give some more details about the problem. It<br>looks like Ipopt is complaining about an infinite value coming from<br>the objective function evaluation, and setting the above option should<br>give more detailed information. The halt_on_ampl_error option is<br>particularily useful when the problem is with a constraint since it<br>causes AMPL to indicate which constraint was at fault.<br><br>This type of error typically happens to me when I have expressions<br>like exp(x) in my functions and I haven't limited x in any way.<br>Depending on the problem, x could become very large as it iterates and<br>cause an
 evaluation error.<br><br>One final comment. When I compile in CYGWIN, I have to configure ipopt<br>with the --enable-doscompile option otherwise I have problems reading<br>options from AMPL. So, before you try the halt_on_ampl_error option,<br>make sure you configure with this option.<br><br>Hope this helps,<br><br>Carl.<br><br><br>On 4/12/07, Jacob C. <jacobcdf@yahoo.com> wrote:<br>&gt; Running 3.2.3 on XP compiled with default under cygwin through AMPL.<br>&gt;<br>&gt; It seems that when I hit roughly 100 variables IPOPT spits out the following<br>&gt; (halt_on_ampl_error set to TRUE):<br>&gt;<br>&gt; EXIT: Invalid number in NLP function or derivative detected.<br>&gt; Error in an AMPL evaluation. Run with "halt_on_ampl_error yes" to see<br>&gt; details.<br>&gt; Exception of type: Eval_Error in file "IpOrigIpoptNLP.cpp" at line 403:<br>&gt;  Exception message: success &amp;&amp; IsFiniteNumber(ret) evaluated false: Error<br>&gt; evaluating the objective
 function<br>&gt;<br>&gt; EXIT: Some uncaught Ipopt exception encountered.<br>&gt; can't open at1564.sol<br>&gt;<br>&gt; -----------------------------<br>&gt;<br>&gt; I'm very much a beginner and have little where to even start tracking this<br>&gt; down. FWIW, the problem runs smoothly with MINOS 5.5. Will provide the model<br>&gt; upon request.<br>&gt;<br>&gt;<br>&gt; Thanks,<br>&gt; Jac.<br>&gt;<br>&gt;<br>&gt;  ________________________________<br>&gt;  Don't get soaked. Take a quick peak at the forecast<br>&gt;  with theYahoo! Search weather shortcut.<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Coin-ipopt mailing list<br>&gt; Coin-ipopt@list.coin-or.org<br>&gt; http://list.coin-or.org/mailman/listinfo/coin-ipopt<br>&gt;<br>&gt;<br></jacobcdf@yahoo.com></blockquote><br><p>&#32;
      <hr size=1>Don't be flakey. <a href="http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail">Get Yahoo! Mail for Mobile</a> and <br><a href="http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail">always stay connected</a> to friends.