[Ipopt] Matlab-IPOPT interface

Stefan Vigerske stefan at math.hu-berlin.de
Sat Jun 8 06:40:12 EDT 2013


Hi,

On 06/07/2013 11:21 PM, xuey at andrew.cmu.edu wrote:
> Hi all,
>
> Does anyone have experience compiling matlab-IPOPT interface? I went
> through the instructions on coin-or website but seems I can't do that
> without recompiling IPOPT. Is that right?

Well, yes, at least it has not been setup that way.

> Can I compile the interface
> without doing anything to IPOPT and matlab I've been using? Thanks!

You could try copying the Makefile.in in contrib/MatlabInterface/src 
into Makefile and do modification as they would usually be done by 
configure, i.e., replace all the @...@ by something that suits to your 
Ipopt and Matlab installation.
This could be cumbersome an it is usually easier to just re-configure Ipopt.

Further, to have Ipopt work properly under Matlab, certain configuration 
options (e.g., --enable-static) should to be set when configuring the 
Ipopt build. This is done with the MatlabInterface.site file. It may be, 
that your existing Ipopt build is not suited for use under Matlab.

Finally, note that precompiled Ipopt/Matlab binaries are available at 
http://www.coin-or.org/download/binary/Ipopt

Stefan


>
> Best regards,
>
> Xue
> ----------------------------------
> Ph.D. Candidate
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>



More information about the Ipopt mailing list