NLPModelsJuMP.jl
NLPModelsJuMP.jl copied to clipboard
Create NLPModels with JuMP
compare to `JuMP.all_variables`
Oh, I think the problem comes from the model actually. I did the following (a bit nervous) test: ``` julia> using NLSProblems, NLPModels julia> nlp = hs06() julia> hess_structure(nlp) ([1,...
We could probably simplify a few things using https://github.com/JuliaSmoothOptimizers/SparseMatricesCOO.jl - [ ] `SparseMatrixCOO` instead of `COO` https://github.com/JuliaSmoothOptimizers/NLPModelsJuMP.jl/blob/c05a30f503d990823407159492fd40b27fc2ee36/src/utils.jl#L28 - [ ] Move `coo_sym_dot` https://github.com/JuliaSmoothOptimizers/NLPModelsJuMP.jl/blob/c05a30f503d990823407159492fd40b27fc2ee36/src/utils.jl#L74 to https://github.com/JuliaSmoothOptimizers/SparseMatricesCOO.jl/blob/main/src/coo_linalg.jl - [ ] Move `coo_sym_add_mul!`...
In the `nls` model the following are apparently not covered by the unit tests: - [ ] https://github.com/JuliaSmoothOptimizers/NLPModelsJuMP.jl/blob/f842b9bf936ae33373c934b645cf42ba7ba10a12/src/moi_nls_model.jl#L373 - [ ] https://github.com/JuliaSmoothOptimizers/NLPModelsJuMP.jl/blob/f842b9bf936ae33373c934b645cf42ba7ba10a12/src/moi_nls_model.jl#L395 - [ ] https://github.com/JuliaSmoothOptimizers/NLPModelsJuMP.jl/blob/f842b9bf936ae33373c934b645cf42ba7ba10a12/src/moi_nls_model.jl#L418
It could be useful to treat separately quadratic and other nonlinear constraints. An open question is how to store all hessian of the quadratic constraints? - List of 2D COO...
One requirement for adding a solver to the JuMP docs is to run it through the MOI tests. For Percival, the tests are run in the test of this package....
This will help detect bugs in the NLPModel API ``` function NLPModels.cons_nln!(nlp::MathOptNLPModel, x::AbstractVector, c::AbstractVector) @lencheck nlp.meta.nvar x @lencheck nlp.meta.nnln c ... ```
This is just to simplify the code
Benoît suggests to use bridges for the support of `VectorNonlinearFunction`. It could be also relevant if we want to support complementarity constraints in the future. Oscar plans to implement a...