Presentation on theme: "Applications of Machine Learning in Solving Vehicle Routing Problem"— Presentation transcript:
1Applications of Machine Learning in Solving Vehicle Routing Problem RESEARCH TOPICS / Jussi RaskuPostgraduate seminarMarch 3rd 2011Let's get started. Professor, fellow researchers.My name is Jussi Rasku. I work in Research group on Computational Logistics.This is my first presentation here at Postgraduate Seminar in Information Technology.
2Introduction No Silver Bullet  The “No Free Lunch” Theorem [2,3,4] The Ugly Duckling Theorem What I’m going to present to you is my quest for silver bullets, free lunches and ugly ducklings.I will return to what I mean with them at the end of this presentation. Brooks, F.P. (1986). "No Silver Bullet — Essence and Accident in Software Engineering". Proceedings of the IFIP Tenth World Computing Conference: 1069–1076. Wolpert, D.H., Macready, W.G. (1995), No Free Lunch Theorems for Search, Technical Report SFI-TR (Santa Fe Institute). Wolpert, D.H., Macready, W.G. (1997), "No Free Lunch Theorems for Optimization," IEEE Transactions on Evolutionary Computation 1, 67. Wolpert, D.H. (1996), "“The Lack of A Priori Distinctions between Learning Algorithms," Neural Computation, pp Watanabe, Satosi (1969) (page scan). Knowing and Guessing: A Quantitative Study of Inference and Information. New York: Wiley. pp. 376–377.
3Contents Background About the Researcher and Thesis Vehicle Routing ProblemMachine Learning5-Phase Research PlanConclusions and QuestionsHere is the outline of my presentation. In the presentation I will explain my research problems and the vision for research steps I’m going to take to answer them.But first some background…, Then we will take a look into…I hope that there will be some time for questions at the end.
4Applications of Machine Learning in Solving Vehicle Routing Problem Background
5About the Researcher Jussi Rasku, DI, M.Sc. (Tech.) Background in software industry ( )Windows application development.Machine vision quality control software development.Working at University of Jyväskylä since 2/2009 – in the Research Group on Computational LogisticsPostgraduate studiesStarted 7/2010Supervised by Tommi Kärkkäinen, Sami ÄyrämöTampere university of TechnologyJuly
6About the ThesisTopic of my thesis is “Applications of Machine Learning in Solving Vehicle Routing Problem”Aim is to discover ways to use intelligent methods of Machine Learning (ML) in solving Vehicle Routing Problems (VRP).Thesis format will be collection of papersFirst paper to be submitted before summer 2011.Second paper by the end of the year 2011.2 more papersPhD, winter 2014.
7The Vehicle Routing Problem DepotCustomerRouteThe vehicle routing problem (VRP) is a combinatorial optimization problem seeking to service a number of customers with a fleet of vehicles. Vehicle routing problems arise from the fields of transportation, distribution and logistics.Here is an example of clients (red dots) that are to be served with a fleet of vehicles leaving and returning from the depot (green dot). Clients may have constraints like capacities, time windows or compabilities. Solving is done usually with construction and improvement heuristics. Construction heuristics build initial solutions and improvement heuristics do local search to find local optima.
8Vehicle Routing Problem Variants VRP with time windows (VRPTW)Fleet size and mix VRP (FSMVRP)Open VRP (OVRP)Multi-depot VRP (MDVRP)Periodic VRP (PVRP)VRP with backhauls (VRPB)Pickup and delivery problem (PDP)Dynamic VRP (DVRP)VRP with stochastic demands (VRPSD)...And combinations of these like MDVRPTWSDAs you can imagine this leads to research that heavily relies on tailored modeling and solving methods.
9VRP Solving VRP Solving (recognized issues) Many different kind of problem variants to model and solve.In literature there are variety of specialized solving methods for different VRP types.Limited generalization ability and robustness of known solving methods.It is not always clear which algorithms are best for given problem → Human expertise is needed.Answering these problems optimally, or near optimally, has gotten wide attention, since even small improvements in the performance of the supply chain may lead to notable financial and ecological benefits and competitive advantage. However, even the simplest cases have been proved to be NP-hard, which suggests that the problem cannot be solved exactly by examining each solution alternative. Heuristic approaches have been under extensive study during past decade, but truly intelligent heuristics and local search methods have yet not been widely studied, which calls for pioneering research in the area.Solving methods are complex and as the number of professionals working in this field is limited, increasing the intelligence and level of automation in these systems is necessary to make the VRP solving methods usable in the operational level.
10Machine Learning Machine Learning Allows computers to evolve behaviors based on previously seen data.Can be used as expert systems that remove the human element to create fully automated systems.Methods that allow us to build computer programs that improve their performance at some task through experience.
11Automating VRP solving XXVRPXXexpert translates toMODELSOLVERSOLUTIONIntelligent methods automate thisMachine learning allows exploiting the special structure of the problem. Better results are achieved by using suitable solution methods.
12Applications of Machine Learning in Solving Vehicle Routing Problem Research Plan
13Research Plan OutlineAdapting ML methods in VRP solving is done in 5 steps:Phase 1: Feature extraction for VRPPhase 2: Classification of VRP instancesPhase 3: Algorithm parameter predictionPhase 4: Automatic selection of solving methodsPhase 5: Machine Learning Hyperheuristic
14Phase 1 : Features for VRP How to describe the special structure of…… VRP instance… VRP solution… VRP solving methodsFeatures are needed for determining similarity (for clustering, classification, prediction)Existing feature extractors for VRP are chartedAdapting existing feature extraction methods from other fields like,Graph similarity from graph theoryMolecule similarity from computational chemistry and biochemistryClusterability from mathematical analysis
15Phase 1: ArticleArticle: "Feature Descriptors for Rich Vehicle Routing Problems“Submitted Q2/2011 to “Mathematical Methods of Operations Research”, Springer.
16Phase 2 : Classification of Instances Recognition of types using max π(R0) -formulation.Methods that are specifically tuned to efficiently solve class prototype case are used to test hypothesis that solver can benefit from VRP case classification.Perhaps unforeseen connections of different VRP types can be found (explorative analysis)Classification allows exploiting the special structure of the problem. Better results are achieved by using suitable solution methods.
17Phase 2 : Classification Process CASE 1CASE 1CASECASE 1CLASSIFIERCATEGORY 1CATEGORY 2PROTOTYPECASE 1CASE 1CASE 1CASE 3SolvingmethodsSOLUTION
18Phase 2 : Publishing Results Can be used to prove the usability of descriptors of the phase 1.Or, the results can be published as separate paper.There could also be separate publication that verifies the manual taxonomy of VRP’s found in literature with statistical methods and clustering.
19PREDICTION ALGORITHM (x,y,z) = r(p) Phase 3: Parameter PredictionHeuristic VRP algorithms have parameters that adjust their behaviour.But what are the right values?Machine Learning methods can predict them from previously seen cases.Data Mining, Bayesian learning, Neural Networks etc.PREDICTION ALGORITHM (x,y,z) = r(p)x, y, zCASE Problem pSolvingMethodsf(x,y,z,p)SOLUTION
20Phase 3: ChallengesAre the features of the Phase 1 usable for prediction?We have to collect an knowledge database of problems we know how to solve and matching parameter values for those problem instances.We need tools to find the right parameter values when there is lots of time and expertise present.To produce enough learning data we need tools for distributed and batch solving and automation (Genetic Algorithms and/or Grid Search)To test the prediction we need good test heuristic. Clustering insertion heuristic developed by research group could be good candidate.
21Phase 3: ResearchI’m hoping to do part of the research aboard as visiting researcher during summer 2011.IIASA / YSSP (already applied) with emphasis onProblem modelingData warehouse / knowledge baseDistributed computingLION (will contact ASAP) with emphasis onIntelligent optimizationReactive searchTuning metaheuristicsInternational Institute for Applied Systems Analysis (Vienna, Austria), Young Scientists Summer Program. Advanced Systems Analysis research program, which uses mathematical models and analytical techniques to investigate complex systems with a focus on an integrated, interdisciplinary approach. The institute has long been involved in developing new, more sophisticated methodologies for systems analysis so that better solutions to global problems can be found.The LION (machine Learning and Intelligent OptimizationN) laboratory at the University of Trento (Italy) fosters research and development in intelligent optimization and reactive search techniques for solving relevant problems arising in different application areas, including intelligent transportation systems, computer networks and mobility, mobile services and ubiquitous computing, social networks, clustering and pattern recognition in bio-informatics.Roberto Battiti (research program leader)Mauro BrunatoAndrea Passerini
22Phase 3: Articles“An Adaptive VRP Construction Heuristic Based on Clustering and Statistical Prediction“Submitted Q4/2011 to “Computers & Operations Research”, Elsevier (Call for Papers “Hierarchical Optimization and its Application in Engineering”)."An Framework for Adaptive Algorithms for Rich Vehicle Routing Problems Based on Statistical Prediction“Submitted Q2/2012 to "Mathematical Methods of Operations Research“, Springer.
23Phase 4: Algorithm Selection Building heuristics2-phase heuristicsLocal search heuristicsMetaheuristicsExchCrossNNCLISAExchEjectChII1PAOr-optACOI1k-optRTSFIGRASPEjectTBBCLIRFCSGAGAλ-ICRelocChIGENICkTGAPVNSCLPSAMALNSSSHYPERHEURISTIC?MODELSOLUTION?SOLVER
24Phase 5: Bringing it all together Applications of Machine Learning in Solving Vehicle Routing ProblemPhase 5: Bringing it all together
25Phase 5: The Hyperheuristic Brings the previous research together by introducing an Machine Learning based Hyperheuristic for Vehicle Routing Problems.Contains following features:Knowledge database for Vehicle Routing Problems, instances, best known solutions and solving trajectories.Problem instance analysis and classification.Adaptive selection of solving methods.Reactive adjusting of solving method parameters.Hyperheuristic definition acts as the “glue” that connects articles forming my thesis.
26ConclusionsFrom previous TRANS-OPT project we have a solid modeling framework for Rich Vehicle Routing Problems.By using my prior knowledge in statistics, machine learning and soft computing new advances in automating solving vehicle routing problems can be made.Using intelligent methods should improve Robustness in VRP solving. This has been identified as an ongoing challenge in the VRP research field. Addressing this issue is the contribution of my thesis.
27Thank you for your attention I hope something similar to silver bullets, free lunches or ugly ducklings are found along the way. Any questions or comments?Brooks argues that at the time of writing the paper there was no silver bullet to make software construction easy enough for anyone to do well. He makes a remark that in the future AI and expert systems may discounted as silver bullets."The 'no free lunch' theorem of Wolpert and Macready,” is that "any two algorithms are equivalent when their performance is averaged across all possible problems.“ The "no free lunch" results indicate that matching algorithms to problems gives higher average performance than does applying a fixed algorithm to all.The Ugly Duckling theorem is an argument asserting that classification is impossible without some sort of bias. Sort of “eauty is in the eye of the beholder” argument.From these theorems and from previous research it seems promising that Machine Learning methodology can be used to solve some of the issues recognized in VRP research.
28Linked Research Topics Applications of Machine Learning in Solving Vehicle Routing ProblemLinked Research Topics
29Prune Groups (1/2)Shortest path calculation can be speeded up up to three million times by preprocessing the road network.Current Shortest Path calculation speedup methods do one way contraction preprocessing.Very fast shortest path queries on static road networks.Not suitable for dynamic road networks or for heterogeneous fleet.
30Prune Groups (2/2)Storing the preprocessing steps the preprocessing can be done locally.Storing the preprocessing steps the preprocessing can be done locally.Storing the preprocessing steps the preprocessing can be done locally.Aim is to find efficient speed up technique for dynamic road network.
31Multidimensional clustering (1/3) What means that VRP customers are close to each other?Euclidian distanceShortest path along road networkTime windowsCapacities / IncompabilitiesSpecial requirements
32Multidimensional clustering (2/3) Instead of this:We cluster this:txyy… and even higher dimensional clustering→ Dimension reduction (PCA etc.)→ Using clustering to improve algorithm performance→ Using clustering in selecting active algorithms
33Multidimensional clustering (3/3) Large Problem PartitioningNecessary for tackling large cases.Using Fuzzy Clustering to split large problems. Swapping nodes between subproblems using fuzzy membership value.R-tree and other methods.