Analytical solutions of the generalized nonlinear Schrödinger are presented. Optical solitons corresponding to the mathematical model are given. Conservation laws of the generalized model for propagation pulses with four powers of nonlinearity are considered. The equation studied is the generalization of several well-known models, which allows us to evaluate the influence of various processes on pulse propagation. Conservative quantities for the bright optical soliton are calculated.