This paper studies dispersive bright and dark optical solitons, modeled by the Schrödinger–Hirota equation, numerically by the aid of the Adomian decomposition. The surface plots of the algorithm yielded an impressively small measure. The effects of soliton radiation are ignored.