Constrained optimization and optimal control for partial differential equations (2012)