You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cvxpygen is great, please update it! We upgraded our cvxpy version to 1.6 and there are clearly breaking changes. This is from the portfolio example notebook:
30 from cvxpy.problems.objective import Maximize
31 from cvxpy.cvxcore.python import canonInterface as cI
---> 32 from cvxpy.expressions.variable import upper_tri_to_full
35 def generate_code(problem, code_dir='CPG_code', solver=None, solver_opts=None,
36 enable_settings=[], unroll=False, prefix='', wrapper=True):
37 \"\"\"
38 Generate C code to solve a CVXPY problem
39 \"\"\"
ImportError: cannot import name 'upper_tri_to_full' from 'cvxpy.expressions.variable' ```
It looks like the method `upper_tri_to_full` was removed from `cvxpy.expressions.variable`
The text was updated successfully, but these errors were encountered:
cvxpygen is great, please update it! We upgraded our cvxpy version to 1.6 and there are clearly breaking changes. This is from the portfolio example notebook:
The text was updated successfully, but these errors were encountered: