Culling Cows on Predicted Future Profitability with a Variable Planning Horizon