Some optimal control problems for queueing systems

We consider here the optimal control of the number of servers in the M/M/S queue and M/G/1 queue. There are switching costs for every change of the control variable and the finite horizon problem is considered.