Skip to content

Commit

Permalink
Use CUTEst_jll.jl v2.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Aug 24, 2024
1 parent d59878d commit ab15c2f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SIFDecode_jll = "54dcf436-342f-53ea-8005-3708a1ae6c8c"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"

[compat]
CUTEst_jll = "=2.2.2"
CUTEst_jll = "=2.2.3"
Combinatorics = "1.0"
DataStructures = "0.17, 0.18"
JSON = "0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.20, 0.21"
Expand Down
2 changes: 2 additions & 0 deletions test/test_core.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ function test_coreinterface(
c(x) = cons(comp_nlp, x)
J(x) = jac(comp_nlp, x)
W(x, y; obj_weight = one(T)) = hess(comp_nlp, x, y, obj_weight = obj_weight)

rtol = eps(T) |> sqrt
rtol = max(rtol, T(1e-8))

if !test_view
st = Cint[0]
Expand Down
1 change: 1 addition & 0 deletions test/test_julia.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ function test_nlpinterface(nlp::CUTEstModel{T}, comp_nlp::AbstractNLPModel{T}) w
u = ones(T, nlp.meta.ncon)

rtol = eps(T) |> sqrt
rtol = max(rtol, T(1e-8))

@testset "Julia interface" begin
fx = obj(nlp, x0)
Expand Down

0 comments on commit ab15c2f

Please sign in to comment.