JuliaSmoothOptimizers / JuliaSmoothOptimizers/NLPModels.jl

Duplicate names in `NLSMeta` make `get_*` getters ambiguous

Open
#558 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
191
Forks
38
PR merge metrics
No merged PRs in 30d

Description

Currently for any given `NLSModel`, `get_nnzj(nls)` returns the number of nonzeros in the residual jacobian and this shadows the `get_nnzj` from the `NLPModelMeta`. I think the fields in `NLSModelMeta` should be prefixed (or postfixed, I have no strong opinions) with `residual`, or the getters defined in `nls/tools.jl` should be prefixed with `get_nls_` instead of `get_`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.