$$ x\geq y\exp(z/y),\quad y>0$$
in the upcoming version 9 of MOSEK. Here is a preview implementation of some signal-to-interference-and-noise optimization problems in Python Fusion:
The key log-sum-exp constraint is just a few lines:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Models log(sum(exp(Ax+b))) <= 0. | |
# Each row of [A b] describes one of the exp-terms | |
def logsumexp(M, A, x, b): | |
u = M.variable(A.shape[0]) | |
M.constraint( Expr.sum(u), Domain.lessThan(1.0)) | |
M.constraint( Expr.hstack(u, | |
Expr.constTerm(A.shape[0], 1.0), | |
Expr.add(Expr.mul(A, x), b)), Domain.inPExpCone()) |