We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e668fec commit 93626beCopy full SHA for 93626be
test/runtests.jl
@@ -35,6 +35,8 @@ end
35
@test stats.dual_feas ≈ 0.0 atol = 1.49e-8
36
37
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)
40
@test stats.status == :first_order
41
@test stats.elapsed_time > 0
42
@test stats.iter == 22
0 commit comments