i already know how to express
log(1+1/x) = log((1+x)/x) = -log(x/(1+x)) = -log(1 - 1/(1+x)) = -log(1 - inv_pos(1+x))
but how to how to espress log(1+1/x+1/y) in cvx
help help
i still don’t know how to deal this problem after reading these approaches, would you do me a favor
I believe the first approach would be (using zx
and zy
in place of x_i and y_i)
variables x y t zx zy
t >= log_sum_exp([0 zx zy])
x >= exp(-zx)
y >= exp(-zy)
Then use t
in place of log(1+1/x+1/y)