-
Notifications
You must be signed in to change notification settings - Fork 10
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
Fix nlpmodif compat #98
Conversation
@geoffroyleconte The update of what you sent me. Could you verify that it works with JuliaSmoothOptimizers/NLPModelsModifiers.jl#66 ? |
Besides, another thing would be to add |
Why the changes on the test problems? I think that QuadraticModels was supposed to work on them before. Also I don't think that the function |
I modified the problem using ADNLPModel, because there is now a specific constructor for the linear constraints. NLPModelsTest test the consistency of the current model, but it also test the consistency of the slack-version of the model, cf https://github.com/JuliaSmoothOptimizers/NLPModelsTest.jl/blob/c535a4ce22774dc9bc7fb9e720a30a68fa515888/src/nlp/consistency.jl#L15. There was a bug of the slack version of the ADNLPModel |
OK thanks! So the QuadraticModels.jl tests call |
Yes, the last issues are not coming from the QuadraticModels but from the ADModels you are comparing to. Weird, it does pass on my computer with the following config:
|
Oh ok my bad I did not take the right branch. This does work for me too. |
f7a058f
to
e59299d
Compare
Hey @geoffroyleconte ! It works well for me, now. |
No description provided.