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

A minimal NLP interface to MOI? #1396

Closed
jd-foster opened this issue Jun 18, 2021 · 5 comments
Closed

A minimal NLP interface to MOI? #1396

jd-foster opened this issue Jun 18, 2021 · 5 comments
Milestone

Comments

@jd-foster
Copy link
Contributor

This is more a question than an issue...
There was a discussion with @mlubin at the NLopt repo around a designing an simpler API for nonlinear optimization based on MOI here: jump-dev/NLopt.jl#128 (comment)

How much interest do you think there would be for contributing/developing this? I can imagine there is a reasonably common use case where a non-expert user of optimization has a list of functions/vectors that form their objective and constraints, and they 'just' want to call a Julia function that 'solves' the problem using an MOI wrapped solver, without translating the problem directly into say JuMP. Mostly curious for perspectives; this functionality may also encourage solver/algorithm developers to hook into MOI.

@mohamed82008
Copy link
Contributor

Check out https://github.com/mohamed82008/Nonconvex.jl.

@odow
Copy link
Member

odow commented Jun 18, 2021

How much interest do you think there would be for contributing/developing this?

I'm sure there would be interest. But this seems like a case for a package other than MathOptInterface.

Nonconvex.jl is an excellent option.

Other options are:

Presumably one could also write an Optim interface to Ipopt.

There will be a section on nonlinear programming at the upcoming JuMP-dev. It should be a good starting point to get a lot of people interested in similar things together.

@jd-foster
Copy link
Contributor Author

Great links, thanks fellow Oceania optimisers. 😀

How "automatic" is the Nonconvex.jl link to MathOptInterface, in the sense that a new wrapped solver for MathOptInterface can be dropped in to a solve using Nonconvex?

@odow
Copy link
Member

odow commented Jun 21, 2021

How "automatic" is the Nonconvex.jl link to MathOptInterface

That might be something better discussed in the Nonconvex.jl repo.

I'm going to close this issue as out-of-scope for MathOptInterface. We should focus effort on this front into existing packages.

@odow odow closed this as completed Jun 21, 2021
@odow odow added this to the Nonlinear Rewrite milestone Jun 21, 2021
@jd-foster
Copy link
Contributor Author

No worries, I'll have a closer look at the other repos. Thanks again.

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

No branches or pull requests

3 participants