timmyfaraday / HarmonicPowerModels.jl

An extension package of PowerModels.jl for Harmonic (Optimal) Power Network
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

Add helper for robust constraint with interval #29

Open blegat opened 2 months ago

blegat commented 2 months ago

This allows the constraint ||f(x)||_2 <= min_{c,d} c'x + d to be encoded as

@constraint(model, [min_box(model, c, x, d); f(x)] in SecondOrderCone())