The principle of this heuristic is that it considersordering for a number of periods ahead, say m.It tries to achieve the minimum average cost perperiod for the m-period span.The cost considered is the variable cost-i.e.,ordering (set-up) cost plus inventory holdingcost.The future demand for the next n periods isgiven and is (D1, D2, ..., Dn)