Skip to content

Commit

Permalink
remove cbc
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Nov 29, 2024
1 parent a3a0802 commit 5305166
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/test_device_thermal_generation_constructors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/test_services_constructor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion test/test_simulation_execute.jl
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ end
UnitCommitmentProblem,
template,
PSB.build_system(PSITestSystems, "c_market_bid_cost");
optimizer = cbc_optimizer,
optimizer = HiGHS_optimizer,
initialize_model = false,
),
],
Expand Down
2 changes: 0 additions & 2 deletions test/test_utils/solver_definitions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 5305166

Please sign in to comment.