[Ipopt] Matlab Interface
Enrico Bertolazzi
enrico.bertolazzi at unitn.it
Sun Nov 8 18:13:36 EST 2015
> Nevermind, I see it at https://github.com/ebertolazzi/mexIPOPT
>
> Note that if you used any of the existing Eclipse-licensed code from Ipopt, you cannot legally relicense a derived work under the more permissive BSD license.
I have rewritten the interface cause I need a working one on OSX
trying to maintain the same usability of the old one.
I have used BSD licence only for laziness in my rewritten code.
I think it is possible to use Eclipse license for files on MatlabCentral hosted on GitHub,
so to avoid license problem I will change the licence to Eclipse.
The interface is free for anyone want to use (and improve) it.
Thus, for me it doesn't matter to use GPL or other licenses.
> Matlab has always removed zeros from sparse matrices, and the old matlab interface did quite a bit of copying work to handle this.
probably I do not understand the original code.
However the rewritten interface seems to work well.
> Can you please post the code somewhere like github where it is easier to look at than the file exchange? It would be best if you had a clear history of incremental changes relative to the current matlab interface.
>
>
>
>
> On Sun, Nov 8, 2015 at 12:30 PM -0800, "Enrico Bertolazzi" <enrico.bertolazzi at unitn.it> wrote:
>
> All,
>
> I rewrite the Peter Carbonetto MATLAB interface for IPOPT.
> The new interface is available at:
>
> http://www.mathworks.com/matlabcentral/fileexchange/53040-ebertolazzi-mexipopt
>
> I rewrite the interface cause I have some problem in compiling it
> on OSX and find that interface fails on some problems.
> In the rewriting I tried to use STL for dynamic allocation and
> added some extra checks to improve robustness.
> The old interface assume that sparse pattern of sparse matrices
> is fixed while recent version of MATLAB seem to delete
> zero element on the pattern when passed to the interface.
> This explain why old interface sometimes fails.
> The new interface tries to manage this behaviour.
>
> I compiled successfully the interface in OSX and LINUX using
> MUMPS and MA57 (available in MATLAB).
>
> Instructions on how to compile the interface are contained in some
> readme files.
>
> The interface compile also in WINDOWS with Visual Studio (2013)
> but I am not able to link successfully with precompiled DLL
> available at http://www.coin-or.org.
> I successfully compiled and linked the interface using cygwin
> but the resulting mex-interface crashes, I am working to undestand why.
> I am not a user of windows OS, hence, the help of a WINDOWS expert
> would be appreciated.
>
>
> Enrico
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
More information about the Ipopt
mailing list