“…Although self-similar solutions have been extensively studied in fields such as hydrodynamics and quantum field theory, their application in optics has not been widespread. Some important results have, however, been obtained, with previous theoretical studies considering self-similar behavior in radial pattern formation [2], stimulated Raman scattering [3], the evolution of self-written waveguides [4], the formation of Cantor set fractals in soliton systems [5], the nonlinear propagation of pulses with parabolic intensity profiles in optical fibers with normal dispersion [6], and nonlinear compression of chirped solitary waves [7,8].In this Letter we present the discovery of a broad class of exact self-similar solutions to the nonlinear Schrö -dinger equation with gain or loss (the generalized NLSE) where all parameters are functions of the distance variable. This class also encloses the set of solitary wave solutions which describes, for example, such physically important applications as the amplification and compression of pulses in optical fiber amplifiers [9].…”