Optimization techniques, with applications to aerospace systems