SQP Implementation
The MATLAB SQP implementation consists of three main stages, which are discussed briefly in the following subsections: