Skip to content

Commit a5a6490

Browse files
committed
Bump NLPModels to 0.15 and related packages
1 parent 8d42eb0 commit a5a6490

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

Project.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@ SolverTools = "b5612192-2639-5dc1-abfe-fbedd65fab29"
1616
[compat]
1717
Krylov = "0.4, 0.5, 0.6, 0.7"
1818
LinearOperators = "1.1"
19-
NLPModels = "0.14"
20-
NLPModelsModifiers = "0.1"
21-
SolverCore = "0.1"
22-
SolverTest = "0.1.1"
23-
SolverTools = "0.5"
19+
NLPModels = "0.15"
20+
NLPModelsModifiers = "0.2"
21+
SolverCore = "0.2"
22+
SolverTools = "0.6"
2423
julia = "1.3"
2524

2625
[extras]

test/objgrad-on-tron.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
@testset "objgrad on tron" begin
2-
struct MyProblem <: AbstractNLPModel
3-
meta::NLPModelMeta
2+
struct MyProblem <: AbstractNLPModel{Float64, Vector{Float64}}
3+
meta::NLPModelMeta{Float64, Vector{Float64}}
44
counters::Counters
55
end
66

77
function MyProblem()
8-
meta = NLPModelMeta(
8+
meta = NLPModelMeta{Float64, Vector{Float64}}(
99
2, # nvar
1010
x0 = [0.1; 0.1],
1111
lvar = zeros(2),

test/solvers/trunkls.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ end
3838
n = 30
3939
model = ADNLSModel(
4040
x -> [[10 * (x[i + 1] - x[i]^2) for i = 1:(n - 1)]; [x[i] - 1 for i = 1:(n - 1)]],
41-
(1:n) ./ (n + 1),
41+
collect(1:n) ./ (n + 1),
4242
2n - 2,
4343
)
4444
for subsolver in JSOSolvers.trunkls_allowed_subsolvers

0 commit comments

Comments
 (0)