AI4OPT / OPFGenerator

Instance generator for OPF problems
MIT License
2 stars 3 forks source link

ScaledUniform distribution #97

Closed mtanneau closed 1 week ago

mtanneau commented 1 week ago

This PR introduces a ScaledUniform distribution. It is similar to the existing ScaledLogNormal, but uses uniform load-level noise instead of LogNormal, which allows to generate data with bounded support.

I also added some checks on the config input data.

mtanneau commented 1 week ago

unit tests are coming up

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 52.00000% with 12 lines in your changes missing coverage. Please review.

Files Coverage Δ
src/OPFGenerator.jl 100.00% <ø> (ø)
src/sampler/glocal.jl 74.19% <14.28%> (-17.48%) :arrow_down:
src/sampler/load.jl 77.14% <66.66%> (-10.86%) :arrow_down:
mtanneau commented 1 week ago

This should be clean now 😅