A matlab toolbox for nonlinear optimization.