Integrated Vehicle Routing -Tank Sizing Problem with Safety Stock Optimization Fengqi You Elisabet Capon Ignacio E. Grossmann Jose M. Pinto EWO Meeting, Mar. 2009 Vehicle Routing – Tank Sizing Problem • Tank Sizing: Routing ? New customers need new tanks to be sized All or some of existing customers subject to tank upgrades or downgrades Selection among several available tank sizes • Vehicle Routing Truck selection Selection among several truck sizes Determine the routing and timing decisions Tank size for the New Customer ? Potential size change in existing tanks 2 Tank Sizing Issues • Major Features Key tradeoff: capital (tank sizing) vs. distribution (routing) cost Capture the effects of customer synergies and truck availability • Challenges Routing decisions and tank sizing decisions should be integrated A small change of tank size at a particular customer may influence distribution (routing) of all other customers Many possible routes for each fixed tank sizing decision Requires fast computational strategies for good solutions Direct MILP model leads to large problem (millions of binary variables) Difficult to obtain “good” solution in reasonable times Account for the fluctuation of customer demand 3 Clustering - Integrated Approach Customer Clustering Pros: accurate Cons: large scale MILP, long CPU time Select the first clustering solution Detailed Integrated Model Total Cost (obtain routing and tank sizing decisions simultaneously) Next clustering solution 0 1 2 3 4 5 6 Termination? Key Tradeoff: Routing Cost vs. Tank Cost 4 Route Selection – Tank Sizing Approach Route Generation Visiting a customer with more than one route Need all possible routes Approximated inventory Input all the possible routes Route Selection –Tank Sizing Model (obtain routes and tank sizing decisions) Fix tank sizes Fix Routes Smaller models, faster computation Detailed Routing Model (Reduced) (obtain vehicle routing decisions) Pros: fast for routing Cons: hard to estimate “global” gap 5 Inventory for Multiple Replenishments Tank size = max. Inv. ≈ Min. Inv. + max{working Inv.} Inventory Max. Inv. working inv. 2 working inv. 1 working inv. 3 Constant demand rate Min. Inv. Rep.1 Rep.2 Rep.3 Time 6 Continuous Approximation Approach Customer Clustering Smaller models, faster computation Select the first clustering solution Cont. Approximation Model (obtain tank sizing decisions) Fix tank sizes Next clustering solution integer cut Detailed Routing Model (obtain vehicle routing decisions) Termination? Pros: fast computation Cons: hard to estimate “global” gap 7 Improved CAM Approach Cont. Approximation Model in Full Space (all customers) (obtain tank sizing decisions) Smaller models, faster computation Fix tank sizes Customer Clustering Select the first clustering solution Detailed Routing Model (obtain vehicle routing decisions) Next clustering soln. Termination? Note: more accurate, still fast, need to improve routing model 8 “Cyclic” Inventory-Routing in CAM • Key Assumption: each customer is replenished in a “cyclic” way with fixed interval T Inventory • Required tank size ≥ max. inv. = min. inv. + working inventory Max. Inv. working inventory Constant demand rate Min. Inv. Time Replenishment Interval T 9 Deterministic Case: Example 1 • Problem Size: 5,250.87 L/Month A cluster with 2 customers, N15 is new N16 has an existing tank of 13,000 L N15 1,100 km 25 km Plant 6 available tank size, 4 types of trucks N16 1,100 km 3,500.58 L/Month • Integrated Model CPU time: ~ 8 min. (0% gap) Total cost: $18,112, Tank size: 13,000 L for N15, no change for N16 • Routing Selection – Tank Sizing (RSTS) CPU time: 43 sec. for RSTS, 53 sec. for routing problem (0% gap) Total cost: $19,085, Tank size: 6,000 L for N15, no change for N16 • Continuous Approximation Model (CAM) CPU time: < 1 sec. for CAM, 74 sec. for routing problem (0% gap) Total cost: $18,112, Tank size: 13,000 L for N15, no change for N16 10 Deterministic Case: Example 2 12,835.47 L/Month • Problem Size: N14 1,123.61 km A cluster with 4 customers, N14 is new All customers have a tank of 10,000 L 6 available tank size, 4 types of trucks 1,253.00 km 600 km 950 km N18 Plant 6417.74 L/M 1,100 km N15 5250.88 L/M 290 km 993.28 km • Integrated Model N21 1,137.59 km 23337.22 L/Month CPU time: ~15 hours (4.39% gap, out of memory) Total cost: $30,620; Tank size: 16,000 L for N14, no change for others • Routing Selection – Tank Sizing (RSTS) CPU time: ~10 hours. for RSTS (out of memory) • Continuous Approximation Model (CAM) CPU time: < 1 sec. for CAM, 2360 sec. for routing problem (0% gap) Total cost: $30,299; Tank size: 16,000 L for N14, no change for others 11 Inventory Policy Inventory Level Order Quantity (Q) Order placed Replenishment Reorder Point (r) Time Lead Time • (r, Q) Inventory Policy When inventory level falls to r, order a quantity of Q Reorder Point (r) = Demand over Lead Time 12 Stochastic Base-Stock Inventory Model Inventory Maximum Inv. = Working Inv. + Safety Stock Lead time Max. Inv. Inventory on hand Reorder Point (r) Time Safety Stock 13 Safety Stock Level (Service Level) Lead time = T Safety Stock 14 “Cyclic” Inventory-Routing in CAM • Key Assumption: each customer is replenished in a “cyclic” way with fixed interval T Inventory • Required tank size ≥ max. inv. = Safety Stock + demand rate× T Max. Inv. working inventory Constant demand rate Safety Stock Time Replenishment Interval T 15 Routing & Replenishment in CAM • T = R / (ave. speed) T - replenishment interval R - minimum distance to replenish all the customer in a cluster once Average travelling speed is known plant customer • If only one trip for each replenishment R = TSP distance of the cluster & plant • If allowing multiple trips for replenishment R=? 16 CAM for Capacitated Routing Problems* • Bounds for minimum routing distance R n – # of customers in the cluster q – capacity, max. # of customers that can be visited in one trip or volume in terms of # of customers with unit demand r – average distance from customers to the plant TSP – traveling salesman distance to visit all customers once • Examples Cluster 1: q=1, TSP=0, r = 67 Cluster 2: q=1, same as Cluster 1, 67 1,100 25 1,100 Cluster 2: q=2, TSP=50, r = 1,100 Cluster 1 Cluster 2 * M Haimovich, AHG Rinnooy Kan, “Bounds and heuristics for CRP”, Math. of Oper. Res., 1985, 10(4), 527-541 17 Improved CAM Approach Cont. Approximation Model + safety stock (all customers) (obtain tank sizing decisions) Determine safety stock level in the strategic level Fix tank sizes Safety stock Customer Clustering Select the first clustering solution Detailed Routing Model (obtain vehicle routing decisions) Next clustering soln. Termination? 18 Stochastic Case: Example 3 • Problem Size: 5,250.87 L/Month 1,100 km A cluster with 2 customers, N15 is new 6 available tank size, 4 types of trucks 25 km Plant Demands follow normal dist. (σ=μ) N15 1,100 km N16 3,500.58 L/Month • Fix safety stock to 15% of tank size Total cost: $16,792; Tank size: 13,000 L for N15, no change for others Safety stocks: N15: 1,950 L, N16: 1,950 L Service level: N15: ~100%, N16: ~100%, • Safety stock optimization (97.75% service level) Total cost: $16,646; Tank size: 13,000 L for N15, no change for others Safety stocks: N15: 1,189L, N16: 793L • What is the implications of different total costs and tank sizes? 19 Conclusion / Future Work • Conclusion Two approaches to reduce the computational efforts for the integrated vehicle routing – tank sizing problem Integrate safety stock optimization in the continuous approximation approach to account for demand fluctuation • Future Work Refine the models and validate the assumptions Consider uncertainties such as adding or losing customers Quantify the economic benefits of considering uncertainties 20