On the preservation of invariants in the simulation of solitary waves in some nonlinear dispersive equations | Publicación