Skip to content

Commit b38ae9c

Browse files
Added tests to OptimizationAuglag
1 parent 36d7654 commit b38ae9c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/native.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ prob = OptimizationProblem(optf, initpars, (x0, y0), lcons = [-Inf], ucons = [0.
5151
opt1 = solve(prob, Optimization.LBFGS(), maxiters = 1000, callback = callback)
5252
@test opt1.objective < l0
5353

54-
prob = OptimizationProblem(optf, initpars, data, lcons = [-Inf], ucons = [1],
55-
lb = [-10.0, -10.0, -10.0, -10.0, -10.0], ub = [10.0, 10.0, 10.0, 10.0, 10.0])
56-
opt = solve(
57-
prob, Optimization.AugLag(; inner = Adam()), maxiters = 10000, callback = callback)
58-
@test opt.objective < l0
59-
6054
optf1 = OptimizationFunction(loss, AutoSparseForwardDiff())
6155
prob1 = OptimizationProblem(optf1, rand(5), data)
6256
sol1 = solve(prob1, OptimizationOptimisers.Adam(), maxiters = 1000, callback = callback)

0 commit comments

Comments
 (0)