[Ipopt] [Coin-discuss] Trouble with C interface: glibc memory corruption error

John Pye john.pye at anu.edu.au
Wed May 28 21:21:24 EDT 2008


Andreas Waechter wrote:
> Hi John,
>
> My guess would be that there is wrong use of Ipopt's SmartPtr's.
> Please read the section on SmartPtr in the Ipopt documentation carefully,
>
> http://www.coin-or.org/Ipopt/documentation/node57.html
>
> The main point is that if you create any of the Ipopt objects (which
> inherit from ReferencedObject), you must use a SmartPtr to store the
> object in when you get it from "new".

But I'm using the C interface, right, so do I still need to pass
SmartPtrs to CreateIpoptProblem?

Cheers
JP



More information about the Ipopt mailing list