The problem of the number of switches in parabolic equations with control