From e17f699169c80834d6a10ba212adb0171b42aea6 Mon Sep 17 00:00:00 2001 From: Maxence Gollier <134112149+MaxenceGollier@users.noreply.github.com> Date: Wed, 25 Feb 2026 21:27:37 -0500 Subject: [PATCH 01/10] Update TeX Live setup action in workflow switch from deprecated action teatimeguest/setup-texlive-action@v3 to zauguin/install-texlive@v4 --- .github/workflows/demos.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/demos.yml b/.github/workflows/demos.yml index 194323e5..15c62502 100644 --- a/.github/workflows/demos.yml +++ b/.github/workflows/demos.yml @@ -34,8 +34,8 @@ jobs: ${{ runner.os }}-test-${{ env.cache-name }}- ${{ runner.os }}-test- ${{ runner.os }}- - - name: Setup TeX Live - uses: teatimeguest/setup-texlive-action@v3 + - name: Install TeX Live + uses: zauguin/install-texlive@v4 with: packages: >- scheme-minimal From 88e7472a087c79cf4c61ad078c94cf7ac759abdb Mon Sep 17 00:00:00 2001 From: Maxence Gollier <134112149+MaxenceGollier@users.noreply.github.com> Date: Wed, 25 Feb 2026 21:40:59 -0500 Subject: [PATCH 02/10] Activate Julia project in demo workflow Activate the project environment before instantiating packages. --- .github/workflows/demos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/demos.yml b/.github/workflows/demos.yml index 15c62502..31521b4b 100644 --- a/.github/workflows/demos.yml +++ b/.github/workflows/demos.yml @@ -53,7 +53,7 @@ jobs: - name: Develop package run: | using Pkg - Pkg.develop(path = ".") + Pkg.activate(path = ".") Pkg.instantiate() shell: julia --project="examples" --color=yes {0} - name: Run BPDN demo From efc5175b113c9b6dc52bdb8660746a62e32857da Mon Sep 17 00:00:00 2001 From: Maxence Gollier <134112149+MaxenceGollier@users.noreply.github.com> Date: Wed, 25 Feb 2026 21:42:14 -0500 Subject: [PATCH 03/10] Fix syntax for Pkg.activate in demos.yml --- .github/workflows/demos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/demos.yml b/.github/workflows/demos.yml index 31521b4b..09d33695 100644 --- a/.github/workflows/demos.yml +++ b/.github/workflows/demos.yml @@ -53,7 +53,7 @@ jobs: - name: Develop package run: | using Pkg - Pkg.activate(path = ".") + Pkg.activate(".") Pkg.instantiate() shell: julia --project="examples" --color=yes {0} - name: Run BPDN demo From a5174ad9b84a95cc8815134253fca21f1c7fd38e Mon Sep 17 00:00:00 2001 From: Maxence Gollier <134112149+MaxenceGollier@users.noreply.github.com> Date: Wed, 25 Feb 2026 21:45:20 -0500 Subject: [PATCH 04/10] Rename develop package step to instantiate project --- .github/workflows/demos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/demos.yml b/.github/workflows/demos.yml index 09d33695..cb6203c8 100644 --- a/.github/workflows/demos.yml +++ b/.github/workflows/demos.yml @@ -50,7 +50,7 @@ jobs: epstopdf-pkg # - name: Setup tmate session # uses: mxschmitt/action-tmate@v3 - - name: Develop package + - name: Instantiate project run: | using Pkg Pkg.activate(".") From 12674ca62d1a4d44f51776791cdb2bc6dd189c5b Mon Sep 17 00:00:00 2001 From: Maxence Gollier <134112149+MaxenceGollier@users.noreply.github.com> Date: Wed, 25 Feb 2026 21:48:12 -0500 Subject: [PATCH 05/10] Simplify demo script paths in workflows --- .github/workflows/demos.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/demos.yml b/.github/workflows/demos.yml index cb6203c8..b0bd9d59 100644 --- a/.github/workflows/demos.yml +++ b/.github/workflows/demos.yml @@ -58,23 +58,19 @@ jobs: shell: julia --project="examples" --color=yes {0} - name: Run BPDN demo run: | - pkg_path = dirname(Base.find_package("RegularizedOptimization")) - include(joinpath(pkg_path, "..", "examples", "demo-bpdn.jl")) + include("examples/demo-bpdn.jl") shell: julia --project="examples" --color=yes {0} - name: Run contrained BPDN demo run: | - pkg_path = dirname(Base.find_package("RegularizedOptimization")) - include(joinpath(pkg_path, "..", "examples", "demo-bpdn-constr.jl")) + include("examples/demo-bpdn-constr.jl") shell: julia --project="examples" --color=yes {0} #- name: Run FH demo # run: | - # pkg_path = dirname(Base.find_package("RegularizedOptimization")) - # include(joinpath(pkg_path, "..", "examples", "demo-fh.jl")) + # include("examples/demo-fh.jl") # shell: julia --project="examples" --color=yes {0} - name: Run NNMF demo run: | - pkg_path = dirname(Base.find_package("RegularizedOptimization")) - include(joinpath(pkg_path, "..", "examples", "demo-nnmf-constr.jl")) + include("examples/demo-nnmf-constr.jl") shell: julia --project="examples" --color=yes {0} - name: Upload results uses: actions/upload-artifact@v4 From 9fd667fadafe24114fd135992f2d18cca10e9bea Mon Sep 17 00:00:00 2001 From: Maxence Gollier <134112149+MaxenceGollier@users.noreply.github.com> Date: Wed, 25 Feb 2026 21:55:41 -0500 Subject: [PATCH 06/10] Fix syntax for running BPDN demo in workflow --- .github/workflows/demos.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/demos.yml b/.github/workflows/demos.yml index b0bd9d59..f9a49a3c 100644 --- a/.github/workflows/demos.yml +++ b/.github/workflows/demos.yml @@ -58,8 +58,9 @@ jobs: shell: julia --project="examples" --color=yes {0} - name: Run BPDN demo run: | - include("examples/demo-bpdn.jl") - shell: julia --project="examples" --color=yes {0} + julia --project=examples -e ' + include("examples/demo-bpdn.jl") + ' - name: Run contrained BPDN demo run: | include("examples/demo-bpdn-constr.jl") From 013fe1f7de8be55aa0ca59567140cce8975fe15e Mon Sep 17 00:00:00 2001 From: Maxence Gollier <134112149+MaxenceGollier@users.noreply.github.com> Date: Wed, 25 Feb 2026 22:00:17 -0500 Subject: [PATCH 07/10] Simplify project instantiation in demos.yml Remove unnecessary Pkg.activate call in workflow. --- .github/workflows/demos.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/demos.yml b/.github/workflows/demos.yml index f9a49a3c..5777d9f7 100644 --- a/.github/workflows/demos.yml +++ b/.github/workflows/demos.yml @@ -53,7 +53,6 @@ jobs: - name: Instantiate project run: | using Pkg - Pkg.activate(".") Pkg.instantiate() shell: julia --project="examples" --color=yes {0} - name: Run BPDN demo From b0868698119cc19d2074f3b43e2bea933789272b Mon Sep 17 00:00:00 2001 From: Maxence Gollier <134112149+MaxenceGollier@users.noreply.github.com> Date: Wed, 25 Feb 2026 22:03:54 -0500 Subject: [PATCH 08/10] Update RegularizedOptimization UUID and compat version --- examples/Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Project.toml b/examples/Project.toml index 1fc96131..365f5e4e 100644 --- a/examples/Project.toml +++ b/examples/Project.toml @@ -5,7 +5,7 @@ NLPModels = "a4795742-8479-5a88-8948-cc11e1c8c1a6" NLPModelsModifiers = "e01155f1-5c6f-4375-a9d8-616dd036575f" PGFPlots = "3b7a836e-365b-5785-a47d-02c71176b4aa" ProximalOperators = "a725b495-10eb-56fe-b38b-717eba820537" -RegularizedOptimization = "196f2941-2d58-45ba-9f13-43a2532b2fa8" +RegularizedOptimization = "20620ad1-4fe4-4467-ae46-fb087718fe7b" RegularizedProblems = "ea076b23-609f-44d2-bb12-a4ae45328278" ShiftedProximalOperators = "d4fd37fa-580c-4e43-9b30-361c21aae263" @@ -16,6 +16,6 @@ NLPModels = "0.19, 0.20, 0.21" NLPModelsModifiers = "0.7" PGFPlots = "^3.4" ProximalOperators = "0.15" -RegularizedOptimization = "0.1" +RegularizedOptimization = "0.1, 0.2" RegularizedProblems = "0.1" ShiftedProximalOperators = "0.2" From 40a15594a05f51630262aef04e7b64e4e1e781af Mon Sep 17 00:00:00 2001 From: Maxence Gollier <134112149+MaxenceGollier@users.noreply.github.com> Date: Wed, 25 Feb 2026 22:04:46 -0500 Subject: [PATCH 09/10] Update Julia project instantiation in workflow --- .github/workflows/demos.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/demos.yml b/.github/workflows/demos.yml index 5777d9f7..dea7a02a 100644 --- a/.github/workflows/demos.yml +++ b/.github/workflows/demos.yml @@ -53,6 +53,7 @@ jobs: - name: Instantiate project run: | using Pkg + Pkg.develop(".") Pkg.instantiate() shell: julia --project="examples" --color=yes {0} - name: Run BPDN demo From 664e7f635fdb6d650cdf66c7575b8d083a319e57 Mon Sep 17 00:00:00 2001 From: Maxence Gollier <134112149+MaxenceGollier@users.noreply.github.com> Date: Wed, 25 Feb 2026 22:05:47 -0500 Subject: [PATCH 10/10] Fix syntax for Pkg.develop in demos.yml --- .github/workflows/demos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/demos.yml b/.github/workflows/demos.yml index dea7a02a..d54ca968 100644 --- a/.github/workflows/demos.yml +++ b/.github/workflows/demos.yml @@ -53,7 +53,7 @@ jobs: - name: Instantiate project run: | using Pkg - Pkg.develop(".") + Pkg.develop(path = ".") Pkg.instantiate() shell: julia --project="examples" --color=yes {0} - name: Run BPDN demo