Tabu Search Manuel Laguna. Outline Background Short Term Memory Long Term Memory Related Tabu Search Methods.

Slides:



Advertisements
Similar presentations
Population-based metaheuristics Nature-inspired Initialize a population A new population of solutions is generated Integrate the new population into the.
Advertisements

Michele Samorani Manuel Laguna. PROBLEM : In meta-heuristic methods that are based on neighborhood search, whenever a local optimum is encountered, the.
Multi-Objective Optimization NP-Hard Conflicting objectives – Flow shop with both minimum makespan and tardiness objective – TSP problem with minimum distance,
Tabu Search Strategy Hachemi Bennaceur 5/1/ iroboapp project, 2013.
Spie98-1 Evolutionary Algorithms, Simulated Annealing, and Tabu Search: A Comparative Study H. Youssef, S. M. Sait, H. Adiche
MAE 552 – Heuristic Optimization Lecture 24 March 20, 2002 Topic: Tabu Search.
1 Nuno Abreu, Zafeiris Kokkinogenis, Behdad Bozorg, Muhammad Ajmal.
February 2002Parallel GRASP for the 2-path network design problem Slide 1/25 (ROADEF) 4 èmes Journées de la ROADEF Paris, February 20-22, 2002 A Parallel.
MAE 552 – Heuristic Optimization Lecture 23 March 18, 2002 Topic: Tabu Search.
Reporter : Mac Date : Multi-Start Method Rafael Marti.
MAE 552 – Heuristic Optimization
Ant Colony Optimization Optimisation Methods. Overview.
A TABU SEARCH APPROACH TO POLYGONAL APPROXIMATION OF DIGITAL CURVES.
Backtracking Reading Material: Chapter 13, Sections 1, 2, 4, and 5.
September 2002 Parallel GRASP with PR for the 2-path network design problem 1/37 AIRO’2002 AIRO’2002 L’Aquila, September 10-13, 2002 A Parallel GRASP with.
MAE 552 – Heuristic Optimization Lecture 25 March 22, 2002 Topic: Tabu Search.
Ant Colony Optimization: an introduction
A solution clustering based guidance mechanism for parallel cooperative metaheuristic Jianyong Jin Molde University College, Specialized University in.
G5BAIM Artificial Intelligence Methods Tabu Search.
Metaheuristics The idea: search the solution space directly. No math models, only a set of algorithmic steps, iterative method. Find a feasible solution.
Elements of the Heuristic Approach
T ABU S EARCH Ta-Chun Lien. R EFERENCE Fred G., Manuel L., Tabu Search, Kluwer Academic Publishers, USA(1997)
Escaping local optimas Accept nonimproving neighbors – Tabu search and simulated annealing Iterating with different initial solutions – Multistart local.
Genetic Algorithm.
Internet Traffic Engineering by Optimizing OSPF Weights Bernard Fortz (Universit é Libre de Bruxelles) Mikkel Thorup (AT&T Labs-Research) Presented by.
MIC’2011 1/58 IX Metaheuristics International Conference, July 2011 Restart strategies for GRASP+PR Talk given at the 10 th International Symposium on.
Swarm Computing Applications in Software Engineering By Chaitanya.
Heuristic Optimization Methods
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
Tabu Search Glover and Laguna, Tabu search in Pardalos and Resende (eds.), Handbook of Applied Optimization, Oxford Academic Press, 2002 Glover and Laguna,
Tabu Search UW Spring 2005 INDE 516 Project 2 Lei Li, HongRui Liu, Roberto Lu.
Algorithms and their Applications CS2004 ( )
Heuristic Optimization Methods
GRASP: A Sampling Meta-Heuristic
Heuristic Optimization Methods Tabu Search: Advanced Topics.
Heuristic Optimization Methods Scatter Search. 2 Agenda Scatter Search (SS) –For Local Search based Metaheuristics: SA based on ideas from nature TS based.
Heuristic Optimization Methods Greedy algorithms, Approximation algorithms, and GRASP.
Course: Logic Programming and Constraints
FORS 8450 Advanced Forest Planning Lecture 11 Tabu Search.
CAS 721 Course Project Implementing Branch and Bound, and Tabu search for combinatorial computing problem By Ho Fai Ko ( )
FORS 8450 Advanced Forest Planning Lecture 5 Relatively Straightforward Stochastic Approach.
G5BAIM Artificial Intelligence Methods
Single-solution based metaheuristics. Outline Local Search Simulated annealing Tabu search …
1 Introduction to Scatter Search ENGG*6140 – Paper Review Presented by: Jason Harris & Stephen Coe M.Sc. Candidates University of Guelph.
Tuning Tabu Search Strategies via Visual Diagnosis >MIC2005
Reactive Tabu Search Contents A brief review of search techniques
Heuristic Methods for the Single- Machine Problem Chapter 4 Elements of Sequencing and Scheduling by Kenneth R. Baker Byung-Hyun Ha R2.
METAHEURISTIC Jacques A. Ferland Department of Informatique and Recherche Opérationnelle Université de Montréal
Preliminary Background Tabu Search Genetic Algorithm.
Assigning Judges to Competitions Using Tabu Search Approach Amina Lamghari Jacques A. Ferland Computer science and OR dept. University of Montreal.
ICS 353: Design and Analysis of Algorithms Backtracking King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Tabu Search Subset of Slides from Lei Li, HongRui Liu, Roberto Lu Edited by J. Wiebe.
Tabu Search Glover and Laguna, Tabu search in Pardalos and Resende (eds.), Handbook of Applied Optimization, Oxford Academic Press, 2002 Glover and Laguna,
Scientific Research Group in Egypt (SRGE)
Heuristic Optimization Methods
Greedy Technique.
Meta-heuristics Introduction - Fabien Tricoire
Tabu Search Review: Branch and bound has a “rigid” memory structure (i.e. all branches are completed or fathomed). Simulated Annealing has no memory structure.
B. Jayalakshmi and Alok Singh 2015
Subject Name: Operation Research Subject Code: 10CS661 Prepared By:Mrs
Comparing Genetic Algorithm and Guided Local Search Methods
METAHEURISTICS Neighborhood (Local) Search Techniques
metaheuristic methods and their applications
Study Guide for ES205 Yu-Chi Ho Jonathan T. Lee Nov. 7, 2000
Metaheuristic methods and their applications. Optimization Problems Strategies for Solving NP-hard Optimization Problems What is a Metaheuristic Method?
Multi-Objective Optimization
School of Computer Science & Engineering
Subset of Slides from Lei Li, HongRui Liu, Roberto Lu
MOEA Local Search and Coevolution
Heuristic Optimization Methods
Presentation transcript:

