Add the example to run the SQP algorithm.