Trust region nonlinear optimization, efficient for sparse Hessians