I\'m trying to do Markowitz portfolio optimization with CVXPY with the following code:
def markowitz_MPT(mu, covmtx, gamma): w = cvx.Variable(len(mu))