Text this: Optimal control of switched systems arising in fermentation processes /