In convex optimization, a linear matrix inequality (LMI) is an expression of the form
 
where
![{\displaystyle y=[y_{i}\,,~i\!=\!1,\dots ,m]}](./89265d1d358a5bb9e6ecd14fd6636c804b30b94f.svg) is a real vector, is a real vector,
 are are symmetric matrices symmetric matrices , ,
 is a generalized inequality meaning is a generalized inequality meaning is a positive semidefinite matrix belonging to the positive semidefinite cone is a positive semidefinite matrix belonging to the positive semidefinite cone in the subspace of symmetric matrices in the subspace of symmetric matrices . .
This linear matrix inequality specifies a convex constraint on  .
.