Skip to content

Commit

Permalink
Update test/runtests.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
tmigot authored Jul 23, 2024
1 parent a345421 commit e406601
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,12 @@ include("test_utils.jl")
end
end

# @testset "Test problems compatibility for $prob" begin
# prob == :hs61 && continue #because nlpmodelsjump is not working here https://github.com/JuliaSmoothOptimizers/NLPModelsJuMP.jl/issues/84
# prob_fn = eval(Meta.parse("PureJuMP.$(prob)"))
# model = prob_fn(n = ndef)
# nlp_jump = MathOptNLPModel(model)
# test_compatibility(prob, nlp_jump, nlp_ad, ndef)
# end
@testset "Test problems compatibility for $prob" begin
prob_fn = eval(Meta.parse("PureJuMP.$(prob)"))
model = prob_fn(n = ndef)
nlp_jump = MathOptNLPModel(model)
test_compatibility(prob, nlp_jump, nlp_ad, ndef)
end
end

names_pb_vars = meta[
Expand Down

0 comments on commit e406601

Please sign in to comment.