cvxpy
cvxpy copied to clipboard
A Python-embedded modeling language for convex optimization problems.
**Describe the bug** The hypersonic shape design quasiconvex program example [here](https://www.cvxpy.org/examples/dqcp/hypersonic_shape_design.html) fails when solved with Clarabel and Mosek. **To Reproduce** ``` import cvxpy as cp x = cp.Variable(pos=True) obj =...
**Describe the bug** When running the minimum-length least squares problem [here](https://www.cvxpy.org/examples/dqcp/minimum_length_least_squares.html), the solver fails with error `'
**Describe the bug** The fractional optimization quasiconvex program example [here](https://www.cvxpy.org/examples/dqcp/concave_fractional_function.html) fails when solved with Clarabel, but succeeds with Mosek and ECOS. **To Reproduce** ``` import cvxpy as cp x =...
**Describe the bug** I'm trying to solve the following geometric programming problem:  I have been successfully solving this as a continuous problem but when I try to solve it...
**Is your feature request related to a problem? Please describe.** Since v1.6.0., cvxpy support higher dimension. But, we still don't have support to stacking variable to higher dimension. ```python import...
**Is your feature request related to a problem? Please describe.** I use `cp.Variable(integer=True)`. I would like to be able to re-run with relaxed problem (treat integer as continuous). One benefit...
## Description See discussion in #2503, improve compatibility between `cvxpy` and `cvxpy-base` dependents. ## Type of change - [ X] New feature (backwards compatible) - [ ] New feature (breaking...
## Description In quad_form, sometimes redundant variables and additional consensus constraints are created (see issue linked below). This PR is an attempt to remove this. Issue link: https://github.com/cvxpy/cvxpy/issues/2600 ## Type...
When working through a tutorial today, I noticed that some students would search atoms in the API documentation and it was not always clear what the atoms were doing. Example...
**Describe the bug** When using expressions with more than 2 dimensions, different errors appears from inconsistent shapes/dimensions. **To Reproduce** ```python import cvxpy import numpy T, N, F = 1000, 100,...