Generalized Linear Model Regression under Distance-to-set Penalties