[Ipopt] Regarding making IPOpt work in MATLAB inside Linux

Chinmay Rajhans Official rajhanschinmay2 at gmail.com
Thu Feb 1 05:32:19 EST 2018


To: all,

I am trying to install / configure IPOpt in MATLAB inside Linux Ubuntu 32
bit OS.

I followed all the steps of installation. Installation of IPOpt was
successful.

I am trying to follow the steps of MATLAB interface.
I configured ipopt using option:
../configure --with-matlab-home=$MATLAB$ ADD_FFLAGS="-static-libgcc"
CDEFS="-DWITHOUT_PTHREAD=1"
where $MATLAB$ is replaced by MATLAB full path.

I run mex - setup inside MATLAB. Till this, everything works fine.

I went inside directory, Ipopt/contrib/MatlabInterface/examples
and tried to run examplehs038.m

I am getting error:
??? Undefined function or method 'ipopt' for input arguments of type
'struct'.

Can anyone help in this regard.

Thank you in advance.

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


More information about the Ipopt mailing list