Application of Successive Quadratic Programming to Chemical Process Control