我需要将scipy稀疏矩阵转换为cvxopt的稀疏矩阵格式spmatrix,并且还没有遇到任何问题(矩阵太大,无法转换为密集矩阵)。任何想法如何做到这一点?
scipy sparse-matrix cvxopt
cvxopt ×1
scipy ×1
sparse-matrix ×1