Skip to content
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

get error with NLSModels #415

Open
tmigot opened this issue Aug 24, 2022 · 2 comments
Open

get error with NLSModels #415

tmigot opened this issue Aug 24, 2022 · 2 comments
Labels

Comments

@tmigot
Copy link
Member

tmigot commented Aug 24, 2022

The definition of the getter https://github.com/JuliaSmoothOptimizers/NLPModels.jl/blob/main/src/nls/tools.jl is overloading the classical getter. So, we get:

julia> using NLPModels, NLPModelsTest

julia> nlp = LLS();

julia> (nlp.meta.nnzh, nlp.nls_meta.nnzh)
(2, 0)

julia> get_nnzh(nlp)
0

julia> nlp = NLSLC();

julia> (nlp.meta.nnzh, nlp.nls_meta.nnzh)
(120, 15)

julia> get_nnzh(nlp)
15

This is the error here JuliaSmoothOptimizers/NLPModelsTest.jl#60

@tmigot tmigot added the bug label Aug 24, 2022
@dpo
Copy link
Member

dpo commented Aug 24, 2022

What's NLSLC?

@tmigot
Copy link
Member Author

tmigot commented Aug 25, 2022

These are test problems from NLPModelsTest.jl https://github.com/JuliaSmoothOptimizers/NLPModelsTest.jl/tree/main/src/nls/problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants