Smart decision-making in production