Skip to content

Commit 93626be

Browse files
authored
Update test/runtests.jl
1 parent e668fec commit 93626be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ end
3535
@test stats.dual_feas 0.0 atol = 1.49e-8
3636

3737
nlp = ADNLPModel(x -> (x[1] - 1)^2 + 100 * (x[2] - x[1]^2)^2, [-1.2; 1.0])
38+
stats = ipopt(nlp, tol = 1e-12, print_level = 0)
39+
@test isapprox(stats.solution, [1.0; 1.0], rtol = 1e-6)
3840
@test stats.status == :first_order
3941
@test stats.elapsed_time > 0
4042
@test stats.iter == 22

0 commit comments

Comments
 (0)