Horizon in the context of optimization is the amount of measurements. For example a horizon of 5 means t=0,…,4.