Skip to content Skip to sidebar Skip to footer

Cvxpy:'sum_entries' Is Not Defined

I am trying to resolve a portfolio optimization problem in Python using CVXPY but getting an error sum_entries is not defined. I am using Anaconda 2.7 and Jupyter notebook. I have

Solution 1:

It should be cvx.sum_entries instead of sum_entries. Similarly, your Problem should be cvx.Problem.


Post a Comment for "Cvxpy:'sum_entries' Is Not Defined"