Skip to content

Commit 7f8b180

Browse files
committed
Tests are passing
1 parent f284e08 commit 7f8b180

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/optimizationsystem.jl

+4-4
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ end
6969
prob = OptimizationProblem(sys, [x => 0.0, y => 0.0], [a => 1.0, b => 1.0],
7070
grad = false, hess = false, cons_j = false, cons_h = false)
7171
sol = solve(prob, AmplNLWriter.Optimizer(Ipopt_jll.amplexe))
72-
@test_broken sol.minimum < 1.0
72+
@test sol.minimum < 1.0
7373
end
7474

7575
@testset "equality constraint" begin
@@ -95,9 +95,9 @@ end
9595
prob = OptimizationProblem(sys, [x => 0.0, y => 0.0, z => 0.0], [a => 1.0, b => 1.0],
9696
grad = false, hess = false, cons_j = false, cons_h = false)
9797
sol = solve(prob, AmplNLWriter.Optimizer(Ipopt_jll.amplexe))
98-
@test_broken sol.minimum < 1.0
99-
@test_broken sol.u[0.808, -0.064] atol=1e-3
100-
@test_broken sol[x]^2 + sol[y]^2 1.0
98+
@test sol.minimum < 1.0
99+
@test sol.u[0.808, -0.064] atol=1e-3
100+
@test sol[x]^2 + sol[y]^2 1.0
101101
end
102102

103103
@testset "rosenbrock" begin

0 commit comments

Comments
 (0)