We present a simple method for obtaining stationary solutions to the p
erturbed nonlinear Schrodinger equation from a random input field. In
particular, we propagate the initial field while both renormalizing to
ensure that the maximum field value remains constant and absorbing th
e field at increasingly large distances from the centre of the computa
tional window in position and wavevector space. Our algorithm, which r
esults in near-perfect lowest-order solitons for a wide range of absor
ber and computational parameters, should be equally applicable to othe
r nonlinear equations.