Typically, the period relevant to the optimization computations refers to previous week purchase data, which are correlated by date, hours, minutes and other relevant time such as local specific factors. [0067] Where real time data from wireless on-line POS devices are available on the server, sale profits will be analyzed in real time first as a function of marketing costs, supply and inventory c