Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
840f282
import SolverCore.reset! explicitely
MaxenceGollier Dec 7, 2025
8efcf8e
fix wrappedallcos macro for julia pre
MaxenceGollier Dec 7, 2025
8aa6057
bump version to 0.2.0
MaxenceGollier Nov 28, 2025
f10a129
revert to v0.1.0 and update author list
MaxenceGollier Nov 30, 2025
5bb1152
Fix author list formatting
MaxenceGollier Nov 30, 2025
c926938
Add Geoffroy to author list
MaxenceGollier Nov 30, 2025
ed73e61
Correct author email addresses in Project.toml
MaxenceGollier Dec 2, 2025
548f3f9
Update UUID in Project.toml
MaxenceGollier Dec 8, 2025
869eedc
update authors in citation file
MaxenceGollier Dec 9, 2025
a32551e
remove typo in citation.bib
MaxenceGollier Dec 9, 2025
51e63b8
Add RegularizedOptimization dependency and source path in Project.toml
MohamedLaghdafHABIBOULLAH Jan 4, 2026
7e8a235
add run-example workflow
MaxenceGollier Jan 15, 2026
2219cb8
remove workflows
MaxenceGollier Jan 15, 2026
3b3afdc
remove untracked
MaxenceGollier Jan 15, 2026
02ae331
remove other untracked files
MaxenceGollier Jan 15, 2026
d6f868c
update run example
MaxenceGollier Jan 15, 2026
cc5511e
update run example to accept ml datasets and remove lts
MaxenceGollier Jan 15, 2026
e036f22
fix run-example workflow
MaxenceGollier Jan 16, 2026
f465540
add fix
MaxenceGollier Jan 16, 2026
93aa5a6
other fix
MaxenceGollier Jan 16, 2026
6d180f9
add environment var to always accept
MaxenceGollier Jan 16, 2026
3ab941d
set 1 thread for BLAS
MaxenceGollier Jan 16, 2026
7ab05da
try switching to MKL
MaxenceGollier Jan 16, 2026
c24ee01
Revert "try switching to MKL"
MaxenceGollier Jan 16, 2026
e0f6d8d
Revert "set 1 thread for BLAS"
MaxenceGollier Jan 16, 2026
3ba2295
run example on julia 1.11.7
MaxenceGollier Jan 16, 2026
ee570e7
add a step to run the benchmark as well
MaxenceGollier Jan 22, 2026
5e47668
execute function main
MaxenceGollier Jan 22, 2026
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
31 changes: 0 additions & 31 deletions .github/workflows/draft-pdf.yml

This file was deleted.

52 changes: 47 additions & 5 deletions .github/workflows/run-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,53 @@ on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
placeholder:
runs-on: ubuntu-latest
example:
name: Run example.jl (${{ matrix.version }} - ${{ matrix.os }})
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
version: ['1', '1.11.7']
os: [ubuntu-latest, macOS-latest, windows-latest]

steps:
- name: Placeholder
- uses: actions/checkout@v4

- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}

- uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-example-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-example-${{ env.cache-name }}-
${{ runner.os }}-example-
${{ runner.os }}-


- name: Instantiate example environment
run: |
echo "CompareBenchmarks workflow placeholder"
echo "This workflow will be implemented in a future update.":
julia --project=paper/examples -e "using Pkg; Pkg.instantiate()"

- name: Run example.jl
run: |
julia --project=paper/examples -e '
ENV["MLDATASETS_ACCEPT_ALL"]="true";
ENV["DATADEPS_ALWAYS_ACCEPT"]="true";
include("paper/examples/example.jl")
'

- name: Run benchmark.jl
run: |
julia --project=paper/examples -e '
ENV["MLDATASETS_ACCEPT_ALL"]="true";
ENV["DATADEPS_ALWAYS_ACCEPT"]="true";
include("paper/examples/Benchmark.jl");
main()
'

43 changes: 0 additions & 43 deletions .github/workflows/wordcount.yml

This file was deleted.

4 changes: 2 additions & 2 deletions CITATION.bib
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@Misc{baraldi-leconte-orban-regularized-optimization-2024,
author = {R. Baraldi and G. Leconte and D. Orban},
@Misc{baraldi-diouane-gollier-habiboullah-leconte-orban-regularized-optimization-2024,
author = {R. Baraldi and Y. Diouane and M. Gollier and M. L. Habiboullah and G. Leconte and D. Orban},
title = {{RegularizedOptimization.jl}: Algorithms for Regularized Optimization},
month = {September},
howpublished = {\url{https://github.com/JuliaSmoothOptimizers/RegularizedOptimization.jl}},
Expand Down
9 changes: 7 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name = "RegularizedOptimization"
uuid = "196f2941-2d58-45ba-9f13-43a2532b2fa8"
author = ["Robert Baraldi <rbaraldi@uw.edu> and Dominique Orban <dominique.orban@gmail.com>"]
uuid = "20620ad1-4fe4-4467-ae46-fb087718fe7b"
author = ["Robert Baraldi <rbaraldi@uw.edu>",
"Youssef Diouane <youssef.diouane@polymtl.ca>",
"Maxence Gollier <maxence-2.gollier@polymtl.ca>",
"Mohamed Laghdaf Habiboullah <mohamed-laghdaf-2.habiboullah@polymtl.ca>",
"Geoffroy Leconte <geoffroy.leconte@polymtl.ca>",
"Dominique Orban <dominique.orban@gmail.com>"]
version = "0.1.0"

[deps]
Expand Down
5 changes: 5 additions & 0 deletions paper/examples/Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
[deps]
LaTeXStrings = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f"
MLDatasets = "eb30cadb-4394-5ae3-aed4-317e484a6458"
NLPModels = "a4795742-8479-5a88-8948-cc11e1c8c1a6"
NLPModelsModifiers = "e01155f1-5c6f-4375-a9d8-616dd036575f"
PrettyTables = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d"
RegularizedOptimization = "196f2941-2d58-45ba-9f13-43a2532b2fa8"
RegularizedProblems = "ea076b23-609f-44d2-bb12-a4ae45328278"
ShiftedProximalOperators = "d4fd37fa-580c-4e43-9b30-361c21aae263"

[sources]
RegularizedOptimization = {path = "../.."}
2 changes: 2 additions & 0 deletions src/RegularizedOptimization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ using LinearOperators,
SolverCore
using Percival: AugLagModel, update_y!, update_μ!

import SolverCore.reset!

const callback_docstring = "
The callback is called at each iteration.
The expected signature of the callback is `callback(nlp, solver, stats)`, and its output is ignored.
Expand Down
1 change: 1 addition & 0 deletions test/test_allocs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ macro wrappedallocs(expr)
kwargs_dict = Dict{Symbol, Any}(a.args[1] => a.args[2] for a in kwargs if a.head == :kw)
quote
function g($(argnames...); kwargs_dict...)
$(Expr(expr.head, argnames..., kwargs...)) # Call the function twice to make the allocated macro more stable
@allocated $(Expr(expr.head, argnames..., kwargs...))
end
$(Expr(:call, :g, [esc(a) for a in args]...))
Expand Down
Loading