In this paper a model has been developed to optimize the ordering policy in which the deteriorating rate is linear, the customer fixes a period to settle the account with the supplier, and shortages are allowed. Thus, the customer has a interest-free period to make the payment to the supplier...