Conventional smoothed particle hydrodynamics (SPH) methods suffer from disadvantages, such as difficult initial particle configuration, uneven distribution of generated particles, and low computational efficiency when applied to numerical simulation of shaped charge blasting. In this research, to overcome these problems, a modified SPH method that generates the particle configuration through self-adaptive optimization is developed by the combined application of MATLAB and LS-DYNA. The results presented in this paper demonstrate that the modified configuration method solves the problem of uneven distribution of particles in complex geometry domains by providing a more uniform smoothed particle distribution than the conventional SPH method. Furthermore, the results from the application of these two methods to the bidirectional-shaped charge blasting problem reveal that the defects in the particle configuration in the conventional SPH method lead to the development of main cracks in both the shaped and the unshaped directions. However, with the self-adaptive optimization method, the main cracks develop only in the shaped direction. In addition, the equivalent stress difference between the shaped and unshaped directions, 0.7 ms after detonation, is 120 MPa with the modified method. This is 85 MPa more than that with the conventional method.