An algorithm for general infinite horizon lot sizing with deterministic demand (Pacific Journal of Mathematics for Industry, 2017)