Abstract. We analyze a heuristic numerical method suggested by V.I. Petviashvili in 1976 for approximation of stationary solutions of nonlinear wave equations. The method is used to construct numerically the solitary wave solutions, such as solitons, lumps, and vortices, in a space of one and higher dimensions. Assuming that the stationary solution exists, we find conditions when the iteration ...