On the use of a MPC algorithm for the in-line optimization of a pharmaceutical freeze-drying process.