From a73a9b2ac65f65eba6aeb62f0255ba45488f8173 Mon Sep 17 00:00:00 2001 From: odow Date: Sat, 14 Sep 2024 21:26:09 +1200 Subject: [PATCH] Update --- test/en_opf_bounds.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/en_opf_bounds.jl b/test/en_opf_bounds.jl index 03c4a6904..c68930b18 100644 --- a/test/en_opf_bounds.jl +++ b/test/en_opf_bounds.jl @@ -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