-
Gentle walkthrough/ The news vendor problem
from cvxstoc import expectation, prob, CategoricalRandomVariable
from cvxpy import Minimize, Problem
from cvxpy.expressions.variables import Variable,…
-
**Describe the bug**
I apply cvxpy to slove a section in my Reinforcement Learning code. In the training, after one day, reporting this error:
File "D:\Code\energy_power_sc\RL_train\train.py", lin…
-
SCS 3.0 changed the status strings casing:
https://github.com/cvxpy/cvxpy/pull/1499#issuecomment-950406804
-
Now that there are more package dependencies (i.e. `import cvxpy as cp`) it makes sense to put a requirements.txt or environment.yml into the repository.
I think that for a pip release the best pra…
-
CVXPY seemed to have run out of memory when I attempted the whole model (reduced)
Stations (Group & Net) - 29,549
Lines - 42,283
Units - 6,541
Fixed Load - 37,546
This may not be easily remed…
-
mixed integer solver on a gcloud function
- eg python pickled 1GB object, but might be compressed
- from mip_cvxpy import PYTHON_MIP
- import cvxpy
- def cloud_func(problem, options):
- solve…
-
Howdy! So this is working for me, but here was my experience:
1. `pip install pygame numpy cvxpy mido` then:
```
curl -o temp.mid -s https://bitmidi.com/uploads/72257.mid
python pong.py temp.m…
shmup updated
1 month ago
-
The current CVXpy backend added in https://github.com/sagemath/sage/pull/35120 is very basic.
There are some performance bottlenecks, as pointed out in https://github.com/sagemath/sage/issues/34251…
-
We depend on CVXPY only in the tests:
https://github.com/qiboteam/qibo/blob/21a4f2023c307e5a7cd23fa6152256a251a611ae/pyproject.toml#L49-L52
and only because of a single test:
https://github.com/qib…
-
All line numbers are with respect to https://github.com/EmbersArc/SuccessiveConvexification/commit/dc6735cd5b35bf7d1a34767bfbee18d0185ae747
Lines 38 to 53 can be reduced to three CVXPY constraint o…