Writing gamma1*(2)^gamma2in dcp format

Uncategorized
Oct 23, 2021
Z

Hi
How can we write gamma1*(2)^gamma2 in cvx ? This a convex function.
Where gamma1and gamma2 are optimization variables between ranges (0,1) and (1,2) respectively.

M

That function is not convex. Nor is it concave.

Your only hope for using in CVX is as a log-convex expression in gp mode, in which the expression can be entered as is. However, all gp rules must be followed for the complete program.

Z
Replying to #2

Thanks for your reply. I will try.