JuliaSmoothOptimizers / JuliaSmoothOptimizers/NLPModels.jl
Expensive jac_structure!
Open
enhancement
- Dominant language
- Julia
- Stars
- 191
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
Because of the linear API, the cost of the function `jac_structure!` is now prohibitive for large scale problems.
If we have as much linear constraints as nonlinear constraints, we need `2 * (ncon / 2)^2` comparisons (hidden in the calls to `count`).
https://github.com/JuliaSmoothOptimizers/NLPModels.jl/blob/ac1213a9902ad34bedbfae8fe039ac306a983c34/src/nlp/api.jl#L192-L221
Contributor guide
Assessment
This issue has not been assessed yet.