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

Avoid views in jtprod! #453

Merged
merged 1 commit into from
Mar 26, 2024
Merged

Avoid views in jtprod! #453

merged 1 commit into from
Mar 26, 2024

Conversation

tmigot
Copy link
Member

@tmigot tmigot commented Feb 26, 2024

This would solve JuliaSmoothOptimizers/NLPModelsModifiers.jl#77

using NLPModels, NLPModelsModifiers, NLPModelsTest
nlp = NLSLC()
nls = FeasibilityFormNLS(nlp)
x = get_x0(nls)
y = get_y0(nls)
Jtv = similar(x)
jtprod!(nls, x, y, Jtv)
@allocated jtprod!(nls, x, y, Jtv) # 0

Connected to #384 .

Copy link

codecov bot commented Feb 26, 2024

Codecov Report

Attention: Patch coverage is 80.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 99.25%. Comparing base (361ccb7) to head (53d6aba).

Files Patch % Lines
src/nlp/api.jl 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #453      +/-   ##
==========================================
- Coverage   99.50%   99.25%   -0.25%     
==========================================
  Files          13       13              
  Lines         803      807       +4     
==========================================
+ Hits          799      801       +2     
- Misses          4        6       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

github-actions bot commented Feb 26, 2024

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

@tmigot tmigot requested a review from dpo February 27, 2024 00:08
@tmigot
Copy link
Member Author

tmigot commented Feb 27, 2024

The breakage fails because of the new releases of NLPModelsModifiers and to be NLPModelsTest ; I will re-run this when they arrive.

@tmigot tmigot closed this Mar 26, 2024
@tmigot tmigot reopened this Mar 26, 2024
@tmigot tmigot merged commit d6e949f into main Mar 26, 2024
103 of 105 checks passed
@tmigot tmigot deleted the up-jtprod! branch March 26, 2024 11:50
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