This paper aims to provide proper policies for inventory under uncertain conditions by comparing different inventory policies. To review the efficiency of these algorithms it is necessary to specify the area in which each of them is applied. Therefore, each of the models has been reviewed under different forms of retailing and they are ranked in terms of their expenses. According to the high values of inventories and their impacts on the costs of the companies, the ranking of various models using the simulation annealing algorithm are presented, which indicates that the proposed model of this paper could perform better than other alternative ones. The results also indicate that the suggested algorithm could save from 4 to 29 percent on costs of inventories.