[Ipopt] Crash in Matlab Interface for larger problems

Patrick Kugler patrick.kugler at informatik.uni-erlangen.de
Tue Apr 2 04:27:20 EDT 2013


Hi Tony,

great, this solved the problem. Changing the jacobianstructure to double() as workaround fixes the issue.
I did some checking and the problem was also present in Win32 and Win64 environments, so nothing mac-specific. 

Thanks again for the quick response!

Patrick

On 30.03.2013, at 12:48, Tony Kelman <kelman at berkeley.edu> wrote:

> Patrick,
> 
> Aha! Jonathan Currie just got to the bottom of the memcpy issue I mentioned, and it may be what you're running into. It's similar to a previously seen and fixed bug (https://projects.coin-or.org/Ipopt/ticket/187) with sparse gradients, and we can fix it in Ipopt trunk without too much trouble. In the meantime as a workaround, check and make sure that your initial condition vector X0 is full(), and that your jacobianstructure and/or hessianstructure callbacks return double() sparse matrices, not logical data types.
> 
> -Tony 




More information about the Ipopt mailing list