250 likes | 451 Views
Barcelona, Spain June 14, 2012. A Hybrid Approach for the Inventory Routing Problem with Stochastic Demands. José Cáceres Cruz Angel A. Juan {jcaceresc, ajuanp}@uoc.edu Department of Computer Science IN3 - Open University of Catalonia, Barcelona, SPAIN. Scott Grasman segeie@rit.edu
E N D
Barcelona, Spain June 14, 2012 A Hybrid Approach for the Inventory Routing Problem with Stochastic Demands José Cáceres CruzAngel A. Juan {jcaceresc, ajuanp}@uoc.edu Department of Computer Science IN3 - Open University of Catalonia, Barcelona, SPAIN Scott Grasman segeie@rit.edu Industrial & Systems Engineering Department Rochester Institute of Technology, USA Tolga Bektas t.bektas@soton.ac.uk Management School University of Southampton, UK http://dpcs.uoc.edu | http://ajuanp.wordpress.com
0. Agenda Introduction: IRPSD. Observations. Solving CVRP: SR-GCWS-CS. Our Approach for the IRPSD. Practical Example. Advantages of Our Approach. Computational Results. Conclusions and Future Work 2012 IN3-HAROSA 1
1. Introduction: The IRPSD • The Inventory Routing Problem (IRP): • Inventory Management • Vehicle Routing • For Retailers Centers: liquid air products, oil, gas, chemicals, etc. Campbell et al (2002). • Increase use of ICTs for transfer of information on real time. 2012 IN3-HAROSA 2
1. Introduction: Costs of Logistic Activities 2012 IN3-HAROSA * Differentiation for Performance: Excellence in Logistics (2004), ELA/AT Kearney 3
1. Introduction: The IRPSD • The IRP is a well-known NP-hard problem: • A set of customers’ demands must be supplied by a fleet of vehicles over a given planning horizon. • Resources are available from a depot. • Moving a vehicle from one node i to another j has associated costsc(i, j) • Customers consume the product at a rate, and can maintain an inventory of the product up to a level. • Several constraints must be considered: maximum load capacity per vehicle, service times, etc. • The IRP with Stochastic Demands (IRPSD) includes random demands (statistical distributions) considering stock levels. Customers (demand) edge in a route Depot (resources) Inventory 2012 IN3-HAROSA Routing 4
2. Observations: Decision Making • how much inventory and when to ship to a retailer: • Retailer Centers itself. • Vendors (Vendor Managed Inventory - VMI)Kleywegt et al (2004). Customers (demand) edge in a route Depot (resources) Inventory 2012 IN3-HAROSA Routing 5
2. Observations: Stock-Outs • Important observations: • The random behavior of Retailer Centers’ demands could cause an expected feasible solution to become an infeasible one if its final demand is not enough for satisfying their clients route failure / stock-out. • Corrective actionsmust be introduced to deal with stock-outs. These actions (e.g. a vehicle reload at the depot) will increase the total inventory costs. Stock-Outs corrective/preventive policies increase in inventory costs E[Total Costs] = Total Routing Costs + E[Inventory Costs] • Goal: to construct solutions with a given probability of suffering stock-outs. • How?:to construct routes in which the associated expected demand (refill policy) will be somewhat adapted to the current level of stock. • But… be careful: a trade-off exists between inventory costs formula and routing costs minimization 2012 IN3-HAROSA 6
2. Observations: Refill Policies • Optimize over a Single-period or over a Multi-Period. • Consider different refill policies: • P1: Full-Refill • P2: ¾-Refill • P3: Half (1/2)-Refill • P4: ¼-Refill • P5: No-Refill • But, which is the best policy for each node separately? • Challenge: Creation of Test Instances with real nature! Stock Jarugumilli, S.; Grasman, S.E.; Ramakrishnan, S. 2006. “A Simulation Framework for Real-Time Man-agement and Control of Inventory Routing Decisions”. In proceedings of 2006 Winter Simulation Conference, pp. 1485 – 1492. 2012 IN3-HAROSA 7
2. Observations • Yes, but…: • While efficient and flexible approaches have been already developed for the CVRP and VRPSD(Novoa and Storer 2009), it is not the case for IRPSD. • In real-life scenarios is not possible to model all costs, constraints and desirable solution properties in advance(Kant et al 2008) • Some initial ideas: • To explore how CVRP metaheuristics can be used to solve the VRPSD, i.e.: to transform the issue of solving a given VRPSD instance into an issue of solving several CVRP instances • To use DPCS to accelerate computations and provide many ‘good’ alternative solutions, so that the decision-maker can select the one that best fits his/her utility function Juan, A.; Faulin, J.; Jorba, J.; Caceres, J.; Marques, J. (2011): “Using Parallel & Distributed Computing for Solving Real-time Vehicle Routing Problems with Stochastic Demands”. Annals of Operations Research, pp. 1-22. Juan, A.; Faulin, J.; Grasman, S.; Riera, D.; Marull, J.; Mendez, C. (2011): “Using Safety Stocks and Simulation to Solve the Vehicle Routing Problem with Stochastic Demands”. Transportation Research Part C, Vol. 19, pp. 751-765 2012 IN3-HAROSA 8
3. Solving CVRP: SR-GCWS-CS (1/3) Start • Our CVRP approach is based on the Clarke and Wright’s savings (CWS) algorithm (Clarke & Wright 1964). • CWS algorithm: • For each pair of nodes i and j, calculate the savings, s(i, j), associated to the edge connecting them, where: s(i, j) = c(0, i) + c(0, j) – c(i, j) • Construct a list of edges, sorting the edges according to their associated savings • Construct an initial feasible solution by routing a vehicle to each client node • Select the first edge in the savings list and, if no constraint is violated, merge the routes that it connects • Repeat step 4 until the savings list is empty savings(i, j) Savings list Initial solution Select first edge & Merge List empty? • This parallel version of the CWS heuristic usually provides ‘acceptable solutions’ (average gap between 5% and 10%), especially for small and medium-size problems 2012 IN3-HAROSA Juan, A.; Faulin, J.; Jorba, J.; Riera, D.; Masip; D.; Barrios, B. (2011): “On the Use of Monte Carlo Simulation, Cache and Splitting Techniques to Improve the Clarke and Wright Savings Heuristics”. Journal of the Operational Research Society, Vol. 62, pp. 1085-1097. End 9
3. Solving CVRP: SR-GCWS-CS (2/3) • CWS the first edge (the one with the most savings) is the one selected. • SR-GCWS introduces randomness in this process by using a quasi-geometric statistical distribution edges with more savings will be more likely to be selected at each step, but all edges in the list are potentially eligible. • Notice: Each time SR-GCWS is run, a random feasible solution is obtained. By construction, chances are that this solution outperforms the CWS one hundreds of ‘good’ solutions can be obtained after some seconds/minutes. Good results with 0.10 < α < 0.20 2012 IN3-HAROSA 10
3. Solving CVRP: SR-GCWS-CS (3/3) Improvement #1: Hash Table • Adding ‘memory’ to our algorithm with a hash table: • A hash table is used to save, for each generated route, the best-known sequence of nodes (this will be used to improve new solutions) • ‘Fast’ method that provides small improvements on the average 2. Splitting (divide-and-conquer)method: • Given a global solution, the instance is sub-divided in smaller instances and then the algorithm is applied on each of these smaller instances • ‘Slow’ method that can provide significant improvements Improvement #2: Splitting 2012 IN3-HAROSA 11
4. Our Approach for the IRPSD (1/2) • Given a IRPSD instance n customers, random demands Di • Estimate the Expected Inventory Cost for each customer-policy case by using MCS. Notice that: • Random demands are generated and whenever a stock-out occurs, a corrective policy ( costs) is applied • Solve the CVRP with the full-refill policy by using the SR-GCWS-CS algorithm. Notice that: • The solution for CVRP is expensive for having stocks up to maximum. • Compute marginal routing savings for each customer-policy case by using the SR-GCWS-CS algorithm and estimate: • S = CVRP(Full Refill) – CVRP(not node i) • Inventory Cost for Policy p - Saving 2012 IN3-HAROSA 12
4. Our Approach for the IRPSD (2/2) • Sort total expected costs of policies for each node in a decreasing rank. Notice that: • Depending on the current level, one policy would be appropriated. • Solve the CVRP with the Top policy of each node by using the SR-GCWS-CS algorithm. Notice that: • This is the recommended refill rate for each client in the current level estimated. Apply a biased randomization to each customer policy rank. Solve the CVRP with the Top policy of each node by using the SR-GCWS-CS algorithm: Repeat from Step 7 with a new order of policies for each customer, i.e.: explore different policy-based scenarios 2012 IN3-HAROSA 13
4. PracticalExample Policy rank for customers Customers Current Level for each customer P1 and P5 are extreme policies! Biased Randomly Selection of Policies for each customer Top Policy for each customer 2012 IN3-HAROSA 14
5. Advantages of Our Approach • The idea of solving the Routing Problems with Stochastic Demands through solving a related CVRP is not new (Stewart and Golden 1983, Laporte et al. 1989). However, our approach differs from others in: • It contemplates the analysis of different policy scenarios • It uses a more practical perspective based on the combination of MCS, heuristics and realistic contexts. • It does not require strong assumptions on the variables that model customers’ demands • Potential benefits: • Wider scope: it is valid for any statistical distribution with a known mean. • Efficiency: it reduces the complexity of a IRPSD to a more tractable CVRP. • Flexibility: it offers different policy-based scenarios to the decision-maker. 2012 IN3-HAROSA 15
6. Design of Experiments (1/2) • Knowing that in the IRPSD literature there are no commonly used benchmarks, many authors construct their own instances, generated using different statistical distributions. • The previous situation implies that many results are dependent on the statistical assumptions. • Now, we have designed a methodology based on introducing randomness in demands of the well-known CVRP instances. • We have modeled random demands, Di, considering E[Di] = di (original demands) and Var[Di] = wE[Di] with w=0.25 (moderate variance). 2012 IN3-HAROSA Different designs of demands in means and variances. 16
6. Design of Experiments (2/2): MCS • Use classical CVRP benchmarks, and estimate the Expected Inventory Cost by a given “real” formula which: • Relates the inventory costs’ magnitudes with routing costs’ ones, • Considers a Max Level for each node (2di) and aCurrent Level (all related to the Expected Demand): E[di] ~ LogNormal(Demandi) Stock Possible Current Levels P2 P3 2012 IN3-HAROSA P4 E[di] P5 17
7. Computational Results (1/3) • In a IRPSD, a scenario with less stock-outs provides lower total expected costs. 18
7. Computational Results (2/3) 2012 IN3-HAROSA 19
7. Computational Results (3/3) 2012 IN3-HAROSA • Solutions obtained for A-n32-k5 using the ‘top’ refill and ‘biased-randomized’ refill policies. 20
8. Conclusions • We have presented ahybrid approach for solving the IRPSD with stock-outs. This approach combinesMCSand theSR-GCWS-CSalgorithm. • A set of benchmarks for the IRPSD were developed and a realistic expression to model inventory costs was also proposed. • Our approach provides the decision-maker with a set of alternative solutions with different properties (number of served customers, inventory and routing costs, refill policies, etc.) • It offers flexibility since it does not assume any particular behavior of the customers’ stochastic demands. Therefore, the statistical distributions which describe demands can be generic. • We are currently developing a deepest version of this study for a Journal publication (more variances, λ formula parameter, more policies, etc.). 2012 IN3-HAROSA 21
Barcelona, Spain June 14, 2012 Thanks for your attention! A Hybrid Approach for the Inventory Routing Problem with Stochastic Demands José Cáceres CruzAngel A. Juan {jcaceresc, ajuanp}@uoc.edu Department of Computer Science IN3 - Open University of Catalonia, Barcelona, SPAIN Scott Grasman segeie@rit.edu Industrial & Systems Engineering Department Rochester Institute of Technology, USA Tolga Bektas t.bektas@soton.ac.uk Management School University of Southampton, UK http://dpcs.uoc.edu | http://ajuanp.wordpress.com