Skip to content

Commit dd58650

Browse files
enable AMPL test again
1 parent 85b856d commit dd58650

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

test/optimizationsystem.jl

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,10 @@ end
8484
@test sol.minimum < 1.0
8585
@test sol.u[0.808, 0.589] atol=1e-3
8686
@test sol[x]^2 + sol[y]^2 1.0
87-
@test_skip begin # MethodError: no method matching MathOptInterface.FileFormats.NL._NLExpr(::Int64)
88-
sol = solve(prob, AmplNLWriter.Optimizer(Ipopt_jll.amplexe))
89-
@test sol.minimum < 1.0
90-
@test sol.u[0.808, 0.589] atol=1e-3
91-
@test sol[x]^2 + sol[y]^2 1.0
92-
end
87+
sol = solve(prob, AmplNLWriter.Optimizer(Ipopt_jll.amplexe))
88+
@test sol.minimum < 1.0
89+
@test sol.u[0.808, 0.589] atol=1e-3
90+
@test sol[x]^2 + sol[y]^2 1.0
9391
end
9492

9593
@testset "rosenbrock" begin

0 commit comments

Comments
 (0)