# Questions tagged [cvxpy]

CVXPY is a Python-embedded modeling language for convex optimization problems.

24 questions
Filter by
Sorted by
Tagged with
108 views

• 169
1 vote
578 views

### What algorithm does CVXPY actually use to solve semidefinite programs with the constraints of the form $\sum\limits_i E_iXE_i^T \succ B$?

Crossposted on Mathematics SE CVXPY is a famous software as a solver for optimization problems. Nowadays, I use it to run a program presented in a paper, the Example 7.1, and the program runs as ...
• 113
1 vote
163 views

### Help with CVXPY and Disciplined Convex Programming

I'm trying to recreate Figure 1 in this paper. This requires maximizing equation (19), which I have convinced myself is concave, but I am having trouble implementing it in CVXPY. Here is the code I ...
1 vote
319 views

### Problem in parameterizing a CVXPY program

I am trying to parameterize a CVXPY program as I need to repeatedly solve the problem, but I noticed that when my parameters are complex numbers, CVXPY models the problem in each iteration. For ...
• 111
884 views

1 vote
293 views

...
• 121
1 vote
7k views

### Why am I getting this DCPError?

I'm trying to optimize a binary portfolio vector to be greater than a benchmark using CVXPY. ...
• 113
1 vote
96 views

### Ramp least squares estimation

With some given $s$ value, let \begin{aligned} h(\beta)&=\min(\sum_{i=1}^n(Y_i - X_i\beta)^2, s)\\ &=\sum_{i=1}^n(Y_i - X_i\beta)^2-\max(0, \sum_{i=1}^n(Y_i - X_i\beta)...
• 173
1 vote