CVX Forum: a community-driven support forum
Latest Categories Search
Home / Uncategorized / How to model this if-else constraint in CVX

How to model this if-else constraint in CVX

Uncategorized
Sep 9, 2020
Y
Yao
Sep 9, 2020 #1

if q>=A
then x=0
else
x∈[0.1]

Thank u very much!

M
Mark L. Stone
Sep 9, 2020 #2

if you search at https://or.stackexchange.com/ , you will see plenty of relevant guidance.

1 reply
Y
Yao
Sep 10, 2020 #3
Replying to #2

Thank you very much! I’ll have a shot.

Archive of CVX Forum: a community-driven support forum — Generated as a static archive