SOSOPT: A Toolbox for Polynomial Optimization

Peter J. SeilerarXiv 2013

TL;DR

This paper introduces SOSOPT, a MATLAB toolbox designed to simplify the formulation and solution of Sum-of-Squares (SOS) polynomial optimization problems. By leveraging the connection between SOS polynomials and Semidefinite Programming (SDP), SOSOPT provides a user-friendly interface for tackling complex nonlinear analysis and control problems that can be cast in this framework.

What Problem Does This Paper Address?

Many problems in nonlinear analysis and control, such as determining regions of attraction, reachability sets, and input-output gains for polynomial systems, can be challenging to solve directly. These problems often involve proving the nonnegativity of polynomials, which can be difficult. Sum-of-Squares (SOS) polynomials offer a powerful sufficient condition for nonnegativity: if a polynomial can be expressed as a sum of squares of other polynomials, it is guaranteed to be globally nonnegative. However, formulating and solving these SOS-based optimization problems can be computationally intensive and require specialized tools. This paper addresses the need for a practical and accessible way to formulate and solve these SOS optimization problems, making them more amenable to researchers and engineers.

Methods

The core of SOSOPT lies in its ability to translate SOS polynomial problems into Semidefinite Programs (SDPs). The paper outlines four main problem types:

  1. SOS Test: Determining if a given polynomial is a sum of squares.
  2. SOS Feasibility Problem: Finding decision variables such that certain polynomials are SOS and others are zero.
  3. SOS Optimization: Minimizing a linear objective function subject to SOS and equality constraints on polynomials that are affine in the decision variables.
  4. Generalized SOS Optimization: A more general form where constraints can be bilinear in the decision variables and the optimization variable t.

SOSOPT uses the multipoly toolbox to construct polynomial objects and define constraints. It overloads standard relational operators (>=, <=, ==) to create SOS and equality constraints. The toolbox then converts these polynomial constraints into SDPs, which are solved using established SDP solvers like SeDuMi, SDPT3, and others. The paper also details how to construct polynomial decision variables using mpvar and polydecvar for vector-form coefficients, and sosdecvar for matrix-form coefficients, particularly useful when directly forming SOS constraints.

Datasets

Not discussed in the paper. The paper focuses on the methodology and toolbox implementation rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • SOS as a Powerful Tool for Nonnegativity: The fundamental insight is that expressing a polynomial as a sum of squares provides a computationally tractable way to prove its nonnegativity, which is crucial for many analysis problems in nonlinear systems.
  • Bridging Polynomials and SDPs: The paper highlights the elegant mathematical connection between SOS polynomials and positive semidefinite matrices, enabling the efficient solution of these problems via SDPs. This connection is the backbone of the SOSOPT toolbox.
  • User-Friendly Formulation: SOSOPT significantly lowers the barrier to entry for using SOS techniques by providing intuitive MATLAB functions and overloaded operators for defining polynomial constraints.
  • Flexibility in Problem Types: The toolbox supports a range of SOS-related problems, from simple tests to complex optimizations and generalized forms, catering to diverse research needs.

Key Results

The paper's primary contribution is the development and description of the SOSOPT toolbox. While specific quantitative results are not presented in terms of performance benchmarks against other tools, the paper demonstrates the toolbox's functionality through:

  • Clear problem formulations: Defining SOS tests, feasibility problems, optimizations, and generalized SOS optimizations.
  • Detailed usage instructions: Explaining installation, constraint formulation, solving SOS problems, and setting options.
  • Illustrative examples: Showing how to construct polynomial decision variables and define constraints using MATLAB code snippets.
  • Connections to SDPs: Providing a theoretical foundation for how SOS problems are converted into solvable SDPs.

The key result is the availability of a robust and accessible tool that empowers researchers to apply SOS techniques to a wider range of problems in polynomial optimization and nonlinear system analysis.

Limitations and Future Work

  • Computational Complexity: While SOSOPT leverages efficient SDP solvers, the computational cost of solving SOS problems can still be significant, especially for high-degree polynomials or a large number of variables. The paper mentions that the simplify option in sosoptions can help reduce computational time by removing unnecessary monomials.
  • Generalized SOS Quasiconvexity: The paper notes that generalized SOS optimization problems are quasiconvex and can be efficiently solved using bisection, but acknowledges that the theory and software for generalized eigenvalue problems (an alternative approach) are less developed.
  • Future Work: The paper implicitly suggests that further development of the toolbox, potentially including more advanced simplification techniques or integration with a wider array of solvers, would be beneficial. The existence of demo files also points towards encouraging users to explore and extend the applications of the toolbox.

Summary updated

BibTeX
@misc{seiler2013sosopt,
  author = {Peter J. Seiler},
  title = {{SOSOPT: A Toolbox for Polynomial Optimization}},
  year = {2013},
  eprint = {1308.1889},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1308.1889},
}
Figure