This paper proposes a optimization of the design variables of linear motor for the improvement of thrust. Especially, this paper treats the shoe, which can be good to flow of a magnetic flux in linear motor. Firstly, this paper uses a space harmonic analysis method(SHAM) based on Fourier series, for analyzing the characteristics of core type linear motor, including slot structure and shoe. And compare the magnetic flux densities of linear motor at air gap with the results of the SHAM and the Finite Element Method(FEM). Secondly, this paper uses a genetic algorithm, which is good to find the global solutions. The design variables are the pole pitch of magnet, the pitch of slot, the height of slot, the width of shoe and the width of magnet. The maximum thrust with optimum design variables is about 247 N which is improved about 16%.