at specified times
in the interior of the time interval
of the problem. Necessary conditions for a control to be optimal are given in the form of a minimum principle. The costate is necessarily discontinuous at the times
. Consequently, the optimal control is discontinuous at t