CVX expression about log(sum(inv_pos(x+a))+b)

I got a problem about the expression about" log(sum(inv_pos(x+a))+b)".

cvx_begin
variable x(n,1)
maximize(-log(sum(inv_pos(x+a))+b))
subject to

cvx_end

An error occur:
Illegal operation: log( {convex} ).

Can anyone help me to give an idea for feasible expression by using CVX.
Thanks alot.

If b is negative, log(sum(inv_pos(x+a))+b) may not be convex. If b is positive, I think it is convex, so perhaps @Michal_Adamaszek has a reformulation.

Thanks for your guidance. b is positive.
I find a solution.
cvx_begin
variable x(n,1)
variable y(n,1)
maximize(-y)
subject to
b.*e^{-y} + sum(e^{-y-log(x+a)})<=1;
cvx_end

At minimum, your program has typo(s).

How come this isn’t the same as minimizing sum(inv_pos(x+a))

I get the “Duh” award. Why of course @Michal_Adamaszek is correct…

Your idea is very enlightening. Then the computational complexity can be simplified.