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

Experiment with converting to NLopt instead of JuMP #72

Open
fonsp opened this issue May 24, 2021 · 0 comments
Open

Experiment with converting to NLopt instead of JuMP #72

fonsp opened this issue May 24, 2021 · 0 comments

Comments

@fonsp
Copy link
Member

fonsp commented May 24, 2021

Right now, margo's optimization is done using JuMP, but we want to use NLOpt.jl instead. The two reasons are:

  • Currently, the model has to be written twice in the source code of ClimateMARGO.jl: once in Julia functions, and once in the JuMP syntax. We tried calling the Julia functions from JuMP to avoid this problem, but the performance impact of connecting the two is too large: Coherent & concise JuMPification of MARGO? #18
  • JuMP will find a local optimum, but we want a global optimum. We suspect that the current local optima are global, but for different parameter values, this might not be the case. NLOpt.jl can do global optimization. (@hdrake can say more)
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

1 participant