Adaptive model predictive control of autonomic distributed parallel computations with variable horizons and switching costs. (18th May 2015)