Writing gamma1*(2)^gamma2in dcp format

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.

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.

Thanks for your reply. I will try.