A Parallel Tensor Algorithm for Nonlinear Optimization