-
In an anaconda environment with cvxpy==1.3.0 and cvxpylayers==0.1.4 I noticed that cvxpylayers and cvxpy result in different solutions for the following problem:
x = cp.Variable(2)
xc = cp.Para…
-
#34251 adds `cvxpy` and a MIP backend.
Here we add:
- a new SDP backend.
See also:
- #26511 Meta-ticket: Use Python optimization interfaces: PuLP, Pyomo, cylp...
- #33487 package cylp - n…
-
EXSAMPLE
```
from cvxpy.constraints import nonpos
from cvxpy.constraints.nonpos import NonNeg, NonPos
from cvxstoc import expectation, prob
from cvxstoc import NormalRandomVariable, prob
from cv…
-
The `metrics.dnorm` function uses the cvxpy library to calculate the diamond norm. Twice now it has caused many test failures out of the blue #484 and #872.
It would seem like the developers do not p…
-
I am running my code with cvxpy1.5.2, and I get the following error:
```
self.prob.solve(solver=CP_solver, verbose=solver_verbose)
File "C:\Users\X\AppData\Local\Programs\Python\Python310\lib…
-
The solution to both of these problems is `-K/2`. In both cases CVXOPT runs into numerical issues for large `K`. The `get_problem_data` lines give the arguments passed to CVXOPT by CVXPY. CVXPY uses t…
-
As part of sageopt's cvxpy interoperability, the ``*`` operator on cvxpy expressions is overridden to perform elementwise multiplication rather than matrix multiplication. This change is necessary to …
-
@superjax I installed `cvxpy` (Python 3) and tried to run your notebook. I get the following error from `cvxpy` in the `LMPC_Manifold` class:
```bash
IndexError: Too many indices for expression.
…
-
Hi,
I am wondering if the error I am getting is because of some incompatibility with cvxpy1.0.
Here comes some sample code (Based on your example in README.md):
```python
import os
from cvxpy…
-
I used the conda pvpro-user install instructions in the readme, but I can't run the example:
```
In [1]: %run example_estimate_number_series_parallel.py
--------------------------------------…