Online optimization of dynamic binding capacity and productivity by model predictive control.