Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Sep 14, 2024
1 parent b9b97b1 commit a73a9b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/en_opf_bounds.jl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ end
# IVRReducedQuadraticENPowerModel does not implement sm_ub

# ACRENPowerModel
sol_pmd = calc_sol_pmd(data_math, ACRENPowerModel; optimizer=optimizer_with_attributes(Ipopt.Optimizer))
# This test is flakey.
mu_strategy = Sys.islinux() ? "adaptive" : "monotone"
sol_pmd = calc_sol_pmd(data_math, ACRENPowerModel; optimizer=optimizer_with_attributes(Ipopt.Optimizer, "mu_strategy"=>mu_strategy, "sb"=>"yes", "print_level"=>0))
s_to = sol_pmd["line"]["line1"]["pt"]+im*sol_pmd["line"]["line1"]["qt"]
@test all(isapprox.(abs.(s_to[1:3]), sm_ub[1:3], rtol=0.005))
end
Expand Down

0 comments on commit a73a9b2

Please sign in to comment.