<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Are you using global or persistent variables in your callback functions? If
so, the internal state is likely there. If not, there may be some state inside
the Ipopt mex file which could be considered a bug we can continue looking into
(using high-print-level output as Stefan suggested to narrow it down).</DIV>
<DIV> </DIV>
<DIV>-Tony</DIV>
<DIV> </DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=khoshgoftar@gmail.com
href="mailto:khoshgoftar@gmail.com">AliReza Khoshgoftar Monfared</A> </DIV>
<DIV><B>Sent:</B> Tuesday, December 18, 2012 8:01 AM</DIV>
<DIV><B>To:</B> <A title=kelman@berkeley.edu
href="mailto:kelman@berkeley.edu">Tony Kelman</A> </DIV>
<DIV><B>Cc:</B> <A title=ipopt@list.coin-or.org
href="mailto:ipopt@list.coin-or.org">ipopt@list.coin-or.org</A> </DIV>
<DIV><B>Subject:</B> Re: [Ipopt] IpOpt code: Detereministic or Random across
various runs?</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV dir=ltr>Thanks very much Tony,
<DIV> </DIV>
<DIV>It seems that the problem was exactly what you mentioned.</DIV>
<DIV>I was doing all consecutive runs of ipopt() in a for loop, but there
seems to be a necessity to clear everything, except the initial point (which is
supposed to be the same across all runs)</DIV>
<DIV>Now I get exactly the same result across various runs with the same initial
points</DIV>
<DIV> </DIV>
<DIV>Thanks</DIV>
<DIV>Alireza</DIV></DIV>
<DIV class=gmail_extra><BR>
<DIV> </DIV></DIV></DIV></DIV></DIV></BODY></HTML>