[Ipopt] Different result depending on running environment.

Nuno Silva pg17455 at alunos.uminho.pt
Mon Oct 22 18:43:51 EDT 2012


Greetings,

In fact the problem was due to memory initialization.
I was accumulating the results for the gradient and the Jacobian Hessian
without initializing to zero the memory space for those values.

Thanks for the quick replies.

Regards,
Nuno

On 21 October 2012 19:32, Verhoeven, Ronald <Ronald.Verhoeven at nlr.nl> wrote:

> Hello Nuno,****
>
> ** **
>
> I have encountered the same problem, when I was using ipopt as part of
> psopt. ****
>
> ** **
>
> I found that the problem is caused by the vs2008 “Optimization” settings
> of 2 projects when building the ipopt solution. If “Optimization” for the
> release version of the “CoinBlas” project and the “CoinMumpsF90” project is
> disabled when building the ipopt lib, the problem was solved! ****
>
> ** **
>
> See also
> https://groups.google.com/forum/?fromgroups=#!topic/psopt-users-group/be_wPvYTM9k
> ****
>
> ** **
>
> I hope this may help you.****
>
> ** **
>
> Regards, Ronald.****
>
> ** **
>
> *From:* ipopt-bounces at list.coin-or.org [mailto:
> ipopt-bounces at list.coin-or.org] *On Behalf Of *Nuno Silva
> *Sent:* Friday, October 19, 2012 23:31 PM
> *To:* ipopt
> *Subject:* [Ipopt] Different result depending on running environment.****
>
> ** **
>
> Greetings****
>
> ** **
>
> I'm trying to figure out why does my application behave differently
> depending whether it runs inside visual studio (debugging - F5) or outside
> visual studio (without debugging CTRL+F5).****
>
> When debugging, the program succeeds, and when not debugging
> it exceeds the maximum number of iterations.****
>
> ** **
>
> Anyone has any idea?****
>
> (Note: these observations are independent of compiling with debug or
> release configuration)****
>
> ** **
>
> Regards****
>
> Nuno****
>
>
>
> ------------------------------
> * The NLR disclaimer is valid for NLR e-mail messages.*
>
> This message is only meant for providing information. Nothing in this
> e-mail message amounts to a contractual or legal commitment on the part of
> the sender.
>
> This message may contain information that is not intended for you. If you
> are not the addressee or if this message was sent to you by mistake, you
> are requested to inform the sender and delete the message. Sender accepts
> no liability for damage of any kind resulting from the risks inherent in
> the electronic transmission of messages.
> ------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20121022/00b2e842/attachment.html>


More information about the Ipopt mailing list