Reducing waste and ecological impacts through a sustainable and efficient management of perishable food based on the Monte Carlo simulation