Which function is appropriate

Uncategorized
May 24, 2022
A

691def9d05175413ac2f8bec16b9aae
I want to express such a function form, in which both x and y are convex, but cvx does not accept this form, after I checked some functions about cvx, I found that there is no more suitable function, can someone help me take a look at this Which function is better in functional form?

J

By introducing a new variable z, your problem will become how to express \sqrt {\frac{1}{{xy}}} \le z. Then do \log \left( {\sqrt {\frac{1}{{xy}}} } \right) \le \log z, simplify it, then it can be expressed using log().

or Use inv_pos(z)<=geo_mean([x,y])

A
Replying to #2

I don’t know if you mean that

,In this case,-rel_entr function also is not available.

J
Replying to #3

Use log() as is please…

A
Replying to #4

I still don’t understand what you mean. Can I write more in detail?Thank you!

J
Replying to #5

Expressing the function or constraints needs introducing additional variables, see