sabya
(Sabyasachi Gupta)
July 24, 2020, 4:59pm
1
Hi,
Please advice how to handle the following constraint
The first part of the above constraint is convex for x>=0, and the second part (i.e., f(x)) is also convex. Can we break the above constraint into two constraints as follows:
and the second one:
It seems that I can write the original constraint using constraint 1 and constraint 2. Please let me know. Many thanks.
sabya
(Sabyasachi Gupta)
July 24, 2020, 11:43pm
2
It seems to me that I can also write the constraint 2 using the following two constraints:
log2(b-cx)==z_2
{z_2, x, z/a}==exponential(1)
Vanes
November 2, 2020, 10:08am
3
I have the same problem as yours. How do u express “ax2^(b/x-c)” in CVX? Thanks in advance!
You should be able to figure that out now by adapting my solution to your question at How to express "x*(2^(1/x)-1)" in CVX .