I am trying to implement the following convex-optimization problem in cvxpy:
cvxpy
A = a given matrix of dimension dim x dim B = a given matrix of dimens