CVX Forum: a community-driven support forum
Latest Categories Search
Home / Uncategorized / Is the constraint expressed following right?

Is the constraint expressed following right?

Uncategorized
Jan 9, 2023
N
juansun
Jan 9, 2023 #1

I want to express the constraint like
A*x*log2(1+B/x)>=S,
where x is a variable.
I express it like this
-A*rel_entr(x,x+B)/log(2)>=S.
Is it right?
Thank you.

M
Mark L. Stone
Jan 9, 2023 #2

Yes, that is correct.

N
juansun
Jan 10, 2023 #3

Thank you very much for your response.

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