Invia SMS: On regularity conditions in constrained optimization