Skip to content

Conversation

dpo
Copy link
Member

@dpo dpo commented Sep 8, 2024

@MohamedLaghdafHABIBOULLAH Does this solve your allocation issue?

Copy link
Contributor

github-actions bot commented Sep 8, 2024

Package name latest stable
CaNNOLeS.jl
DCISolver.jl
FletcherPenaltySolver.jl
JSOSolvers.jl
Krylov.jl
NLPModels.jl
NLPModelsModifiers.jl
PROPACK.jl
Percival.jl
QuadraticModels.jl
SolverTools.jl

@MohamedLaghdafHABIBOULLAH
Copy link
Contributor

Yes, it seems to be solving the issue! Thank you @dpo.

julia> n = 10
10

julia> mem = 5
5

julia> B = LSR1Operator(n, mem = mem, scaling = false)
Linear operator
  nrow: 10
  ncol: 10
  eltype: Float64
  symmetric: true
  hermitian: true
  nprod:   0
  ntprod:  0
  nctprod: 0



julia> y = ones(n);

julia> x = 2 * ones(n);

julia> @wrappedallocs push!(B, y, x)
288

julia> @wrappedallocs push!(B, y, x)
0

@dpo dpo merged commit 4c92b94 into main Sep 8, 2024
51 checks passed
@dpo dpo deleted the lsr1-allocs branch September 8, 2024 20:33
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