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 field in default counters macro #470

Merged
merged 3 commits into from
Jul 25, 2024

Conversation

MaxenceGollier
Copy link
Contributor

We discussed this in NLPModelsModifiers#121.

The macro default_counters should now add the field counters to Model.
I think this is the easiest solution.

If you are ok with this, could we update this package version for compatibility with NLPModelsModifiers.jl ?

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 , great idea!
Did you test it with NLPModelsModifiers?
Also, can you add a test for this here

@testset "Increase coverage of default_NLPcounters" begin
?

@MaxenceGollier
Copy link
Contributor Author

Thanks @MaxenceGollier , great idea! Did you test it with NLPModelsModifiers? Also, can you add a test for this here

@testset "Increase coverage of default_NLPcounters" begin

?

Yes, it works !
Okay for adding tests

Copy link
Contributor

Package name latest stable
ADNLPModels.jl
AmplNLReader.jl
CUTEst.jl
CaNNOLeS.jl
DCISolver.jl
FletcherPenaltySolver.jl
JSOSolvers.jl
LLSModels.jl
NLPModelsIpopt.jl
NLPModelsJuMP.jl
NLPModelsModifiers.jl
NLPModelsTest.jl
PDENLPModels.jl
Percival.jl
QuadraticModels.jl
SolverBenchmark.jl
SolverCore.jl
SolverTest.jl
SolverTools.jl

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.

LGTM, thanks!

@tmigot tmigot changed the title Add Compare field in default counters macro Add counters field in default counters macro Jul 25, 2024
@tmigot tmigot merged commit 508033b into JuliaSmoothOptimizers:main Jul 25, 2024
49 of 53 checks passed
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.

2 participants