<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Dragos,<br>
<br>
I could run your code through a memory checker, such as "valgrind"
on Linux. If it turns out that the segfault is indeed caused by
Ipopt code, please submit a ticket with a bugfix or a simple program
to reproduce the problem.<br>
<br>
Thanks,<br>
<br>
Andreas<br>
<pre class="moz-signature" cols="72">Andreas Waechter
Associate Professor
Department of Industrial Engineering and Management Sciences
McCormick School of Engineering
Northwestern University
Evanston, IL 60208
USA</pre>
<br>
On 04/06/2012 10:43 AM, Dragos Clipici wrote:
<blockquote
cite="mid:CALG7ap-xHX9u_3E2KnakNCJ1AgmnVdvd4NhH0rzW3xM03BHJcA@mail.gmail.com"
type="cite">
<p
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0.5em;padding-right:0px;padding-bottom:0.5em;padding-left:0px;text-align:left;border-top-color:rgb(221,228,235);border-right-color:rgb(221,228,235);border-bottom-color:rgb(221,228,235);border-left-color:rgb(221,228,235);color:rgb(51,51,51);font-family:Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(249,249,249)">Good
evening,</p>
<p
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0.5em;padding-right:0px;padding-bottom:0.5em;padding-left:0px;text-align:left;border-top-color:rgb(221,228,235);border-right-color:rgb(221,228,235);border-bottom-color:rgb(221,228,235);border-left-color:rgb(221,228,235);color:rgb(51,51,51);font-family:Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(249,249,249)">I'm
trying to develop C code for solving some distributed
optimization problems which employs IPOPT.</p>
<p
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0.5em;padding-right:0px;padding-bottom:0.5em;padding-left:0px;text-align:left;border-top-color:rgb(221,228,235);border-right-color:rgb(221,228,235);border-bottom-color:rgb(221,228,235);border-left-color:rgb(221,228,235);color:rgb(51,51,51);font-family:Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(249,249,249)">I'm
trying to solve problems in a FOR loop ( at each step i define
a new Ipopt problem and then i free it with FreeIpoptProblem),
but after the first step the IPOPT solver starts and i get a
segmentation fault.</p>
<p
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0.5em;padding-right:0px;padding-bottom:0.5em;padding-left:0px;text-align:left;border-top-color:rgb(221,228,235);border-right-color:rgb(221,228,235);border-bottom-color:rgb(221,228,235);border-left-color:rgb(221,228,235);color:rgb(51,51,51);font-family:Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(249,249,249)">Everything
in the first step runs just dandy, i get
status==Solve_Succeeded, etc.</p>
<p
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0.5em;padding-right:0px;padding-bottom:0.5em;padding-left:0px;text-align:left;border-top-color:rgb(221,228,235);border-right-color:rgb(221,228,235);border-bottom-color:rgb(221,228,235);border-left-color:rgb(221,228,235);color:rgb(51,51,51);font-family:Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(249,249,249)">I
tried it as direct code in my main function, then i defined a
separate function where i call Ipoptsolve, but to no avail, same
result.</p>
<p
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0.5em;padding-right:0px;padding-bottom:0.5em;padding-left:0px;text-align:left;border-top-color:rgb(221,228,235);border-right-color:rgb(221,228,235);border-bottom-color:rgb(221,228,235);border-left-color:rgb(221,228,235);color:rgb(51,51,51);font-family:Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(249,249,249)">Has
anyone encountered this issue before?</p>
<p
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0.5em;padding-right:0px;padding-bottom:0.5em;padding-left:0px;text-align:left;border-top-color:rgb(221,228,235);border-right-color:rgb(221,228,235);border-bottom-color:rgb(221,228,235);border-left-color:rgb(221,228,235);color:rgb(51,51,51);font-family:Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(249,249,249)">Any
advice would be appreciated, thanks.</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Ipopt mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/ipopt">http://list.coin-or.org/mailman/listinfo/ipopt</a>
</pre>
</blockquote>
</body>
</html>