An optimal solution of a general lot size inventory model with deteriorated and imperfect products, taking into account inflation and time value of money · Study