Hello,

I have the following code, which resulted from turning a GP problem into convex, similar to 4.44 in Boyd book.

```
cvx_begin gp
variables eta phi gama rho
maximize(-log(exp(phi+eta+r)+exp(gama+c)-exp(gama+eta+c)))
subject to
(log(exp(phi+eta+r)+exp(gama+c)-exp(gama+eta+c)))>=log(lmin);
(log(exp(eta+w)-exp(phi+eta+w)+exp(rho+w)-exp(rho+eta+runlicw)))>=log(wmin);
gama>=0;
gama<=(log(rlmax)-rlicl);
rho<=log(1/nw);
rho>=-log(1/(nw+nl));
eta<=0;
cvx_end
```

MATLAB is giving a DCP error, objecting on:1) the negative sign before an exponential function, and 2) a constrain with convex/concave><real constant.

Is there another representation to avoid the above two errors.

Many thanks for your help,

Ali