Skip to main content
QUICK REVIEW

[Paper Review] PENLAB: A MATLAB solver for nonlinear semidefinite optimization

Jan Fiala, Michal Kočvara|arXiv (Cornell University)|Nov 20, 2013
Advanced Optimization Algorithms ResearchMathematics21 references71 citations
TL;DR

PENLAB is an open-source MATLAB solver for nonlinear semidefinite optimization problems, leveraging a nonlinear rescaling algorithm based on penalty/barrier functions to handle nonlinear objective and constraint functions with matrix inequality and eigenvalue constraints. Its key contribution lies in providing a fully accessible, extensible framework for research and teaching, enabling users to modify algorithmic components while solving problems in structural design, correlation matrix completion, and static output feedback.

ABSTRACT

PENLAB is an open source software package for nonlinear optimization, linear and nonlinear semidefinite optimization and any combination of these. It is written entirely in MATLAB. PENLAB is a young brother of our code PENNON \cite{pennon} and of a new implementation from NAG \cite{naglib}: it can solve the same classes of problems and uses the same algorithm. Unlike PENNON, PENLAB is open source and allows the user not only to solve problems but to modify various parts of the algorithm. As such, PENLAB is particularly suitable for teaching and research purposes and for testing new algorithmic ideas. In this article, after a brief presentation of the underlying algorithm, we focus on practical use of the solver, both for general problem classes and for specific practical problems.

Motivation & Objective

  • To develop an open-source MATLAB-based solver for nonlinear optimization with semidefinite constraints to support research and educational applications.
  • To enable users to modify and experiment with algorithmic components, facilitating testing of new ideas in nonlinear semidefinite programming.
  • To provide a practical, accessible tool for solving real-world problems involving matrix inequalities and nonlinear objectives.
  • To extend the capabilities of existing solvers like PENNON and NAG's implementation by offering full source code access.
  • To demonstrate the solver's effectiveness on benchmark problems such as the nearest correlation matrix with condition number constraints, truss topology design, and static output feedback control.

Proposed method

  • Employs a nonlinear rescaling method based on penalty and barrier functions to handle inequality and matrix inequality constraints.
  • Uses a primal-dual interior-point approach with sequential quadratic programming (SQP) iterations to solve the augmented Lagrangian subproblems.
  • Applies directional derivatives and matrix calculus to compute gradients and Hessians of matrix-valued functions, including $ \nabla F(X) $ for $ F(X) = X^2 $ and $ \mbox{Tr}(X^{-1}) $.
  • Applies symmetry-aware gradient computation via $ Z_{ij} + Z_{ji} - \text{diag}(Z_{ij}) $ for symmetric matrices to ensure correctness.
  • Implements automatic differentiation techniques using matrix calculus rules for scalar and matrix functions, including $ \frac{\partial}{\partial x_{ij}} \mbox{Tr}(X^{-1}) $.
  • Supports both equality and inequality constraints on matrix variables, including eigenvalue bounds $ \underline{\lambda}_i I \preceq Y_i \preceq \overline{\lambda}_i I $.

Experimental results

Research questions

  • RQ1How can a fully open-source MATLAB-based solver be designed to solve nonlinear semidefinite programs with extensibility for algorithmic experimentation?
  • RQ2What are the performance trade-offs of implementing a high-level solver in MATLAB versus compiled languages, particularly for large-scale problems?
  • RQ3Can PENLAB effectively solve challenging practical problems such as the nearest correlation matrix with condition number constraints?
  • RQ4How well does the nonlinear rescaling algorithm perform on problems with matrix inequality constraints compared to other approaches in the literature?
  • RQ5To what extent can PENLAB serve as a teaching and research tool for exploring new algorithmic ideas in nonlinear semidefinite programming?

Key findings

  • PENLAB successfully solves a range of practical problems, including the nearest correlation matrix problem with condition number constraints, the truss topology optimization with global stability, and the static output feedback control problem.
  • The solver uses a consistent algorithmic framework with PENNON and NAG's implementation, ensuring compatibility and reproducibility across platforms.
  • Despite performance limitations due to MATLAB’s interpreted environment, PENLAB provides full access to algorithmic components, enabling detailed analysis and modification.
  • Theoretical derivations of matrix gradients and Hessians are correctly implemented, including symmetric matrix handling via $ Z_{ij} + Z_{ji} - \text{diag}(Z_{ij}) $, ensuring numerical accuracy.
  • The package is distributed under the GNU GPL license and is publicly available at http://web.mat.bham.ac.uk/kocvara/penlab for research and educational use.
  • The implementation correctly computes directional derivatives and second-order derivatives for matrix functions, such as $ \frac{\partial^2}{\partial x_{ij}\partial x_{k\ell}} \mbox{Tr}(X^{-1}) = X^{-1}E_{ij}X^{-1}E_{kl}X^{-1} + X^{-1}E_{kl}X^{-1}E_{ij}X^{-1} $.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.