### Tractable fitting with convex polynomials via sum-of-squares

- A. Magnani, S. Lall and S. Boyd.
- Proceedings of the IEEE Conference on Decision and Control, p. 1672--1677, 2005.

We consider the problem of fitting given data with a convex polynomial. A technique to solve this problem using sum of squares polynomials is presented. This technique is extended to enforce convexity only on a specified region. Also, an algorithm to fit the convex hull of a set of points with a convex sub-level set of a polynomial is presented. This problem is a natural extension of the problem of finding the minimum volume ellipsoid covering a set. The algorithm, like that for the minimum volume ellipsoid problem, has the property of being invariant to affine coordinate transformations. We generalize this technique to fit arbitrary unions and intersections of polynomial sub-level sets.