-
Hi, I'm using Ipopt through CasADi for optimal control problems (Matlab R2020b, macOS 11.2.1). I have installed the additional solvers from HSL. The solvers work with a simple NLP test problem. However, when I use them for my PhD project, I get a "Segmentation violation detected" and Matlab crashes. I'm trying to understand what causes this crash.. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I recall some problems with Lapack and using 32 vs 64 bit integer. Ipopt uses 32-bit int, while Matlab brings a Lapack implementation that uses 64 bit integers, so there are problems if the Lapack calls in Ipopt end up in Matlabs Lapack library. |
Beta Was this translation helpful? Give feedback.
I recall some problems with Lapack and using 32 vs 64 bit integer. Ipopt uses 32-bit int, while Matlab brings a Lapack implementation that uses 64 bit integers, so there are problems if the Lapack calls in Ipopt end up in Matlabs Lapack library.
And then there is also MA57 that is included in Matlab already and uses long integers.