Conversation
|
I already updated |
|
Ok, but the issue remains because we also need to replace @NLconstraint by @constraint ... |
|
We need to do that only if we want to switch to the new API. It's related to the PR #321. |
|
Yes and no, using @constraint for quadratic constraint is possibly a better modeling, the fact that use @NLconstraint was a hack. I don't think this is particularly connected to the new API. |
|
@NLconstraint was mandatory for quadratic constraints before MOI, it was not a hack. The new API is now doing the same thing but for all nonlinear constraints /objective. I merged the PR becasue we can test |
Close #72
Need JuliaSmoothOptimizers/NLPModelsJuMP.jl#181