Distance between ellipses: semidefinite programming (SDP/LMI, linear matrix inequalities)

Antonio Sala, UPV

Difficulty: ,       Relevance: ,      Duration: 10:59

Materiales:    [ Cód.: DistanceEllipsesENG.mlx ]

Summary:

This video explains how to compute the distance between two ellipses (minimum distance between any pair of points in them), by optimizing a function subject to linear matrix inequalities (LMI), that is, semidefinite programming (SDP).

The basic idea is to express the ellipses (xi ci)T Q i1(x i ci) 1, i {1, 2}, as LMI sets, using Schur’s formula. Also a distance bound (x1 x2)T (x 1 x2) d2 will be expressed as an LMI on decision variables x1 and x2 using the Schur formula, and ξ d2 will be minimized, as the overall semidefinite programming setting is a particular case of convex optimization.

Results are checked numerically and plotted for three examples, including an example where the ellipses do intersect and, therefore, the distance is zero (although the numerical solver does not yield exactly zero as a result, due to the tolerances and finite precision of the code). The actual software used in this video is Matlab, jointly with the free SDP toolboxes YALMIP and SeDuMi.

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

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.