Example: constrained optimization.