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 PANOCpluc benchmarks #75

Merged
merged 3 commits into from
Feb 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 19 additions & 11 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: >-
ProximalAlgorithms.jl: Proximal algorithms for
nonsmooth optimization in Julia
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- family-names: Stella
given-names: Lorenzo
title: ProximalAlgorithms.jl: Proximal algorithms for nonsmooth optimization in Julia
- given-names: Lorenzo
family-names: Stella
repository-code: >-
https://github.com/JuliaFirstOrder/ProximalAlgorithms.jl
keywords:
- Proximal Algorithms
- Nonsmooth Optimization
- Julia
type: software
license: MIT Expat
repository-code: https://github.com/JuliaFirstOrder/ProximalAlgorithms.jl
message: If you use this software, please cite it using the metadata from this file.
cff-version: 1.2.0
- proximal algorithms
- optimization
- julia
license: MIT
7 changes: 7 additions & 0 deletions benchmark/benchmarks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ for (benchmark_name, file_name) in [
g = NormL1($lam)
end

SUITE[k]["PANOCplus"] = @benchmarkable solver(x0=x0, f=f, A=$A, g=g) setup=begin
solver = ProximalAlgorithms.PANOCplus(tol=1e-6)
x0 = zeros($T, size($A, 2))
f = Translate(SqrNormL2(), -$b)
g = NormL1($lam)
end

SUITE[k]["DouglasRachford"] = @benchmarkable solver(x0=x0, f=f, g=g, gamma=$R(1)) setup=begin
solver = ProximalAlgorithms.DouglasRachford(tol=1e-6)
x0 = zeros($T, size($A, 2))
Expand Down