Zaslat SMS: Nondifferential and variational techniques in optimization