[Ipopt] Multiple TNLP Instances Segfault

Stefan Vigerske stefan at math.hu-berlin.de
Tue Mar 26 05:24:08 EDT 2013


Hi,

On 03/25/2013 11:57 PM, Breannan Smith wrote:
> Thanks for the input, I'll see about putting together an isolated test case
> that recreates the issue.
>
> Does this also hold for instances of IpoptApplication? That is, can one
> create multiple instances of IpoptApplication in the same program and
> safely execute them in serial?

I hope so.

Stefan

>
> Best regards,
> Breannan Smith
>
>
> On Wed, Mar 20, 2013 at 6:42 PM, Stefan Vigerske
> <stefan at math.hu-berlin.de>wrote:
>
>> Hi,
>>
>> that sounds like a bug to me.
>> It would be good if you could open a ticket in the bugtracking system
>> about this (login at https://projects.coin-or.org/**Ipopt<https://projects.coin-or.org/Ipopt>,
>> then New Ticket), including some code snipets about what you tried. Best
>> would be some code to reproduce the issue.
>>
>> Stefan
>>
>>
>>
>> On 03/20/2013 10:16 PM, Breannan Smith wrote:
>>
>>> Dear Ipopt Community,
>>>
>>> If I instantiate multiple TNLP instances (with smart pointers and the
>>> IpoptApplicationFactory) that are executed in serial, my program
>>> segfaults. These segfaults seem to go away if I instead create a new
>>> instance of and subsequently delete each TNLP before running the next
>>> one.
>>>
>>> Is this behavior expected even for TNLPs executed in serial? I have
>>> seen warnings against executing multiple TNLPs in parallel, but not in
>>> serial.
>>>
>>> Best regards,
>>> Breannan Smith
>>> smith at cs.columbia.edu
>>> ______________________________**_________________
>>> Ipopt mailing list
>>> Ipopt at list.coin-or.org
>>> http://list.coin-or.org/**mailman/listinfo/ipopt<http://list.coin-or.org/mailman/listinfo/ipopt>
>>>
>>>
>>
>
>
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>



More information about the Ipopt mailing list