Vendor's optimal inventory policy with dynamic and discrete demands in an infinite time horizon. (December 2016)