Adaptive horizon economic nonlinear model predictive control. (August 2020)