Closed Shuvomoy closed 6 years ago
I am closing this one, as none of the examples actually runs with the latest version of CVXPY and NCVX. Please see the new issue: None of the examples in ncvx/examples that use NC-ADMM run properly .
I'm catching this exact same error. Code worked with previous install (~ March 2018)
I am trying to run the circle_packing.py example (located in ncvx/examples/). My python is 2.7, cvxpy is 1.0.8 and I believe all other packages are up to date. To make the code compatible with cvxpy 1.0.8, I have changed:
objective = cp.Minimize(cp.max_elemwise( *(x_vals + y_vals) ) + 0.5)
toobjective = cp.Minimize(cp.maximum( *(x_vals + y_vals) ) + 0.5)
However, while running the circle_packing.py I am getting the following error:
Any help in fixing the issue will be much appreciated.