A planning and routing model for the integrated supply chain management