An optimal solution to a three echelon supply chain network with multi-product and multi-period