<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div id="isForwardContent"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">Thank you for your reply! Setting "bound_relax_factor" to 0 did help avoid the error.</div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><br></div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">Moreover, I'd like to know if disabling bounds relaxation ("bound_relax_factor" = 0) would reduce the algorithm efficiency? </div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">After setting "bound_relax_factor" to 0, IPOPT could hardly solve the model.</div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><span class="Apple-style-span" style="white-space: pre-wrap; "><br></span></div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><span class="Apple-style-span" style="white-space: pre-wrap; ">Thank you very much! Looking forward to your reply.</span></div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><span class="Apple-style-span" style="white-space: pre-wrap; "> </span></div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><span class="Apple-style-span" style="white-space: pre-wrap; ">Cavern</span></div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><pre><span class="Apple-style-span" style="white-space: normal;"><br></span>At 2012-06-13 23:52:00,"Stefan Vigerske" <<a href="mailto:stefan@math.hu-berlin.de">stefan@math.hu-berlin.de</a>> wrote:
>Hi,
>
>Ipopt relaxes the bounds slightly, probably too much for your case.
>You can disable this by setting the option bounds_relax_factor to 0.
>
>However, a bound of 0.00000001 is not much better than 0. Even though
>the log can be evaluated there, the numerical behavior of the model
>around this value is bad.
>
>Stefan
>
>On 13.06.2012 16:03, Õų¿ wrote:
>> Hi all:
>> When I set "var a>=0.00000001 default 0.001" and solve the model by IPOPT with AMPL, IPOPT would return the error information "can't evaluate log(-3.05e-10)" (base number is very slightly less than zero) in equations including the "log(a)" term sometimes. Similarly, it would return "can't evaluate power(1.00035, 10e08)" (base number is very slightly more than 1) in equations including the "[1/(1+a)]^(10e08)" term.
>>
>>
>> So why would this phenomenon happen? It seems that the lower bound of "a" didn't take effect. How can I avoid this error?
>>
>>
>> Besides, if there are some terms like exp(a) or a^b (a,b are variables) in AMPL equations, do we always need to change them to the logarithm form (e.g. a^b becomes b*log(a) )? Does this reformulation do make the solving process more efficient?
>>
>>
>> Thank you very much! Looking forward to your reply.
>>
>>
>> Yours
>> Cavern
>>
>>
>>
>> _______________________________________________
>> Ipopt mailing list
>> <a href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a>
>> http://list.coin-or.org/mailman/listinfo/ipopt
</pre></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>