An improved partial swarm optimization algorithm for solving nonlinear equation problems