qcqp
qcqp copied to clipboard
AttributeError: module 'cvxpy' has no attribute 'affine_prod'
Hi, I ran the example in the README.md, but I encountered the following error.
AttributeError Traceback (most recent call last)
2 frames /usr/local/lib/python3.7/dist-packages/cvxpy/utilities/quadratic.py in get_coeffs(self, expr) 45 elif expr.is_affine(): 46 return self._coeffs_affine(expr) ---> 47 elif isinstance(expr, cvx.affine_prod): 48 return self._coeffs_affine_prod(expr) 49 elif isinstance(expr, cvx.quad_over_lin):
AttributeError: module 'cvxpy' has no attribute 'affine_prod'
I would greatly appreciate it if you could help me on this matter.