Working with nonlocal DoFs. Solving an optimal control problem with constrained input.
