Convex constraint on the restricted domain of a non DCP compliant function

This is enough of an answer that I’ll make it an answer, rather than a comment, but someone may be able to expand on this.

exp(x)/(1+exp(x)) is accepted by CVX as a log-concave function. So exp(x)/(1+exp(x)) >= 0 is allowed, but not exp(x)/(1+exp(x)) <= 0. See Log of sigmoid function .