In the usual framework of control, a reference trajectory is needed as set point for feedback controller. This can be generated by solving optimization problem. problem continuous optimal control (OCP) that transcribed into finite-dimensional nonlinear (NLP) and solved SQP. For an underactuated conventional vessel, mathematical model very intricate, hence NLP itself. causes significant computat...