From ed94eb481ef27e3487548dc63ff2b2e06af715d9 Mon Sep 17 00:00:00 2001 From: nathanemac <91251698+nathanemac@users.noreply.github.com> Date: Tue, 11 Feb 2025 10:54:09 -0500 Subject: [PATCH 1/3] limit compatibility of ADNLPModels to 0.7 to avoid tracers --- Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 58fcc23..fa17f65 100644 --- a/Project.toml +++ b/Project.toml @@ -4,6 +4,7 @@ authors = ["Dominique Orban , Robert Baraldi Date: Tue, 11 Feb 2025 11:00:42 -0500 Subject: [PATCH 2/3] limit compatibility of ADNLPModels to 0.7 to avoid tracers --- Project.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Project.toml b/Project.toml index fa17f65..57a8881 100644 --- a/Project.toml +++ b/Project.toml @@ -23,6 +23,7 @@ Requires = "1" julia = "^1.6.0" [extras] +ADNLPModels = "54578032-b7ea-4c30-94aa-7cbd1cce6c9a" DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa" MLDatasets = "eb30cadb-4394-5ae3-aed4-317e484a6458" ProximalOperators = "a725b495-10eb-56fe-b38b-717eba820537" From ef2333c1d730119afba73653a9dcc46b1e1a6c0a Mon Sep 17 00:00:00 2001 From: nathanemac <91251698+nathanemac@users.noreply.github.com> Date: Tue, 11 Feb 2025 12:06:42 -0500 Subject: [PATCH 3/3] use @require instead of direct dependency --- Project.toml | 2 +- src/RegularizedProblems.jl | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 57a8881..37c5224 100644 --- a/Project.toml +++ b/Project.toml @@ -4,11 +4,11 @@ authors = ["Dominique Orban , Robert Baraldi v"0.7.2" + @warn "ADNLPModels version $v > 0.7.2 installed. \ + To avoid compatibility issues with fh_model(), recommended versions are ≤ 0.7.2." + end + @require DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa" begin include("fh_model.jl") @require ProximalOperators = "a725b495-10eb-56fe-b38b-717eba820537" begin