Optical soliton perturbation with parabolic and dual-power law nonlinearities by semi-inverse variational principle