This source code contains the algorithm described in:
S. Zhou, Gradient projection newton pursuit for sparsity constrained optimization, Applied and Computational Harmonic Analysis, vol. 61, pp. 75-100, 2022.
Please give credits to this paper if you use the code for your research.