Better Ants, Better Life? Hybridization of Constraint Programming and Ant Colony Optimization Supervisors: Dr. Bernd Meyer, Dr. Andreas Ernst Martin Held.

Slides:



Advertisements
Similar presentations
Computational Intelligence Winter Term 2011/12 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Advertisements

G5BAIM Artificial Intelligence Methods
Reducibility Class of problems A can be reduced to the class of problems B Take any instance of problem A Show how you can construct an instance of problem.
CSE 460 Hybrid Optimization In this section we will look at hybrid search methods That combine stochastic search with systematic search Problem Classes.
Branch & Bound Algorithms
Ant colonies for the traveling salesman problem Eliran Natan Seminar in Bioinformatics (236818) – Spring 2013 Computer Science Department Technion - Israel.
Ant Colony Optimization. Brief introduction to ACO Ant colony optimization = ACO. Ants are capable of remarkably efficient discovery of short paths during.
Lecture 1: Introduction to the Course of Optimization 主講人 : 虞台文.
Hybridization of Search Meta-Heuristics Bob Buehler.
Solving Integer Programs. Natural solution ideas that don’t work well Solution idea #1: Explicit enumeration: Try all possible solutions and pick the.
Better Ants, Better Life? Hybridization of Constraint Propagation and Ant Colony Optimization Supervisors: Bernd Meyer, Andreas Ernst Martin Held Jun 2nd,
1 Optimisation Although Constraint Logic Programming is somehow focussed in constraint satisfaction (closer to a “logical” view), constraint optimisation.
Unifying Local and Exhaustive Search John Hooker Carnegie Mellon University September 2005.
Computational Methods for Management and Economics Carla Gomes
1 Chapter 5 Advanced Search. 2 l
Ant Colonies As Logistic Processes Optimizers
Ant Colony Optimization Optimisation Methods. Overview.
Ant Colony Optimization Algorithms for the Traveling Salesman Problem ACO Kristie Simpson EE536: Advanced Artificial Intelligence Montana State.
Ant Colony Optimization to Resource Allocation Problems Peng-Yeng Yin and Ching-Yu Wang Department of Information Management National Chi Nan University.
D Nagesh Kumar, IIScOptimization Methods: M1L4 1 Introduction and Basic Concepts Classical and Advanced Techniques for Optimization.
Backtracking.
1 Contents college 3 en 4 Book: Appendix A.1, A.3, A.4, §3.4, §3.5, §4.1, §4.2, §4.4, §4.6 (not: §3.6 - §3.8, §4.2 - §4.3) Extra literature on resource.
1 Combinatorial Problems in Cooperative Control: Complexity and Scalability Carla Gomes and Bart Selman Cornell University Muri Meeting March 2002.
LP formulation of Economic Dispatch
Ant Colony Optimization: an introduction
Ant Colony Optimization (ACO): Applications to Scheduling
Metaheuristics The idea: search the solution space directly. No math models, only a set of algorithmic steps, iterative method. Find a feasible solution.
FORS 8450 Advanced Forest Planning Lecture 19 Ant Colony Optimization.
Ant colony optimization algorithms Mykulska Eugenia
Lecture: 5 Optimization Methods & Heuristic Strategies Ajmal Muhammad, Robert Forchheimer Information Coding Group ISY Department.
Metaheuristics Meta- Greek word for upper level methods
Island Based GA for Optimization University of Guelph School of Engineering Hooman Homayounfar March 2003.
Self-Organizing Agents for Grid Load Balancing Junwei Cao Fifth IEEE/ACM International Workshop on Grid Computing (GRID'04)
EE4E,M.Sc. C++ Programming Assignment Introduction.
Edward Kent Jason Atkin Rong Qi 1. Contents Vehicle Routing Problem VRP in Forestry Commissioning Loading Bay Constraints Ant Colony Optimisation Handing.
Swarm Computing Applications in Software Engineering By Chaitanya.
Swarm Intelligence 虞台文.
Efficient and Scalable Computation of the Energy and Makespan Pareto Front for Heterogeneous Computing Systems Kyle M. Tarplee 1, Ryan Friese 1, Anthony.
Search Methods An Annotated Overview Edward Tsang.
Optimization Problems - Optimization: In the real world, there are many problems (e.g. Traveling Salesman Problem, Playing Chess ) that have numerous possible.
Ant Colony Optimization. Summer 2010: Dr. M. Ameer Ali Ant Colony Optimization.
Object Oriented Programming Assignment Introduction Dr. Mike Spann
Discrete optimization of trusses using ant colony metaphor Saurabh Samdani, Vinay Belambe, B.Tech Students, Indian Institute Of Technology Guwahati, Guwahati.
Decision Diagrams for Sequencing and Scheduling Andre Augusto Cire Joint work with David Bergman, Willem-Jan van Hoeve, and John Hooker Tepper School of.
The Application of The Improved Hybrid Ant Colony Algorithm in Vehicle Routing Optimization Problem International Conference on Future Computer and Communication,
Resource Constrained Project Scheduling Problem. Overview Resource Constrained Project Scheduling problem Job Shop scheduling problem Ant Colony Optimization.
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
Thursday, May 9 Heuristic Search: methods for solving difficult optimization problems Handouts: Lecture Notes See the introduction to the paper.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
15.053Tuesday, April 9 Branch and Bound Handouts: Lecture Notes.
Traveling Salesman Problem IEOR 4405 Production Scheduling Professor Stein Sally Kim James Tsai April 30, 2009.
Optimizing Pheromone Modification for Dynamic Ant Algorithms Ryan Ward TJHSST Computer Systems Lab 2006/2007 Testing To test the relative effectiveness.
Ant colony optimization. HISTORY introduced by Marco Dorigo (MILAN,ITALY) in his doctoral thesis in 1992 Using to solve traveling salesman problem(TSP).traveling.
Combinatorial Optimization Chapter 8, Essentials of Metaheuristics, 2013 Spring, 2014 Metaheuristics Byung-Hyun Ha R2.
Introduction Metaheuristics: increasingly popular in research and industry mimic natural metaphors to solve complex optimization problems efficient and.
Biologically Inspired Computation Ant Colony Optimisation.
IE 312 Review 1. The Process 2 Problem Model Conclusions Problem Formulation Analysis.
Metaheuristics for the New Millennium Bruce L. Golden RH Smith School of Business University of Maryland by Presented at the University of Iowa, March.
Constraint Programming for the Diameter Constrained Minimum Spanning Tree Problem Thiago F. Noronha Celso C. Ribeiro Andréa C. Santos.
Ant Colony Optimisation. Emergent Problem Solving in Lasius Niger ants, For Lasius Niger ants, [Franks, 89] observed: –regulation of nest temperature.
Comparing Genetic Algorithm and Guided Local Search Methods
metaheuristic methods and their applications
Study Guide for ES205 Yu-Chi Ho Jonathan T. Lee Nov. 7, 2000
Computational Intelligence
Metaheuristic methods and their applications. Optimization Problems Strategies for Solving NP-hard Optimization Problems What is a Metaheuristic Method?
Ant Colony Optimization
traveling salesman problem
Backtracking and Branch-and-Bound
Computational Intelligence
Discrete Optimization
Presentation transcript:

Better Ants, Better Life? Hybridization of Constraint Programming and Ant Colony Optimization Supervisors: Dr. Bernd Meyer, Dr. Andreas Ernst Martin Held Oct 27th, final presentation -

Hybridizing CP and ACO [2] Introduction Ant Colony Optimization (ACO) nature inspired algorithms to tackle combinatorial optimization problems based on collective behaviour of ants Constraint Programming Programming paradigm that allows to effectively solve hard constraint problems SUDOKU, n-Queens, SEND+MORE = MONEY

Hybridizing CP and ACO [3] Introduction Project Aims Analysis of different constraint handling techniques in Ant Colony Optimization algorithms (ACO) Improvement of an existing hybrid algorithm (CPACS) Combination of hard and soft constraint handling algorithms

Hybridizing CP and ACO [4] Background Combinatorial Optimization Problems Finding the best solution among a set of discrete solutions interesting COPs are NP-complete solving them exactly needs exponential time near optimal solutions can be obtained by using heuristics Naive way of solving them enumerate all solutions, pick best one bad idea: exponential number of solutions

Hybridizing CP and ACO [5] Background Better: Meta-heuristics stochastic search strategies cleverly sample fraction of solution space given solutions they attempt to generate better ones movement in search space to good solutions mechanisms to prevent getting stuck in local optima Simulated Annealing, Genetic Algorithms, Ant Colony Optimization

Hybridizing CP and ACO [6] Background Constrained COPs most real world COPs are constrained practical relevance (timetabling, rostering, job scheduling, …) constraints impose difficulties for search procedure how to generate feasible solutions? should infeasible solutions be used? … no ultimate way of handling constraints in MH

Hybridizing CP and ACO [7] Background Travelling Salesman Problem (TSP) unconstrained COP Example for a COP A B C D A – C - B - D - A

Hybridizing CP and ACO [8] Background TSP with Time windows (TSP-TW) Each city has a time windows in which is has to be visited single machine job scheduling problem Example for a constrained COP A B C D (10, 50) (20, 34) (30, 35) (5, 25)

Hybridizing CP and ACO [9] Background How would ants solve a TSP? based on pheromone trails, ants are able to find shortest paths to food sources translating this into an algorithm (ACO), it can be used to solve COPs A B C D  

Hybridizing CP and ACO [10] Background How would ants solve a TSP? after constructing a tour, corresponding path is rewarded with pheromone amount of pheromone depends on solution quality later ants more likely to regenerate good solutions tours might be infeasible due to constraint violation Reward them? Try again? Prevent construction of infeasible tours? How to solve a TSP-TW?

Hybridizing CP and ACO [11] Background We need smarter ants! (enable them to cope with constraints)

Hybridizing CP and ACO [12] Prunes search space, provides look ahead Find a feasible instantiation for X and Y X ≥ Y, X+Y < 4, X Є {1,2}, Y Є {1,2} Can be used to express more complex constraints e.g. job scheduling (due date restrictions etc.) X Y Y X=1 Y=1 X=1 Y=2 X=2 Y=1 X=2 Y=2 Background Constraint Programming

Hybridizing CP and ACO [13] Background Ants armed with CP knowledge A B C D (10, 50) (20, 34) (30, 35) (5, 25)

Hybridizing CP and ACO [14] Background Ants armed with CP knowledge look ahead depends on constraint solver strength implemented in CPACS A 8 5 (10, 50) (20, 34) (30, 35) (5, 25) B C D 30 C D B D B C D C D B C B

Hybridizing CP and ACO [15] Project How to increase look ahead? besides CP other options to obtain look ahead bounding: calculation of solution bounds General idea: obtain bound on solution exclude choices that lead to worse solutions than best found so far To obtain bounds and information about costs for potential variable assignments we solve a relaxation of the actual TSP-TW

Hybridizing CP and ACO [16] Project How to increase look ahead? relaxation easier to solve than original problem solution of relaxation only lower bound on actual solution Tour Length: 8 (actual TSP optimal 19)

Hybridizing CP and ACO [17] Project How to increase look ahead? Use standard linear programming (lp) to solve relaxation

Hybridizing CP and ACO [18] Project How to increase look ahead? LP solution provides information about lower bound on problem solution cost for each edge, by which amount would lower bound increase if edge would be in solution Allows to exclude edges from consideration: LB + cost[i][j] > best solution found so far Edges (i,j) were this is true do not have to be considered by ants additional pruning Implemented in CPACSlp

Hybridizing CP and ACO [19] Project Using LP information for dynamic guidance A 8 5 B C D 30 C D B D B C D C D B C B Ant decision based on pheromone concentration and some bias e.g. prefer shorter edges

Hybridizing CP and ACO [20] Project Using LP information for dynamic guidance bias is static, dependent on fixed problem properties Lp calculated edge costs can be used as bias instead change dynamically while tour construction represent ‘current’ desirability of edges might have better search guiding abilities Implemented in dynamicCPACSlp

Hybridizing CP and ACO [21] Results Comparing CPACS vs. (CPACSlp & dynCPACSlp ) all algorithms were applied to a test set of single machine job scheduling problems with various tightness each algorithm was run 10 times on each of the 19 problems Tested different configurations CPACS vs. CPACSlp in absence of pheromone learning CPACS vs. CPACSlp with learning component dynCPACSlp vs. CPACSlp Due to vast amount of computation, experiments had to be carried out on the cluster

Hybridizing CP and ACO [22] Results Comparing CPACS vs. (CPACSlp & dynCPACSlp ) with 10 runs, standard deviation of measurements was to high to draw any conclusions increased the number of runs to 100 analyses commenced 4 weeks ago … in between the cluster exhibited severe stability problems Analysis not finished yet  No final results obtained yet What do we expect? Let’s guess…

Hybridizing CP and ACO [23] Results Possible outcomes and consequences A:significant improvement of search efficiency (labelling steps) B: no measurable improvement

Hybridizing CP and ACO [24] Discussion Possible outcomes and consequences (A) significant improvement of search efficiency (labelling steps) very good, we implemented an algorithm that performs superior to existing ones it needs less labelling steps to find even better solutions than existing ones Further investigations should relate labelling steps to CPU time Less labelling steps not necessarily faster CP and LP solving needs additional time Simpler search heuristic might be able to achieve similar results with same amount of CPU time

Hybridizing CP and ACO [25] Discussion Possible outcomes and consequences (B) no measurable improvement unfortunate obtained bounds might not be tight enough investigation of actual tightness How much pruning is achieved? necessarily improve LP model

Hybridizing CP and ACO [26] Conclusions implemented new algorithmic approaches to handle constraints in ACO results will allow to asses the relevance of these new approaches proved justification of using Stochastic Ranking as constraint handling technique in ACO

Hybridizing CP and ACO [27] Future Directions (general) Investigation of labelling steps – CPU time relation Improvement of LP model to get tighter bounds  more search space pruning, better guidance? further investigation of different scalings of dynamic cost values comparison with other algorithms (needs efficient implementations)

Hybridizing CP and ACO [28] Thanks for your attention! Questions?