State Constrained Optimal Control Problems