I am trying to do element-wise multiplication in CVXPY in the objective function. Is this allowed as part of a convex problem?
X
is a n x 1 variable.
V
is a n x n constant.
I want to do the equivalent of np.multiply(X, V*X)
, which returns an n x 1 vector.