How to handle log[exp(exp(x))-1]

Error using cvx/log (line 64)
Disciplined convex programming error:
Illegal operation: log( {convex} ).

Error in test_func(line 35)
log_sum_exp(z_temp)+ log(exp(exp(x(k)))-1)<=0;

log(exp(ex(x))-1) is convex, but I don’t know how to handle it in CVX - I’m not saying no one else knows whether it can be done. Given your difficulties in How to use log_sum_exp , perhaps it’s moot.

Whether or not it is convex, CVX cannot and will not be able to accept it.