lanl-ansi / PowerModelsRestoration.jl

A PowerModels Extension for Optimization of Power Network Restoration
https://lanl-ansi.github.io/PowerModelsRestoration.jl/stable/
Other
22 stars 9 forks source link

Iterative restoration - JuMP bug - DC formulation #49

Closed noahrhodes closed 3 years ago

noahrhodes commented 3 years ago

An issue in JuMP causes a constraint to fail when an iterator is empty. for example when there is no load in a time period of the Iterative restoration algorithm.

https://github.com/JuliaOpt/JuMP.jl/issues/2187.

Once this is fixed, restore the tests for the DC formulation of the Iterative Restoration problem.

ccoffrin commented 3 years ago

Can you send me an example? The bug in JuMP was resolved some time ago, there might be another issue here.

noahrhodes commented 3 years ago

well...it works now, and I'm almost ready to make the pull request :)

Just making this as a issue reference for the pull request