LMIs: Ellipsoid containing other ellipsoids/polyhedra, Yalmip/Sedumi/Matlab (1): minimum major axis

Antonio Sala, UPV

Difficulty: **** ,       Relevance: PIC,      Duration: 18:43

Materials:    [ Cód.: ElipsLMIout.mlx ] [ PDF ]

Summary:

This video presents how to obtain, via linear matrix inequalities (LMI) or semidefinite programming (SDP), according to other texts, the “smallest” ellipse that contains a given polygon and another ellipse.

The approach can be generalized to more ellipses and more polyhedra in more dimensions; the LMI code would be practically identical.

The first part of the video discusses the conditions for an ellipse xT Px 1 to contain a polyhedron with vertices vi (that is, viT Pv i 1) and to contain another ellipse xT Mx 1, that is stated as M P 0; The second case is detailed and proven in the video [ellip5EN].

The second part of the video discusses what needs to be “optimized” (objective function): in this first video, it is decided to minimize the length of the semimajor axis of the ellipse, that is, we wish to minimize the radius of the smallest sphere that contains the sought ellipse. This is done by minimizing ρ, adding the constraint P ρ2I 0. Actually, to make the objective function and constraints linear in the decision variables, we change to maximize β subject to P βI 0.

The video details all the YALMIP code that must be entered to solve the problem in a Matlab environment.

Note: by minimizing the size of the semimajor axis of the ellipse, the minor semi-axis is “free” and the solution is not unique. Discussing this topic as well as the minimization of the volume (area in a 2D case) of the desired ellipsoid is the objective of the video [lmielout2EN], a continuation of this one.

*Link to my [ whole collection] of videos in English. Link to larger [ Colección completa] in Spanish.

© 2025, A. Sala. All rights reserved for materials from authors affiliated to Universitat Politecnica de Valencia.
Please consult original source/authors for info regarding rights of materials from third parties.