[Ipopt] problem using the Matlab interface with limited-memory update option

Ian Washington washinid at MCMASTER.CA
Mon Oct 1 18:55:05 EDT 2012

Hi Ipopt Users,

I am having some problems with the matlab interface (the one in 
/Ipopt/contrib/MatlabInterface). The issue is whenever I use the limited 
memory bfgs update matlab crashes (without a crash report), i.e., it 
just closes.

I am using Ipopt 3.10.2 on Ubuntu 10.04 64bit with matlab R2010b 64bit. 
I compiled Ipopt using gcc 4.4 with the following specs (and set PATH 
and LD_LIBRARY_PATH appropriately),

./configure --prefix=/opt/Ipopt-3.10.2/install_x64_mat \
              --with-blas="/usr/lib/atlas/libblas.so.3gf.0" \
              --with-lapack="/usr/lib/atlas/liblapack.so.3gf.0" \
              --with-matlab-home="/opt/MATLAB/R2010b" \
              CC=gcc-4.4 CXX=g++-4.4 F77=gfortran-4.4 \
              ADD_CXXFLAGS="-ansi -D_GNU_SOURCE -fexceptions -fPIC 
-fno-omit-frame-pointer -pthread" \
              ADD_CFLAGS="-ansi -D_GNU_SOURCE -fexceptions -fPIC 
-fno-omit-frame-pointer -pthread" \
              ADD_FFLAGS="-fexceptions -fPIC -fno-omit-frame-pointer 

I also compiled the 64bit mex file using auto generated makefile (with 
no problems) and placed it on the matlab path. Running the provided test 
examples 'examplehs038.m', 'examplehs071.m', works fine; however, when I 
try  'examplehs051.m', which uses the limited-memory update, matlab 
immediately crashes.

I suspect I didn't configure the compiler settings properly.

If anyone has had the same issue, some advice would be much appreciated.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20121001/ee11bd23/attachment.html>

More information about the Ipopt mailing list