Algorithm Search⌘K

Definitioncore

Linear matrix inequality

Also called LMI.

A constraint F(x) = F_0 + x_1 F_1 + ... + x_k F_k > 0 with symmetric F_i. Its feasible set is convex, so stability and norm tests in this form are solved as semidefinite programs.

A linear matrix inequality (LMI) is a constraint that a symmetric matrix, whose entries depend affinely on unknown real numbers, be positive definite (or, in the other sign convention, negative definite). The set of unknowns that satisfy it is convex, so the search for a feasible point, or for the best point under a linear cost, is a semidefinite program and can be solved to any accuracy by interior point methods. Many tests in control take this form: Lyapunov stability, the H-infinity norm bound of the bounded real lemma, quadratic stability of uncertain systems, and state feedback design after a change of variables. The first LMI in control is Lyapunov's: ATP+PA<0A^T P + P A < 0 with P>0P > 0.

Definition

Standard form. Let F0,F1,…,FkF_0, F_1, \dots, F_k be real symmetric N×NN \times N matrices. A linear matrix inequality in x∈Rkx \in \mathbb{R}^k is

F(x)=F0+x1F1+⋯+xkFk>0,F(x) = F_0 + x_1 F_1 + \dots + x_k F_k > 0,

where >0> 0 means positive definite. The nonstrict LMI is F(x)≥0F(x) \ge 0 (positive semidefinite). In this area, an LMI written with <0< 0 means negative definite, which is the same as −F(x)>0-F(x) > 0.

Matrix variables. In control the unknowns are usually matrices. For example, with A∈Rn×nA \in \mathbb{R}^{n \times n} given,

P>0,ATP+PA<0P > 0, \qquad A^T P + P A < 0

is an LMI in the symmetric matrix PP. It fits the standard form: write P=∑ixiEiP = \sum_i x_i E_i for a basis E1,…,EkE_1, \dots, E_k of the symmetric n×nn \times n matrices, k=n(n+1)/2k = n(n+1)/2, and put the two conditions in one block diagonal matrix diag⁡(P,−(ATP+PA))>0\operatorname{diag}(P, -(A^T P + P A)) > 0 of size N=2nN = 2n. Any finite set of LMIs is one LMI in this way.

Convexity. If F(x)>0F(x) > 0 and F(y)>0F(y) > 0, then F(θx+(1−θ)y)=θF(x)+(1−θ)F(y)>0F(\theta x + (1 - \theta) y) = \theta F(x) + (1 - \theta) F(y) > 0 for θ∈[0,1]\theta \in [0, 1], because FF is affine and the positive definite matrices form a convex cone. So the feasible set is convex. It is open for a strict LMI and closed for a nonstrict one. It is in general not a polyhedron: its boundary is curved.

Schur complements. Many convex but nonlinear constraints become LMIs by the Schur complement lemma: for symmetric QQ, RR and any SS,

[QSSTR]>0  ⟺  R>0 and Q−SR−1ST>0.\begin{bmatrix} Q & S \\ S^T & R \end{bmatrix} > 0 \iff R > 0 \text{ and } Q - S R^{-1} S^T > 0 .

For example, the Riccati inequality ATP+PA+PBR−1BTP+CTC<0A^T P + P A + P B R^{-1} B^T P + C^T C < 0 with R>0R > 0 is not affine in PP, but it is equivalent to the LMI [ATP+PA+CTCPBBTP−R]<0\begin{bmatrix} A^T P + P A + C^T C & P B \\ B^T P & -R \end{bmatrix} < 0.

Standard problems. Three problems recur (Boyd, El Ghaoui, Feron and Balakrishnan 1994, Section 2.2):

  • Feasibility (LMIP). Find xx with F(x)>0F(x) > 0, or show that none exists.
  • Linear objective (EVP). Minimize cTxc^T x subject to F(x)≥0F(x) \ge 0. This is a semidefinite program. The smallest γ\gamma with ∥G∥∞<γ\|G\|_\infty < \gamma by the bounded real lemma is of this kind.
  • Generalized eigenvalue problem (GEVP). Minimize λ\lambda subject to λB(x)−A(x)>0\lambda B(x) - A(x) > 0, B(x)>0B(x) > 0 and C(x)>0C(x) > 0, with AA, BB, CC affine. It is quasiconvex, and it is solved by bisection on λ\lambda or by special interior point methods. The best decay rate certified by a quadratic Lyapunov function is of this kind.

Solving. An LMI problem with kk scalar variables and an N×NN \times N matrix is a semidefinite program of that size. A primal-dual interior point method finds a point within ε\varepsilon of optimal in O(Nlog⁡(1/ε))O(\sqrt{N} \log(1/\varepsilon)) iterations, each a Newton step of cost about O(k2N2+kN3)O(k^2 N^2 + k N^3) flops for dense data, when the problem is strictly feasible and a starting point is known; see the semidefinite programming page for the exact assumptions. The ellipsoid method is also polynomial in kk and log⁡(1/ε)\log(1/\varepsilon), but slower in practice. For the Lyapunov LMI, k=n(n+1)/2k = n(n+1)/2, so the cost per iteration grows like n6n^6: LMIs are practical for tens of states, while the Lyapunov equation itself costs O(n3)O(n^3).

Strict and nonstrict. A strict LMI that is feasible has a feasible set with an interior, and small errors in the data do not destroy feasibility. Solvers return points of the nonstrict problem, so a strict LMI is usually checked with a margin: F(x)≥ϵIF(x) \ge \epsilon I. The certificate of a feasible point is a Cholesky factorization of F(x)−ϵIF(x) - \epsilon I. A certificate of infeasibility is a dual matrix Z≥0Z \ge 0, Z≠0Z \ne 0, with trace⁡(FiZ)=0\operatorname{trace}(F_i Z) = 0 for i≥1i \ge 1 and trace⁡(F0Z)≤0\operatorname{trace}(F_0 Z) \le 0 (Lagrangian duality for semidefinite programs).

