The solitary wave solution and periodic solutions expressed in terms of
elliptic Jacobi's functions are obtained for the nonlinear Schr\"{o}dinger
equation governing the propagation of pulses in optical fibers including the
effects of second, third and fourth order dispersion. The approach is based on
the reduction of the generalized nonlinear Schr\"{o}dinger equation to an
ordinary nonlinear differential equation. The periodic solutions obtained form
one-parameter family which depend on an integration constant p. The solitary
wave solution with sech2 shape is the limiting case of this family
with p=0. The solutions obtained describe also a train of soliton-like pulses
with sech2 shape. It is shown that the bounded solutions arise only
for special domains of integration constant.Comment: We consider in this paper also the case with negative parameter
γ (defocusing nonlinearity