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

Remove test on counters if redefined #58

Merged
merged 1 commit into from
Aug 21, 2022
Merged

Remove test on counters if redefined #58

merged 1 commit into from
Aug 21, 2022

Conversation

tmigot
Copy link
Member

@tmigot tmigot commented Aug 18, 2022

Addind linear_api = true to the models, there is only this blocking.

In particular, because of JuliaSmoothOptimizers/NLPModels.jl#384 we sometimes re-implement without using the linear/nonlinear functions. This works fine except for the counters.

For instance, reimplementing jtprod, all the situations are possible:

  • don't use jtprod_lin or jtprod_nln
  • use jtprod_nln only (say you have the linear structure stored in the model already)
  • use both jtprod_lin and jtprod_nln

So, I suggest we just skip.

@codecov
Copy link

codecov bot commented Aug 18, 2022

Codecov Report

Base: 99.22% // Head: 99.18% // Decreases project coverage by -0.03% ⚠️

Coverage data is based on head (3d3ba0b) compared to base (a0a57bc).
Patch coverage: 88.88% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #58      +/-   ##
==========================================
- Coverage   99.22%   99.18%   -0.04%     
==========================================
  Files          25       25              
  Lines        2957     2959       +2     
==========================================
+ Hits         2934     2935       +1     
- Misses         23       24       +1     
Impacted Files Coverage Δ
src/nlp/consistency.jl 99.03% <88.88%> (-0.16%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link
Contributor

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

Copy link
Member

@dpo dpo left a comment

Choose a reason for hiding this comment

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

Makes sense. Thanks.

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