Nonlinear Schrodinger equation (NLSE) has important applications in quantum mechanics, nonlinear optics, plasma physics, condensed matter physics, optical fiber communication and laser system design, and its accurate solution is very important for understanding complex physical phenomena. Here, the traditional Finite Difference Method (FDM), the Split-Step Fourier Method (SSF) and the Physics-Informed Neural Network (PINN) method are studied, aiming to deeply analyze the solving mechanism of various algorithms, and then realize the efficient and accurate solution of complex nonlinear Schrodinger equation (NLSE) in optical fiber. Initially, the steps, process and results of PINN in solving the NLSE for pulse under short-distance transmission are described, and these methods’ errors are quantitatively evaluated by comparing with PINN, FDM and SSF. On this basis, the key factors affecting the accuracy of NLSE solution for pulse under long-distance transmission are further discussed. Then, the effects of different networks, activation functions, hidden layers and the number of neurons in PINN on the NLSE solution’s accuracy are discussed. It is found that selecting a suitable combination of activation functions and network types can significantly reduce the error, and the combination of FNN and tanh activation functions is particularly good. The effectiveness of Ensemble Learning strategy is also verified, that is, by combining the advantages of traditional numerical methods and PINN, the accuracy of NLSE solution is improved. Finally, the evolution characteristics of Airy pulse with different chirps in fiber and the solution of vector NLSE corresponding to polarization-maintaining fiber are studied by using the above algorithm. This study explores the solving mechanism of FDM, SSF and PINN in complex NLSE, compares and analyzes the error characteristics of those methods in various transmission scenarios, proposes and verifies the Ensemble Learning strategy. It provides a solid theoretical basis for the research of pulse transmission dynamics and data-driven simulation.