Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish Nlopt wrappers of old revrand project as separate package #133

Open
dschmitz89 opened this issue Mar 19, 2021 · 4 comments
Open

Comments

@dschmitz89
Copy link

Hey guys,

searching for nlopt Python tutorials I found this wrapper which at some time belonged to the revrand project apparently:
https://www.earthbyte.org/webdav/ftp/Data_Collections/Dutkiewicz_etal_2016_G3/revrand-master/revrand/optimize/nlopt_wrap.py

In a nutshell, the wrapper enables to call nlopt algorithms with the scipy.optimize.minimize API that has become the de facto standard in Python. It makes it a lot easier for everyone familiar with this API to use nlopt.

I find that code very useful and would like to make it more accessible by a dedicated repo/package and a few minor extensions. As I am not that familiar with licensing, I wanted to ask you what the process would have to be. The code seems to be Apache licensed, so in my understanding it should be possible given the reference to the authors.

I hope this is the right place to ask!

@dsteinberg
Copy link
Contributor

Hi @dschmitz89 !

I'm really glad you found this wrapper useful! If memory serves, it was mainly the effort of @ltiao .

Yeah it looks like the version of revrand in that link is still Apache 2.0 - so I don't think it would be an issue with the copyright owners (CSIRO now).

I think as long as you follow the terms of the license what you propose is fine :-)

@dschmitz89
Copy link
Author

Thank you, Daniel, will give you guys a heads up here when I publish on github!

@dschmitz89
Copy link
Author

Hey guys,

my package is available on Github now under Apache 2 license: https://github.com/dschmitz89/simplenlopt
Docu: https://simplenlopt.readthedocs.io/en/latest/index.html

Some parts still need some polishing, especially a PyPI build.

Let me know if the license needs to be more clear or if you have any other suggestions to improve it further :)

@ltiao
Copy link
Collaborator

ltiao commented Jun 28, 2021

Hey @dschmitz89, this looks great! I'll try to incorporate it in my upcoming project and let you know how it goes :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants