UserWarning:
This use of * has resulted in matrix multiplication.
Using * for matrix multiplication has been deprecated since CVXPY 1.1.
Use * for matrix-scalar and vector-scalar multiplication.
Use @ for matrix-matrix and matrix-vector multiplication.
Use multiply for elementwise multiplication.
This code path has been hit 1 times so far.
大致意思为
使用乘号*作为两个矩阵地乘法运算符已经在cvxpy 1.1版本中被弃用
关于矩阵的运算符使用如下
| 运算符 | 对象 |
|---|---|
| * | 矩阵与标量、向量与标量 |
| @ | 矩阵与矩阵、矩阵与向量 |
| multiply() | 元素 |