Ascent phase trajectory optimization for aircraft based on Nonlinear Programming