From 5305166b57128a0b3a825b1eba5a7a1cbbb229ca Mon Sep 17 00:00:00 2001 From: Jose Daniel Lara Date: Fri, 29 Nov 2024 16:38:54 -0700 Subject: [PATCH] remove cbc --- test/test_device_thermal_generation_constructors.jl | 2 +- test/test_services_constructor.jl | 2 +- test/test_simulation_execute.jl | 2 +- test/test_utils/solver_definitions.jl | 2 -- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/test/test_device_thermal_generation_constructors.jl b/test/test_device_thermal_generation_constructors.jl index cdb3a3881..8525b3e5e 100644 --- a/test/test_device_thermal_generation_constructors.jl +++ b/test/test_device_thermal_generation_constructors.jl @@ -723,7 +723,7 @@ end UnitCommitmentProblem, template, sys; - optimizer = cbc_optimizer, + optimizer = HiGHS_optimizer, initialize_model = false, ) @test build!(UC; output_dir = mktempdir(; cleanup = true)) == PSI.ModelBuildStatus.BUILT diff --git a/test/test_services_constructor.jl b/test/test_services_constructor.jl index ce3d8b712..203451baa 100644 --- a/test/test_services_constructor.jl +++ b/test/test_services_constructor.jl @@ -96,7 +96,7 @@ end ) c_sys5_uc = PSB.build_system(PSITestSystems, "c_sys5_uc"; add_reserves = true) - model = DecisionModel(template, c_sys5_uc; optimizer = cbc_optimizer) + model = DecisionModel(template, c_sys5_uc; optimizer = HiGHS_optimizer) @test build!(model; output_dir = mktempdir(; cleanup = true)) == PSI.ModelBuildStatus.BUILT moi_tests(model, 984, 0, 576, 216, 168, true) diff --git a/test/test_simulation_execute.jl b/test/test_simulation_execute.jl index d22a2efab..4ca9b4f36 100644 --- a/test/test_simulation_execute.jl +++ b/test/test_simulation_execute.jl @@ -329,7 +329,7 @@ end UnitCommitmentProblem, template, PSB.build_system(PSITestSystems, "c_market_bid_cost"); - optimizer = cbc_optimizer, + optimizer = HiGHS_optimizer, initialize_model = false, ), ], diff --git a/test/test_utils/solver_definitions.jl b/test/test_utils/solver_definitions.jl index 642df615d..795b195bb 100644 --- a/test/test_utils/solver_definitions.jl +++ b/test/test_utils/solver_definitions.jl @@ -25,5 +25,3 @@ HiGHS_optimizer = JuMP.optimizer_with_attributes( "time_limit" => 100.0, "log_to_console" => false, ) - -cbc_optimizer = JuMP.optimizer_with_attributes(Cbc.Optimizer)