Ansatz method, Generalized Riccati mapping method, Hirota Equation, Modified nonlinear Schrödinger equation, optical soliton, W-shaped soliton.