Riccati equations and LMIs. Willems (1971) related the algebraic Riccati equation to the LMI

[ATP+PA+QPB+SBTP+STR]≥0,R>0.\begin{bmatrix} A^T P + P A + Q & P B + S \\ B^T P + S^T & R \end{bmatrix} \ge 0, \qquad R > 0 .

For (A,B)(A, B) controllable, this LMI is feasible exactly when a frequency domain inequality holds and exactly when the Riccati equation ATP+PA+Q−(PB+S)R−1(BTP+ST)=0A^T P + P A + Q - (P B + S) R^{-1} (B^T P + S^T) = 0 has a real symmetric solution. The Riccati equation then has a largest solution, which is also the largest solution of the LMI. The Kalman-Yakubovich-Popov lemma is the general form of this link.

Examples and non-examples

  • Lyapunov stability, the check value. A=[01−2−3]A = \begin{bmatrix} 0 & 1 \\ -2 & -3 \end{bmatrix} (eigenvalues −1-1 and −2-2). The matrix P=[5/41/41/41/4]P = \begin{bmatrix} 5/4 & 1/4 \\ 1/4 & 1/4 \end{bmatrix} has det⁡P=1/4>0\det P = 1/4 > 0 and trace 3/2>03/2 > 0, so P>0P > 0, and ATP+PA=−I<0A^T P + P A = -I < 0 exactly. So PP satisfies the LMI and proves that AA is Hurwitz (by the Lyapunov theorem for linear systems). Here k=3k = 3 and N=4N = 4.
  • Non-example of feasibility: an imaginary eigenvalue. For A=[01−10]A = \begin{bmatrix} 0 & 1 \\ -1 & 0 \end{bmatrix}, with eigenvalue jj and eigenvector vv, every symmetric PP gives vH(ATP+PA)v=(λˉ+λ) vHPv=0v^H (A^T P + P A) v = (\bar\lambda + \lambda)\, v^H P v = 0. So ATP+PAA^T P + P A is never negative definite, and the LMI is infeasible. The nonstrict LMI ATP+PA≤0A^T P + P A \le 0 is feasible, with P=IP = I: strict and nonstrict LMIs can differ.
  • A curved feasible set. [x111x2]≥0\begin{bmatrix} x_1 & 1 \\ 1 & x_2 \end{bmatrix} \ge 0 holds exactly when x1≥0x_1 \ge 0, x2≥0x_2 \ge 0 and x1x2≥1x_1 x_2 \ge 1: the region above a branch of a hyperbola. It is convex but not a polyhedron, so it is not a set of linear inequalities.
  • State feedback, after a change of variables. The closed-loop Lyapunov condition (A+BK)TP+P(A+BK)<0(A + B K)^T P + P (A + B K) < 0 is bilinear in (K,P)(K, P), so it is not an LMI. Multiply by Q=P−1Q = P^{-1} on both sides and set Y=KQY = K Q. The condition becomes AQ+QAT+BY+YTBT<0A Q + Q A^T + B Y + Y^T B^T < 0 with Q>0Q > 0, an LMI in (Q,Y)(Q, Y), and K=YQ−1K = Y Q^{-1}. For the double integrator A=[0100]A = \begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}, B=[01]B = \begin{bmatrix} 0 \\ 1 \end{bmatrix}, the point Q=[1−1−15]Q = \begin{bmatrix} 1 & -1 \\ -1 & 5 \end{bmatrix}, Y=[1−13]Y = \begin{bmatrix} 1 & -13 \end{bmatrix} gives AQ+QAT+BY+YTBT=[−266−26]<0A Q + Q A^T + B Y + Y^T B^T = \begin{bmatrix} -2 & 6 \\ 6 & -26 \end{bmatrix} < 0 (determinant 16, trace −28-28), and K=YQ−1=[−2−3]K = Y Q^{-1} = \begin{bmatrix} -2 & -3 \end{bmatrix}: the closed loop is the matrix of the first example. See state feedback.
  • Non-example: a rank constraint. The set of P≥0P \ge 0 with rank⁡P≤1\operatorname{rank} P \le 1 is not convex (the average of diag⁡(1,0)\operatorname{diag}(1, 0) and diag⁡(0,1)\operatorname{diag}(0, 1) has rank 2), so it is not the feasible set of any LMI. Output feedback and reduced order controller design lead to such constraints, and they are not LMI problems in general.

References

  1. Stephen Boyd, Laurent El Ghaoui, Eric Feron and Venkataramanan Balakrishnan, Linear Matrix Inequalities in System and Control Theory, SIAM Studies in Applied Mathematics 15, SIAM, 1994, Section 1.2 (a brief history of LMIs in control theory), Sections 2.1 and 2.2 (LMIs and the standard problems LMIP, EVP and GEVP), Section 2.4 (interior-point methods) and Section 2.5 (strict and nonstrict LMIs)
  2. Jan C. Willems, Least squares stationary optimal control and the algebraic Riccati equation, IEEE Transactions on Automatic Control 16(6), 621-634, 1971, the link between the Riccati equation, the frequency domain inequality and the linear matrix inequality
  3. Sigurd Skogestad and Ian Postlethwaite, Multivariable Feedback Control, Analysis and Design, second edition, Wiley, 2005, Chapter 12, Linear Matrix Inequalities

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/7J5JP2/text.yaml