mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-06 00:08:52 -06:00
Re-formatted the codes
This commit is contained in:
@@ -120,9 +120,7 @@ function _aelmp_check_parameters(
|
|||||||
)
|
)
|
||||||
# CHECK: model cannot have multiple scenarios
|
# CHECK: model cannot have multiple scenarios
|
||||||
if length(instance.scenarios) > 1
|
if length(instance.scenarios) > 1
|
||||||
error(
|
error("The method does NOT support multiple scenarios.")
|
||||||
"The method does NOT support multiple scenarios.",
|
|
||||||
)
|
|
||||||
end
|
end
|
||||||
sc = instance.scenarios[1]
|
sc = instance.scenarios[1]
|
||||||
# CHECK: model must be solved if allow_offline_participation=false
|
# CHECK: model must be solved if allow_offline_participation=false
|
||||||
|
|||||||
Reference in New Issue
Block a user