mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-06 08:18:51 -06:00
Reformat source code
This commit is contained in:
@@ -23,7 +23,10 @@ Example
|
||||
import UnitCommitment
|
||||
instance = UnitCommitment.read_benchmark("matpower/case3375wp/2017-02-01")
|
||||
"""
|
||||
function read_benchmark(name::AbstractString; quiet::Bool=false)::UnitCommitmentInstance
|
||||
function read_benchmark(
|
||||
name::AbstractString;
|
||||
quiet::Bool = false,
|
||||
)::UnitCommitmentInstance
|
||||
basedir = dirname(@__FILE__)
|
||||
filename = "$basedir/../../instances/$name.json.gz"
|
||||
url = "$INSTANCES_URL/$name.json.gz"
|
||||
|
||||
Reference in New Issue
Block a user