Abstract-The method of auxiliary sources (MAS) presents a promising alternative to methods based on discretization, currently used for solving scattering problems. The optimal choice of the auxiliary surface and the proper allocation of radiation centers play a crucial role in ensuring accuracy and stability of the MAS. This approach is considered an open issue and can be investigated numerically. In this paper, we propose a systematic and fully automated technique leading to determine the optimal parameters of the MAS for arbitrary shaped obstacles (partially or fully penetrable) for scattering problems.