Tabu Search Manuel Laguna

Outline Background Short Term Memory Long Term Memory Related Tabu Search Methods

Background Tabu search is a metaheuristic that guides a local search procedure to explore the solution space beyond local optimality Memory-based strategies are the hallmark of tabu search approaches

Basic Concepts Solution –Initial –Current –Best Move –Attributes –Value Neighborhood –Original –Modified (Reduced or Expanded) Tabu –Status –Activation rules

History A very simple memory mechanism is described in Glover (1977) to implement the oscillating assignment heuristic Glover, F. (1977) “Heuristics for Integer Programming Using Surrogate Constraints,” Decision Sciences, vol. 8, no. 1, pp

History Glover (1986) introduces tabu search as a “meta-heuristic” superimposed on another heuristic Glover, F. (1986) “Future Paths for Integer Programming and Links to Artificial Intelligence,” Computer and Operations Research, vol. 13, no. 5, pp

History Glover (1989a) and (1989b) provide a full description of the method Glover, F. (1989a) “Tabu Search – Part I,” INFORMS Journal on Computing, vol. 1, no. 3, pp Glover, F. (1989b) “Tabu Search – Part II,” INFORMS Journal on Computing, vol. 2, no. 1, pp

Tabu Search Framework Stop Heuristic procedure Modified choice rules for diversification or intensification Generate initial solution and initialize memory structures Construct modified neighborhood Select best neighbor Execute specialized procedures Tabu restrictions Candidate lists Aspiration criteria Elite solutions Restarting Strategic oscillation Path relinking Update memory structures Update best solution More iterations? Short and long term memory Yes No

Short-Term Memory The main goal of the STM is to avoid reversal of moves and cycling The most common implementation of the STM is based on move attributes and the recency of the moves

