Experiencing a similar issue. When installing cvxpy it builds with the latest version of numpy (1.20 released this weekend), which makes cvxpy incompatible with the existing numpy installation < 1.20.
import numpy as np import cvxpy S = np.array([[0.04, 0.006, -0.004, 0],[0.006, 0.01, 0., 0.],[-0.004, 0., 0.0025, 0.],[0., 0., 0., 0.]]) p = np.array([0.12, 0.1, 0.07 ...
CVXPY is a domain-specific language for convex optimization embedded in Python. It allows the user to express convex optimization problems in a natural syntax that follows the math, rather than in the ...
This page contains information about setting up and installing cvxpy for the 15-780 problem sets. For sumitting programming assignments you will use the Autolab system, which already has this system ...
Abstract: We introduce CVXPYgen, a tool for generating custom C code, suitable for embedded applications, that solves a parameterized class of convex optimization problems. CVXPYgen is based on CVXPY, ...