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

Bug in hessian structure #143

Closed
tmigot opened this issue Nov 9, 2022 · 2 comments · Fixed by #185
Closed

Bug in hessian structure #143

tmigot opened this issue Nov 9, 2022 · 2 comments · Fixed by #185
Labels
bug Something isn't working

Comments

@tmigot
Copy link
Member

tmigot commented Nov 9, 2022

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, 267043088], [1, 167116808])

julia> hess_structure(nlp)
([1, 331019536], [1, 269359968])

julia> hess_structure(nlp)
([1, 331019536], [1, 167149984])

julia> hess_structure(nlp)
([1, 331019536], [1, 167150048])

julia> hess_structure(nlp)
([1, 5124065472], [1, 5124065472])

Originally posted by @tmigot in JuliaSmoothOptimizers/CaNNOLeS.jl#43 (comment)

@amontoison
Copy link
Member

@tmigot
I found the bug when I worked on the support of quadratic constraints.
I opened a PR to fix it: #185
I will tag a new release after.

@tmigot
Copy link
Member Author

tmigot commented Jun 20, 2024

Great! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants