Αποστολή με SMS: Constrained Optimization and Optimal Control for Partial Differential Equations