linear optimization - the warehouse problem