[Ipopt] Full Object Oriented Python wrapper of Ipopt?
Andreas Waechter
andreasw at watson.ibm.com
Wed Oct 27 10:57:02 EDT 2010
Hi Herb,
It is cool to hear that someone at NASA is looking at Ipopt! :-)
I do not know the details of the pyipopt interface, since I'm not a python
user. However, if there is only one feature missing (e.g., access to the
intermediate_callback method), you might want to contact the developer of
the pyipopt package and see if (s)he can help you to add this feature (or
even add this feature him/herself), to save yourself some work.
Nevertheless, it would certainly be great if we could add a python
interface to the Ipopt distribution. What it would require (apart from
actually writing the code :-) ) is that you are willing to maintain the
interface and answer to questions on the mailing list regarding this
interface, and that you can contribute the code under the Common Public
License (after checking with your employer). Sometimes, one also has to
be careful when using other third party code and it might not be possible
to distribute your code under different licenses (for example, SWIG seems
to be available under the GPL which is not compatible with the CPL).
Once you have the interface written and tested, I should contact me
directly and we can discuss the details. (I hope this paragraph does not
sound discouraging, but I'd rather raise these potential issues
immediately.)
Thanks, and best regards,
Andreas
On Wed, 27 Oct 2010, Herb Schilling wrote:
> Hello,
>
> I downloaded and looked at pyipopt. It looks useful but I doesn't
> support all of the features of the C++ version of Ipopt, in particular,
> the intermediate_callback method. I need that for what I am going to use
> Ipopt for.
>
> I really would like to use either SWIG or Boost.Python to create a
> wrapper around the C++ interface of Ipopt. I have started working on
> that but I thought I would check with the list to see if anyone has
> tried this before. I want to know what I am getting myself into !
>
> BTW, if I do get this done, I plan on contributing it back to the Ipopt
> project. I need to check on the legality of that though.
>
> Thanks for Ipopt and this list!
>
> -----------------------
> Herb Schilling
> hschilling at nasa.gov
>
>
>
>
More information about the Ipopt
mailing list