From a52ff7284597b75e8eabafab32bb3618a595b278 Mon Sep 17 00:00:00 2001 From: David M Fobes Date: Mon, 23 Sep 2024 12:11:43 -0600 Subject: [PATCH] test updates --- test/mld.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/mld.jl b/test/mld.jl index 84f2a369..8baec756 100644 --- a/test/mld.jl +++ b/test/mld.jl @@ -35,7 +35,7 @@ r = optimize_switches!(args) @test all(_r["termination_status"] == OPTIMAL for (n,_r) in r) - @test isapprox(sum(Float64[_r["objective"] for _r in values(r)]), 119.89; atol=1) + @test isapprox(sum(Float64[_r["objective"] for _r in values(r)]), 176.86; atol=1) end @testset "test rolling-horizon optimal switching - lindistflow - traditional" begin @@ -53,7 +53,7 @@ r = optimize_switches!(args) @test all(_r["termination_status"] == OPTIMAL for (n,_r) in r) - @test isapprox(sum(Float64[_r["objective"] for _r in values(r)]), 171.72; atol=1) + @test isapprox(sum(Float64[_r["objective"] for _r in values(r)]), 176.86; atol=1) end @testset "test rolling-horizon optimal switching - nfa - block" begin @@ -138,7 +138,7 @@ r = optimize_switches!(args) @test first(r).second["termination_status"] == OPTIMAL - @test isapprox(r["1"]["objective"], 378.47; atol=1) + @test isapprox(r["1"]["objective"], 80.64; atol=1) end @testset "test full-lookahead optimal switching - lindistflow - traditional - radial-disabled - inverter-disabled" begin