Optical soliton perturbation for Gerdjikov–Ivanov equation via two analytical techniques