Text this: A nonmonotone trust region technique with active-set and interior-point methods to solve nonlinearly constrained optimization problems