Example 1 After a move that changes the value of x i from 0 to 1, we would like to prevent x i from taking the value of 0 in the next TabuTenure iterations –Attribute to record: i –Tabu activation rule: move ( x i  0) is tabu if i is tabu-active

Example 2 After a move that exchanges the positions of element i and j in a sequence, we would like to prevent elements i and j from exchanging positions in the next TabuTenure iterations –Attributes to record: i and j –Tabu activation rule: move (i  j) is tabu if both i and j are tabu-active

Example 3 After a move that drops element i from and adds element j to the current solution, we would like to prevent element i from being added to the solution in the next TabuAddTenure iterations and prevent element j from being dropped from the solution in the next TabuDropTenure iterations –Attributes to record: i and j –Tabu activation rules: move (Add i ) is tabu if i is tabu-active move (Drop j ) is tabu if j is tabu-active

Tabu or not Tabu Only moves can be tabu. Attributes are never tabu, they can only be tabu-active A move may be tabu if it contains one or more tabu-active attributes The classification of a move (as tabu or not tabu) is determined by the tabu-activation rules

TabuEnd Memory Structure This memory structure records the time (iteration number) when the tabu-active status of an attribute ends Update after a move TabuEnd(Attribute) = Iter + TabuTenure Attribute is active if Iter  TabuEnd(Attribute)

Tabu Decision Tree Move Does the move contain tabu-active attributes? Is the move tabu? Does the move satisfy the aspiration criteria? Move is admissibleMove is not admissible Yes No

Search Flexibility The number of admissible moves in the neighborhood of the current solution depends on the … –Move type –Tabu activation rules –Tabu tenure –Aspiration criteria

Example 4 ABCDE Tabu activation rule: move (B  *) is tabu Elements Positions A B C D BCDE Tabu move 2

Example 5 ABCDE Tabu activation rule: move (B  *) is tabu if B moves to 2 or earlier Elements Positions A B C D BCDE Tabu move

Example 6 ABCDE Tabu activation rule: move (B  D) is tabu Elements Positions A B C D BCDE Tabu move

Tabu Tenure Management Static Memory –The value of TabuTenure is fixed and remains fixed during the entire search –All attributes remain tabu-active for the same number of iterations Dynamic Memory –The value of TabuTenure is not constant during the search –The length of the tabu-active status of attributes varies during the search

Simple Dynamic Tabu Tenure Update after a move TabuEnd(Attribute) = Iter + U(MinTenure, MaxTenure) The values of MinTenure and MaxTenure are search parameters

Aspiration Criteria By Objective –A tabu move becomes admissible if it yields a solution that is better than an aspiration value By Search Direction –A tabu move becomes admissible if the direction of the search (improving or non- improving) does not change

Candidate List Strategies Candidate lists are used to reduce the number of solutions examined on a given iterations They isolate regions of the neighborhood containing moves with desirable features

First Improving Choose the first improving move during the exploration of the current neighborhood This is a special case of the Aspiration Plus Candidate List Strategy –Threshold = Current Solution Value –Plus = 0 –Min = 0 –Max = Size of the neighborhood

Example 7 Move Iteration 1 NI(1) NI(2) NI(3) I Iteration 2 NI(1) NI(2) NI(3) NI(4) I Iteration 3 NI(2) NI(3) NI(4) NI(5) NI(6) I NI(1) Iteration 4 NI(5) NI(6) NI(7) NI(8) NI(9) NI(10) NI(1) NI(2) NI(3) NI(4) Chosen move

Long Term Memory Frequency-based memory Strategic oscillation Path relinking

Effect of Long Term Memory

Frequency-based Memory Transition Measure –Number of iterations where an attribute has been changed (e.g., added or deleted from a solution) Residence Measure –Number of iterations where an attribute has stayed in a particular position (e.g., belonging to the current solution)

Example 8 Transition Measure –Number of times that element i has been moved to an earlier position in the sequence sequence Residence Measure –Number of times that element i has occupied position k

Modifying Choice Rules Frequency-based memory is typically used to modify rules for … –choosing the best move to make on a given iteration –choosing the next element to add to a restarting solution The modification is based on penalty functions

