$\newcommand{\RR}{{\mathbb R}} \newcommand{\RRm}{\RR^m} \newcommand{\RRmE}{\RR^{m_E}} \newcommand{\RRmI}{\RR^{m_I}} \newcommand{\RRmS}{\RR^{m_S}} \newcommand{\RRn}{\RR^n}$
SQPlab can solve a smooth nonlinear optimization problem possibly having bound contraints on the $n$ variables $x$, nonlinear inequality constraints, and nonlinear equality constraints. The problem is supposed to be written in the form:The constraints $c_S(x)=0$ look like standard equality constraints, but are considered by SQPlab in a different manner. They are supposed to express state constraints in an optimal control setting. We mean by this that, once they are present, the variables $x$ are split in state variables $y$ and control variables $u$; hence $x = (y,u)$. There are as many state variables as state equations, i.e., $m_S$. In addition, it is assumed that the Jacobian of the state constraints with respect to the state variables is uniformly nonsingular. The state constraints are then used to reduce the size of the optimization problem to $n-m_S$. SQPlab offers in fact more flexibility than in this short description; more is given in the documentation.