# Questions tagged [socp]

For questions related to second-order cone programming, a type of convex optimization problem.

5 questions
Filter by
Sorted by
Tagged with
59 views

I have a constraint of the following form \begin{equation} x^{\top}x + y^{\top}y \leq t \end{equation} where x, y are vector variables and t is a scalar variable. I can augment the variables x and y, ...
422 views

### How to formulate the inequality constraint $\sqrt{x^2+y^2} \leq z$ using gurobipy?

How to formulate the following constraint using gurobipy $$\sqrt{x^2 + y^2} \le z$$ where $x, y, z$ are continuous optimization variables? I saw how to formulate it using CVXPY: ...
437 views

### Solving maximization problem with linear-fractional sum

I want to solve this problem : Maximize \begin{equation} \sum_{i=1}^{n} \frac{x_i}{a_ix_i + b_i}\end{equation} with the constraints \begin{equation}\sum_{i=1}^{n}x_i = S \ , \ x_i \geq 0 \ \forall \ ...
I have a problem which simplifies to: \begin{align} \max w &\\ w&\le xy \\ x,y&\le10 \\ x,y&\ge0 \end{align} Recognizing that $xy$ form a hyperbolic constraint, I can solve by ...