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

Could a similar approach be used to provide nlopt for Julia? #1

Closed
dmbates opened this issue Mar 2, 2013 · 2 comments
Closed

Could a similar approach be used to provide nlopt for Julia? #1

dmbates opened this issue Mar 2, 2013 · 2 comments
Labels

Comments

@dmbates
Copy link

dmbates commented Mar 2, 2013

I was wondering if the approach of using a global object until such time as cfunction can support a closure could also be used to generate a Julia package for the nlopt library? I would be willing to help in whatever way I can on such a project (although I realize it may be faster for you to work on it alone) because I really want to be able to optimize a nonlinear function subject to box constraints.

@stevengj
Copy link
Member

stevengj commented Mar 2, 2013

Yes, it could. The main thing at this point (other than coding, of course), is to decide what the NLopt interface in Julia should look like.

@stevengj
Copy link
Member

Actually, it is now (in Julia 0.2) possible to pass true closures with Julia, with the help of the void* pass-through arguments in the cubature or NLopt code, although the syntax is still slightly in flux (see Julia issue #2554).

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

No branches or pull requests

2 participants