Adaptive on-line optimizing control of bioreactor systems