XiongPengNUS / rsome

Robust Stochastic Optimization Made Easy
GNU General Public License v3.0
282 stars 54 forks source link

Will it be possible to support binary variables for rvar in the future? #49

Closed sometimesstudy closed 9 months ago

sometimesstudy commented 1 year ago

Hi Profs. @XiongPengNUS and @chenzjames,

I am wondering if it will support binary variables for rvar in the future. It seems binary variables are not supported for rvar in the current version. But binary variables usually appear in power system optimisation.

XiongPengNUS commented 1 year ago

Hi @sometimesstudy In general, the random variables cannot be defined as binary. However, for some types of uncertainty sets, the worst-case value of random variables are binaries.

sometimesstudy commented 1 year ago

Hi Prof. @XiongPengNUS. The operation states of transmission lines are usually regarded as binary variables in power systems, and they are random variables under uncertainties when the system suffering disasters. So is there any way to set the operation states of switches to binary random variables?

walidzegal commented 9 months ago

I got this exception when I try to solve the LP model in quick start : all the input arrays must have same number of dimensions, but the array at index 0 has 1 dimension(s) and the array at index 1 has 2 dimension(s). Can you help me?

XiongPengNUS commented 9 months ago

@sometimesstudy for power system cases, it is mentioned in https://ietresearch.onlinelibrary.wiley.com/doi/full/10.1049/iet-gtd.2012.0660 that the random variables representing the outage status are binaries under the worst-case scenario.

walidzegal commented 9 months ago

Thank you for your response. I found my error. Have a nice day.

On Mon, Nov 27, 2023, 10:27 Peng Xiong @.***> wrote:

@sometimesstudy https://github.com/sometimesstudy for power system cases, it is mentioned in https://ietresearch.onlinelibrary.wiley.com/doi/full/10.1049/iet-gtd.2012.0660 that the random variables representing the outage status are binaries under the worst-case scenario.

— Reply to this email directly, view it on GitHub https://github.com/XiongPengNUS/rsome/issues/49#issuecomment-1828052661, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXQKIKOH4WPG44HF5VBI773YGSWMXAVCNFSM6AAAAAAZVS5Q32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRYGA2TENRWGE . You are receiving this because you commented.Message ID: @.***>