Model predictive controller tuning by machine learning and ordinal optimisation