An Extended Lagrangian Method