Skip to content

Tag: cvxpy

cvxpy not allowing item assignment for MulExpression

I have a sparse matrix operation as part of the optimization constraint. I can implement the program in Matlab cvx, now I am trying to implement a cvxpy version. The problem is following constraint: M is a sparse matrix, with only a few entries are declared variables. I don’t know a decent way to constr…