A linear production-inventory control rule