-
Notifications
You must be signed in to change notification settings - Fork 8
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
Update NLPModelsJuMP for MathOptInterface #38
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very small changes. I haven't checked the API changes, I'm trusting consistency
here.
@@ -2,6 +2,7 @@ using Documenter, NLPModelsJuMP | |||
|
|||
makedocs( | |||
modules = [NLPModelsJuMP], | |||
checkdocs = :exports, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without checkdocs = :exports
, documenter says that the documentation of replace!
is missing. And with strict = true
the build of the documentation is failing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a lot of changes at once. Here's a first round of comments. Many thanks for all this!!!
@@ -1,9 +1,7 @@ | |||
__precompile__() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does precompilation fail?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought that precompilation was done by default with the last versions of Julia, is it not the case?
@abelsiqueira @dpo
I also updated
Do I forget something or not? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that's it.
Project.toml
Outdated
MathProgBase = "0.7.6" | ||
NLPModels = "0.11" | ||
julia = "^1.0.0" | ||
JuMP = "0.21" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't it work with JuMP > 0.19
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works with JuMP 0.19, 0.20 and 0.21. But you asked me to leave only one version of JuMP.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I wasn't clear. I meant on the docs/Project.toml
to just leave the latest version. The main Project.toml
should handle more versions, to avoid conflicts.
@@ -4,9 +4,6 @@ task: | |||
name: FreeBSD | |||
env: | |||
matrix: | |||
- JULIA_VERSION: 1.0 | |||
- JULIA_VERSION: 1.1 | |||
- JULIA_VERSION: 1.2 | |||
- JULIA_VERSION: 1.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also add 1.4
now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you!
We need a new release of NLPModels first, right? @abelsiqueira
Yes, but Alexis asked for JuliaSmoothOptimizers/NLPModels.jl#257 before 0.12.0 |
Hooray!!! |
close #22
close #41