Αποστολή με SMS: Optimal Control of Switched Systems Arising in Fermentation Processes