x is the variale, and B is a constant.
I can not deal with the -1 term, otherwise it seems that log_sum_exp works.
How to express log(2^(x/B)-1) in CVX?
This is basically (in terms of difficulty of entering in CVX) the same as log(exp(x)-1). It is concave and log-convex. I will defer to others as to whether it can be reformulated in a DCP-compliant manner.
Depending on how it is going to be used, perhaps you don’t need to enter log(exp(x)-1) But you haven’t told us how you intend to use it. You do, however, need the overall optimization problem to be convex, or transformable thereto.
