SMS dit: Optimal control of a fermentation process