Skip to main content

Questions tagged [quadratic-programming]

A quadratic program (QP) is an optimization problem in which the objective function is quadratic and the feasible region is a convex polytope.

Filter by
Sorted by
Tagged with
7 votes
1 answer
409 views

Given a simple unlabeled graph $G = (V,E)$ with vertices $V=\{1,\ldots,n\}$, let $L(G)$ a labeled graph obtained by labeling the vertices of $G$ through an $l: V \rightarrow V$ such that: $$\sum_{\{...
Fabius Wiesner's user avatar
0 votes
0 answers
118 views

I'm studying the OptNet paper (Amos & Kolter, 2017), which integrates quadratic programs (QPs) into neural network layers and enables end-to-end learning through differentiable optimization. In ...
livehhh's user avatar
  • 101
0 votes
0 answers
200 views

Let $f(x,y)= ax^2+bxy+cy^2$, or similarly denote it by $(a,b,c)$. This question is about the case $(1,0,p)$ where $p$ is prime. Suppose I have one solution $\bar{x}_1=(x_0,y_0)$ for $f(x,y)=m$ for ...
ReverseFlowControl's user avatar
1 vote
1 answer
288 views

I am interested in the value function of a quadratic program of the form $$ v(y)=\min_x \frac{1}{2} x^\top Q(y) x, $$ subject to a linear equality constraint $$ E(y)x=d(y), $$ and a linear inequality ...
user_lambda's user avatar
2 votes
0 answers
247 views

Crossposted at Computational Science SE Consider a quadratic programming problem with the following format: $$ \text{min} Q(x) = c^Tx+\frac{1}{2}x^TDx \\ $$ $$ \text{s.t.} Ax\leq b, \\ x\geq 0 $$ ...
ximeng fan's user avatar
3 votes
1 answer
265 views

Given a quadratic program, $$\begin{array}{ll} \text{minimize} & \displaystyle \frac12 x^TAx + b^Tx \\ \text{subject to} & Cx \le d \end{array}$$ Suppose $A \succ 0$, so the program strongly ...
gcy's user avatar
  • 133
1 vote
0 answers
129 views

The problem is to maximize $f(x_1,x_2,\cdots,x_n)=\sum\limits_{i=1}^{n}\Big(x_i-k_i\Big)^2$ for $n\ge 3$ subject to the conditions (1) $\sum\limits_{i=1}^{n}x_i=\sum\limits_{i=1}^{n}k_i\le n(n-1)$ ...
shahulhameed's user avatar
1 vote
0 answers
182 views

We are given a matrix $D \in \mathbb{Z}^{C \times C}$ of non-negative entries, an integer $k \geq 1$ and we need to maximize the quadratic form $x^T D x$ under some simple constraints. For all ...
reservoir's user avatar
1 vote
0 answers
234 views

So I have been granted a free time and I want to work on a project but first I had to research. As we know, lines have infinite points, and with lines, we can create infinite shapes. I want to let ...
Dead_Light's user avatar
2 votes
0 answers
203 views

playing around with stuff for my dissertation, I derived a quadratic problem in the general form \begin{equation} \begin{aligned} \min_{x} \quad & x^TQx + c^Tx \\ \textrm{s.t.} \quad & Ax \leq ...
Emanuel's user avatar
  • 21
2 votes
1 answer
107 views

I have derived an optimization objective of the form $$ f(x) = \sum_{i,j} C_{ij}\min(x_i, x_j), s.t. g(x) \geq 0 $$ where $C \in \mathcal{R}^{N \times N}$ is a positive definite matrix, and $x \in \...
koo's user avatar
  • 123
1 vote
0 answers
92 views

Let $y\in\mathbb{R}^m$, $\tau\in\mathbb{R}$ and $X\in\mathbb{R}^{m\times n}$, with $\tau>0$ I would like to efficiently solve the following problem: Problem 1 Choose $\alpha,z\in\mathbb{R}^m,\beta\...
cfp's user avatar
  • 183
2 votes
1 answer
373 views

Let $a_{ij}$ be the elements of a $n$-dimensional covariance matrix. Can we prove the following? $$ 1-\sum_{k=1}^n a_{ik} \lambda_k + \sum_{j=1}^n \sum_{k=1}^n \lambda_j a_{jk} \lambda_k > 0, \...
J M Grandola's user avatar
2 votes
0 answers
887 views

I have a convex quadratic program wich is structured as follows : \begin{align*} \operatorname{argmin}_{p} &\hspace{0.5em} p' A p - 2 p' b \\ \mathrm{s.t.} &\hspace{0.5em} Ep=f \\ ...
lrnv's user avatar
  • 696
3 votes
0 answers
249 views

I have a concern about a result given by Murty in [1] and also written by Floudas and Visweswaran in [2] They consider a QP: \begin{array}{ll}{\min _{x} Q(x)} & {=c^{T} x+\frac{1}{2} x^{T} D ...
Titouan Vayer's user avatar
1 vote
1 answer
404 views

Is there any closed form solution for the optimal value of the folowing optimization problem? $$\begin{array}{ll} \text{minimize} & (\mathbf{x} - \mathbf{y})^{\mathrm{T}}\mathbf{B}(\mathbf{x} - \...
Math_Y's user avatar
  • 199
2 votes
1 answer
599 views

Let $\mathbf{A}$ be any $n\times n$ symmetric positive matrix ($A_{ij}>0$). It is easy to show that the solution to the following optimization problem \begin{align} \max_{\mathbf{x}}~~\mathbf{x^...
dineshdileep's user avatar
  • 1,421
8 votes
3 answers
1k views

Given tall matrices $A$ and $Y$ and the following overdetermined linear system in square matrix $X$ $$AX=Y$$ is there an explicit formula for the least-squares solution if $X$ is constrained to be ...
Museful's user avatar
  • 233
0 votes
1 answer
333 views

I'm working on a convex quadratic separable min-cost flow problem with the following structure: $P = \{\min \frac{1}{2}x^tQx + qx : Ex = b, 0 \leq x \leq u\}$ But I'm stuck on deriving the KKT ...
GaspareG's user avatar
1 vote
0 answers
150 views

Given $t$ different unbounded polyhedra $P_1:A^{(1)}x^{(1)}\leq b^{(1)},\dots,P_t:A^{(t)}x^{(t)}\leq b^{(t)}$ we are looking for the representation of $\bigcup_{i=1}^tP_i$ (not their convex hull) with ...
VS.'s user avatar
  • 1,846
1 vote
0 answers
124 views

Given a compact bounded convex set $\mathcal C\subseteq\mathbb R^n$ given by $t$ hyperplane inequalities I want to find a point $u\in\mathcal C$ such that for all $v\in\mathcal C$ a convex relation $...
VS.'s user avatar
  • 1,846
0 votes
0 answers
160 views

I have a system of $m$ homogeneous degree $2$ polynomial equations in $\mathbb Z[x_1,\dots,x_n]$ where $m=poly(n)$. Take $$f_1(x_1,\dots,x_n)=0$$ $$\dots$$ $$f_m(x_1,\dots,x_n)=0$$ to be the system. ...
VS.'s user avatar
  • 1,846
1 vote
0 answers
89 views

What is the difference between Sequential Quadratic Programming (SQP) versus Quadratic Programming (QP)? Is it the same as Iterative Quadratic Programming (IQP)? For example, BFGS, DFP are types of QP/...
Sohail Si's user avatar
  • 157
3 votes
1 answer
492 views

For integers $n\geq k>0$, let $f$ be the following quadratic form: $$f(x_1,\ldots,x_n)=\sum_{i=1}^n\sum_{j=0}^{k-1}x_ix_{i+j\bmod n}.$$ Is it true that the minimum of $f$ over the unit simplex is ...
Ron P's user avatar
  • 959
2 votes
2 answers
170 views

Edit: Since the geometric approach did not work, I try now another approach: phrasing the problem as a quadratic programme. Probabilistic version. Let $x=(x_1,x_2, \ldots) $ be an ergodic random ...
Ron P's user avatar
  • 959
2 votes
1 answer
96 views

In the abstract of this paper by Hildebrand, Weismantel & Zemmer it is stated that they provide an FPTAS for $$\min x'Qx$$ over a fixed dimension polyhedron when $Q$ has at most one negative or ...
Turbo's user avatar
  • 1
2 votes
1 answer
318 views

Let $A \in \mathbb{R}^{n \times m}$ and $b \in \mathbb{R}^n$. Suppose $m \ll n$. How to solve this quadratic program efficiently? $$\min_{x \in \mathbb{R}^n} \frac{1}{2} x^\top AA^\top x + b^\top x$$
O. Richard's user avatar
1 vote
1 answer
556 views

Given a $n \times n$ symmetric matrix $\rm S$, solve the optimization problem in $n \times k$ (where $n \geq k$) matrix $\rm X$ $$\begin{array}{ll} \text{maximize} & \mbox{tr} \left( \mathrm X^\...
Gehen's user avatar
  • 21
3 votes
0 answers
263 views

The Huber's M-estimate is to solve the problem $$\underset{\mathbf x}{\rm{minimize}} \rho(\mathbf b-\mathbf A\mathbf x) + \alpha|\mathbf x|$$ where $$ \rho(t) = \left\{\begin{array}{c}\frac{t^2}{2\...
Chan's user avatar
  • 149
1 vote
1 answer
333 views

In a quadratic program (QP), do linear equality constraints always reduce the norm of the minimizer? Specifically, let $P \succ 0$, $A \in \mathsf{M}_{m\times n}$ and $q\in\mathbb{R}^n$. Define $$x^* ...
Conner DiPaolo's user avatar
4 votes
2 answers
629 views

I am trying to find the least-squares solution $X$ of the following matrix equation $$AXB+CXD=E$$ Of course, I know that this equation can be written in the form $$(B^T \otimes A+D^T \otimes C) \...
dave2d's user avatar
  • 191
3 votes
0 answers
125 views

Given $c\in\Bbb R^{n_1},d\in\Bbb R^{n_2}$, $E\in\Bbb R^{n_1\times n_2}$, $A\in\Bbb R^{m_1\times n_1}$, $B\in\Bbb R^{m_2\times n_2}$ $a\in\Bbb R^{m_1}$, $b\in\Bbb R^{m_2}$ and $t\in\Bbb R$ we know ...
Turbo's user avatar
  • 1
1 vote
0 answers
102 views

We know convex quadratic programming is in $P$. Is it also in $P$ if the function of interest is only convex in the domain of interest?
Turbo's user avatar
  • 1
3 votes
1 answer
608 views

Is this problem and solution actually new, or has someone done this earlier? The details can be found in the preprint: arxiv:1701.01477. Let us consider a direct quadratic programming problem: $$ \...
Evgeniy Abramov's user avatar
5 votes
2 answers
606 views

Look at the expression $$ f(x_1,x_2,x_3) = x_1^2+x_2^2+x_3^2+x_1x_2+x_2x_3+x_3x_1. $$ The numbers $x_1,x_2,x_3$ are non-negative, and I assume that $x_1+x_2+x_3=3$. This is a sum of squares and "...
Kurisuto Asutora's user avatar
2 votes
0 answers
181 views

Let $A_1$ be the $N \times N$-matrix for which $a_{i,j} = 1$ for $i=j$ and 0 otherwise. Let $A_2$ be the matrix for which $a_{i,j}=1$ for $|i-j| \leq 1$ and 0 otherwise. Similarly define $A_3$ (which ...
Kurisuto Asutora's user avatar
3 votes
1 answer
249 views

For a matrix $\mathbf{X} \in \mathbb{R}^{n\times l}$, we have the following problem of representing vectors in $\mathbf{X}$ as a convex combination of other vectors excluding the vector itself: $\min\...
Astro's user avatar
  • 185
1 vote
1 answer
231 views

If $a_{m\times 1}$ and $Q_{m\times n}$ ($m<n $) are known, and we know every element of $b$ is between $[-1\ \ 1]$, how to determine $b$ to minimize $\|a+Qb\|_2$?
Peng Zhao's user avatar
2 votes
3 answers
1k views

The problem I have can be defined as: $$ \min \frac{1}{2}\mathbf{x}^T\mathbf{Q}\mathbf{x} + \mathbf{c}^T\mathbf{x} $$ s.t. linear equality constraints: $$ \mathbf{Ax=b} $$ and linear inequality ...
TMS's user avatar
  • 131
1 vote
1 answer
222 views

I have a quadratically constrained quadratic programming/optimization problem involving kind-of piece-wise quadratic functions $f_n (x_m)=a_{n,m} (x_m-\theta_n)^2$, if $|x_m-\theta_n|<c$; $c^2a_{n....
Doodle 's user avatar
1 vote
0 answers
67 views

I have a QP problem of the following kind: $\min_{\alpha\in\mathbb{R}^n}\frac{1}{2}\alpha^T M \alpha - p^T\alpha$ s.t. $l\leq \alpha \leq u$ The matrix $M$ is symmetric and positive definite and of ...
kingnothing's user avatar
1 vote
0 answers
165 views

I have a rather simple scenario based optimization problem: Maximize $$ Q_1{_s}(A_1{_s}-Q_1{_s}-bQ_2{_s})+ Q_2{_s}(A_2{_s}-Q_2{_s}-bQ_1{_s})-[(Q_1{_s}-K_1)^+ + (Q_2{_s}-K_2)^+]c $$ subject to $Q_1{...
phoenix_2014's user avatar
2 votes
1 answer
202 views

Consider bipartite graph with vertex set $V_1\cup V_2$ where $|V_1|=\frac{n(n-1)}2$ and $|V_2|=n$. The vertices in $V_1$ all have degree $2$ and connected to two vertices in $V_2$. The vertices in $...
user avatar
2 votes
0 answers
119 views

Minimize $0<\omega_{dd}<2$ subject to $$\sum_{j=1}^{d}(\omega_{dj} - \omega_{ij})^{2} \geq 4, i=0,1,...,d-1,$$ where $-2<\omega_{ij}<2$ is known for $0 \leq i \leq d-1$ and $1 \leq j \leq ...
Samuel Reid's user avatar
  • 1,461
1 vote
0 answers
150 views

I recently encountered the following optimization problem: $\max \|AX\|_F^2$ subject to: $X\succeq0$ and $Xb_i\leq c_i$ for a collection of $T$ conditions: $i=1,\ldots,T$. Matrices $A$ and $X$ are ...
yuanz07's user avatar
  • 123
1 vote
0 answers
119 views

Let $W \in \mathbb{R}^{n \times n}$ be any non-negative real symmetric matrix. For $k \leq n$, let $\mathcal{F} := \{X \in \mathbb{R}^{n \times k} \ | \ X \geq 0, X \mathbf{1} = \alpha \mathbf{1}, \...
cubic lettuce's user avatar
2 votes
0 answers
164 views

I want to solve a generalized form of a quadratic programming problem $$\min_x \left(\sqrt{x^TPx}+\sqrt{x^TQx}\right)^2+c^Tx$$, $$\textrm{ s.t. } Ax\le b.$$ Here, $P$ and $Q$ are both positive ...
ListenTee's user avatar
4 votes
0 answers
184 views

Was exploring quadratic programming optimization and for two types of problems the answers seemed to always equal. Problem 1: Minimize $\tfrac{1}{2} \mathbf{x}^T Q\mathbf{x}$ Subject to $ A \mathbf{...
Mike's user avatar
  • 171
4 votes
0 answers
541 views

What is the solution of the following optimization problem: \begin{align} &\min{\mathbf{p}^\mathrm{T} \mathbf{B} \mathbf{p}}\\ &\text{subject to}: \mathbf{0}\leq{\mathbf{p}}\leq \mathbf{1}. \...
mohsenh01's user avatar
0 votes
2 answers
150 views

Let $$A = \Big\{(a_1,a_2,\dots)\ \Big|\ a_i\ge 0, \sum_{i=1}^\infty a_i=1\Big\},$$ $$v(x)=\sup\left(\bigg\{\sum_{i=1}^\infty a_ib_i\ \bigg|\ (a_i)_{i=1}^\infty,\, (b_i)_{i=1}^\infty \in A,\,\sup\...
Hans's user avatar
  • 2,363