Model predictive heuristic control