Introduction - If you have any usage issues, please Google them yourself
the problem is changed into mathematical programming problem and formulae are derived for computing the gradients, also, a computational method for finding the optimal control is obtained by using the Sequential Quadratic Programming (SQP) algorithm.