Invia SMS: Nonlinear programming: theory and algorithms