Modifying Move Values for Diversification Rule –Choose the move with the best move value if at least one admissible improving move exists –Otherwise, choose the admissible move with the best modified move value Modified move value = Move value – Diversification parameter * F(frequency measure)

Example 9 The frequency of elements occupying certain positions can be used to bias a construction procedure and generate new restarting points For instance, due dates can be modified with frequency information (of jobs finishing on time) before reapplying the EDD rule

Strategic Oscillation Strategic oscillation operates by orienting moves in relation to a boundary Such an oscillation boundary often represents a point where the method would normally stop or turn around

Example 10 In the knapsack problem, a TS may be designed to allow variables to be set to 1 even after reaching the feasibility boundary After a selected number of steps, the direction is reversed by choosing moves that change variables from 1 to 0

Example 11 In the Min k -Tree problem, edges can be added beyond the critical level defined by k Then a rule is applied to delete edges Different rules would be typically used to add and delete edges

Path Relinking This approach generates new solutions by exploring trajectories that connect elite solutions The exploration starts from an initiating solution and generates a path in the neighborhood space that leads to a guiding solution Choice rules are designed to incorporate attributes contained in the guiding solution

Relinking Solutions Initiating solution Guiding solution Original path Relinked path

Multiple Guiding Solutions Initiating solution Guiding solution Original path Relinked path

Linking Solutions Initiating solution Guiding solution Original path Relinked path

GRASP with Path Relinking Originally suggested in the context of Graph Drawing by Laguna and Martí (1999) Extensions and a comprehensive review are due to Resende and Riberio (2003) “GRASP with Path Relinking: Recent Advances and Applications”

Relinking Strategies Periodical relinking  not systematically applied to all solutions Forward relinking  worst solution is the initiating solution Backward relinking  best solution is the initiating solution Backward and forward relinking  both directions are explored Mixed relinking  relinking starts at both ends Randomized relinking  stochastic selection of moves Truncated relinking  the guiding solution is not reached

Related TS Methods Probabilistic Tabu Search Tabu Thresholding Reactive Tabu Search

Probabilistic Tabu Search Create move evaluations that include reference to tabu strategies, using penalties or inducements to modify a standard choice rule Map these evaluations to positive weights to obtain probabilities Chose the next move according to the probability values

Simple Tabu Thresholding Improving Phase –Construct S*, the set of improving moves in the current neighborhood –If S* is empty, execute the Mixed Phase. Otherwise select the probabilistic best move in S* Mixed Phase –Select a value for the TabuTiming parameter –Select the probabilistic best move from the current neighborhood (full or reduced) –Continue for TabuTiming iterations and then return to Improving Phase

Some Tabu Thresholding Related Applications Bennell J. A. and K.A. Dowsland (1999) “A Tabu Thresholding Implementation for the Irregular Stock Cutting Problem,” International Journal of Production Research, vol. 37, no. 18, pp Kelly, J. P., M. Laguna and F. Glover (1994) “A Study of Diversification Strategies for the Quadratic Assignment Problem,” Computers and Operations Research, vol. 21, no. 8, pp Valls, V., M. A. Perez and M. S. Quintanilla (1996) “Modified Tabu Thresholding Approach for the Generalized Restricted Vertex Coloring Problem,” in Metaheuristics: Theory and Applications, I. H. Osman and J. P. Kelly (eds.), Kluwer Academic Publishers, pp Vigo, D. and V. Maniezzo (1997) “A Genetic/Tabu Thresholding Hybrid Algorithm for the Process Allocation Problem,” Journal of Heuristics, vol. 3, no. 2, pp

Reactive Tabu Search Proposed by Battiti and Tecchiolli (1994) Based on keeping a record of all the solutions visited during the search Tabu tenure starts at 1 and is increased when repetitions are encountered and decreased when repetitions disappear Hashing and binary trees are used to identify repetitions

RTS Mechanisms Reaction Mechanism (Self-adjusting tabu tenure) –CycleMax (to trigger increases of the tabu tenure) –  (to calculate a moving average of the cycle length and control decreases of the tabu tenure) –Increase (a value greater than 1) –Decrease (a value less than 1) Escape Mechanism (Random moves) –Rep (repetition threshold) –Chaos (threshold to determine chaotic behavior)