This paper obtains cubic–quartic optical solitons of generalized Kudryashov's law of refractive index. The included perturbation terms are with maximum intensity. The retrieved soliton solutions are with the aid of F-expansion, exp-expansion and Riccati equation methods. Finally, the conservation laws of the model are also recovered and listed.