“…Optimal scheduling of systems with switching behavior is a problem of great importance. This problem, for even the most simple system, i.e., a server attending two queues, has been investigated by many researchers, see for example [1,4,5,6,7,8,10,11,14], and references therein. We follow the general framework introduced by [9] and model the production flow as continuous rather than discrete.…”