Text this: Constrained Optimization and Optimal Control for Partial Differential Equations