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

Add Counters to QuasiNewtonNLPModels #122

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

MaxenceGollier
Copy link

Discussed in #121

@tmigot
Copy link
Member

tmigot commented Jul 23, 2024

@MaxenceGollier thanks for the PR. Instead of adding manually counters to all structures. Would it be sufficient to add @default_counters AbstractDiagonalQNModel model right after @default_counters QuasiNewtonModel model?

Copy link
Contributor

github-actions bot commented Jul 23, 2024

Package name latest stable
ADNLPModels.jl
AmplNLReader.jl
CUTEst.jl
CaNNOLeS.jl
DCI.jl
FletcherPenaltySolver.jl
JSOSolvers.jl
LLSModels.jl
NLPModelsIpopt.jl
NLPModelsJuMP.jl
NLPModelsTest.jl
Percival.jl
QuadraticModels.jl
SolverBenchmark.jl
SolverTools.jl

@MaxenceGollier
Copy link
Author

What do you think of this solution @tmigot ?

Copy link
Member

@tmigot tmigot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @MaxenceGollier ! I suggest we don't throw away this PR, but use it to add unit tests on counters (that will be valid for the next NLPModels release).

test/nlp/quasi-newton.jl Show resolved Hide resolved
src/quasi-newton.jl Outdated Show resolved Hide resolved
test/nlp/quasi-newton.jl Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants