I want to write
x + z <= sqrt(y(x - z**2/y))
using geo_mean and quad_over_lin from cvxpy, but I see that geo_mean takes in a vector.
I'm trying something like
[x + z <= cp.geo_mean(np.array([y, x - cp.quad_over_lin(z, y)]))]
doesn't work. How do I build up the geometric mean using cvxpy atoms?