mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-07 08:48:51 -06:00
Updated randomize, validate and initial conditions
This commit is contained in:
@@ -133,6 +133,10 @@ function _randomize_costs(
|
||||
s.cost *= α
|
||||
end
|
||||
end
|
||||
for pu in sc.profiled_units
|
||||
α = rand(rng, distribution)
|
||||
pu.cost *= α
|
||||
end
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user