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.

Slides:



Advertisements
Similar presentations
September 2003 GRASP and path-relinking: Advances and applications 1/82 CEMAPRE GRASP and Path- Relinking: Advances and Applications Celso C. RIBEIRO 7th.
Advertisements

Problem solving with graph search
O(N 1.5 ) divide-and-conquer technique for Minimum Spanning Tree problem Step 1: Divide the graph into  N sub-graph by clustering. Step 2: Solve each.
March 2002Recents developments in metaheuristics and applications to network design problems Slide 1/59 (EHESS) Celso C. RIBEIRO Catholic University of.
Multicast in Wireless Mesh Network Xuan (William) Zhang Xun Shi.
~1~ Infocom’04 Mar. 10th On Finding Disjoint Paths in Single and Dual Link Cost Networks Chunming Qiao* LANDER, CSE Department SUNY at Buffalo *Collaborators:
Lauritzen-Spiegelhalter Algorithm
Novembro 2003 Tabu search heuristic for partition coloring1/29 XXXV SBPO XXXV SBPO Natal, 4-7 de novembro de 2003 A Tabu Search Heuristic for Partition.
Lectures on Network Flows
November 2002 Scene recognition by inexact graph matching1/39 ALIO/EURO Workshop Scene recognition by inexact graph matching Celso C. Ribeiro * Claudia.
Clustering short time series gene expression data Jason Ernst, Gerard J. Nau and Ziv Bar-Joseph BIOINFORMATICS, vol
MAE 552 – Heuristic Optimization Lecture 24 March 20, 2002 Topic: Tabu Search.
Chapter 9 Graph algorithms. Sample Graph Problems Path problems. Connectedness problems. Spanning tree problems.
Implicit Hitting Set Problems Richard M. Karp Harvard University August 29, 2011.
GREEDY RANDOMIZED ADAPTIVE SEARCH PROCEDURES Reporter : Benson.
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.
May 2002Parallel GRASP with PR for the 2-path network design problem 1/35 PAREO’2002 PAREO 2002 Guadeloupe, May 20-24, 2002 A Parallel GRASP with Path-Relinking.
Reporter : Mac Date : Multi-Start Method Rafael Marti.
November 2003 GRASP and path-relinking: Advances and applications 1/52 MP in Rio Maculan torce pelo América.
Chapter 9 Graph algorithms Lec 21 Dec 1, Sample Graph Problems Path problems. Connectedness problems. Spanning tree problems.
October 10, 2001 Routing in communication networks (OPTIMA 2001) Page 1/104 OPTIMA 2001 Routing in communication networks and advances in metaheuristics.
Heuristics for a multi-objective car sequencing problem Daniel Aloise 1 Thiago Noronha 1 Celso Ribeiro 1,2 Caroline Rocha 2 Sebastián Urrutia 1 1 Universidade.
Heuristics for the MTTPROADEF, February /49 Heuristics for the Mirrored Traveling Tournament Problem Celso C. RIBEIRO Sebastián URRUTIA.
Using Search in Problem Solving
February 2002GRASP with path-relinking for PVC routingSlide 1/42 (ROADEF) A GRASP with path- relinking heuristic for PVC routing Celso C. Ribeiro Computer.
Steiner trees Algorithms and Networks. Steiner Trees2 Today Steiner trees: what and why? NP-completeness Approximation algorithms Preprocessing.
August 2003 GRASP and path-relinking: Advances and applications 1/104 MIC’2003 Maurício G.C. RESENDE AT&T Labs Research USA Celso C. RIBEIRO Catholic University.
Ant Colony Optimization: an introduction
A solution clustering based guidance mechanism for parallel cooperative metaheuristic Jianyong Jin Molde University College, Specialized University in.
Tabu Search Manuel Laguna. Outline Background Short Term Memory Long Term Memory Related Tabu Search Methods.
Metaheuristics The idea: search the solution space directly. No math models, only a set of algorithmic steps, iterative method. Find a feasible solution.
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.
Primal-Dual Meets Local Search: Approximating MST’s with Non-uniform Degree Bounds Author: Jochen Könemann R. Ravi From CMU CS 3150 Presentation by Dan.
MIC’2011 1/58 IX Metaheuristics International Conference, July 2011 Restart strategies for GRASP+PR Talk given at the 10 th International Symposium on.
July 14, 2001Routing in communication networks (MIC'2001)Page 1/70 Routing in communication networks Celso C. Ribeiro Computer Science Department Catholic.
Neural and Evolutionary Computing - Lecture 10 1 Parallel and Distributed Models in Evolutionary Computing  Motivation  Parallelization models  Distributed.
Network Aware Resource Allocation in Distributed Clouds.
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
June 21, 2007 Minimum Interference Channel Assignment in Multi-Radio Wireless Mesh Networks Anand Prabhu Subramanian, Himanshu Gupta.
Metaheuristics in Optimization1 Panos M. Pardalos University of Florida ISE Dept., Florida, USA Workshop on the European Chapter on Metaheuristics and.
Graph Algorithms. Definitions and Representation An undirected graph G is a pair (V,E), where V is a finite set of points called vertices and E is a finite.
GRASP: A Sampling Meta-Heuristic
Heuristic Optimization Methods Tabu Search: Advanced Topics.
1 Steiner Tree Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij.
Heuristic Optimization Methods Greedy algorithms, Approximation algorithms, and GRASP.
Data Structures & Algorithms Graphs
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
G5BAIM Artificial Intelligence Methods
1 Introduction to Scatter Search ENGG*6140 – Paper Review Presented by: Jason Harris & Stephen Coe M.Sc. Candidates University of Guelph.
NP-Complete problems.
1 Presented by Sarbagya Buddhacharya. 2 Increasing bandwidth demand in telecommunication networks is satisfied by WDM networks. Dimensioning of WDM networks.
A Framework for Reliable Routing in Mobile Ad Hoc Networks Zhenqiang Ye Srikanth V. Krishnamurthy Satish K. Tripathi.
Hub Location–Allocation in Intermodal Logistic Networks Hüseyin Utku KIYMAZ.
Exponential random graphs and dynamic graph algorithms David Eppstein Comp. Sci. Dept., UC Irvine.
1 Assignment #3 is posted: Due Thursday Nov. 15 at the beginning of class. Make sure you are also working on your projects. Come see me if you are unsure.
Constraint Programming for the Diameter Constrained Minimum Spanning Tree Problem Thiago F. Noronha Celso C. Ribeiro Andréa C. Santos.
1 GRAPHS – Definitions A graph G = (V, E) consists of –a set of vertices, V, and –a set of edges, E, where each edge is a pair (v,w) s.t. v,w  V Vertices.
Author&speaker: Andrea Peano Author: Maddalena Nonato
Greedy & Heuristic algorithms in Influence Maximization
Lectures on Network Flows
B. Jayalakshmi and Alok Singh 2015
Dissertation for the degree of Philosophiae Doctor (PhD)
1.3 Modeling with exponentially many constr.
Enumerating Distances Using Spanners of Bounded Degree
Quality of Service in Multimedia Distribution
Metaheuristic methods and their applications. Optimization Problems Strategies for Solving NP-hard Optimization Problems What is a Metaheuristic Method?
Multi-Objective Optimization
1.3 Modeling with exponentially many constr.
Normal Form (Matrix) Games
Presentation transcript:

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 Path-Relinking Heuristic for the 2-Path Network Design Problem Celso C. RIBEIRO Isabel ROSSETI Catholic University of Rio de Janeiro, Brazil

September 2002 Parallel GRASP with PR for the 2-path network design problem 2/37 AIRO’2002 Summary Problem formulation GRASP with path-relinking heuristic –Construction phase –Local search phase –Path-relinking Parallel implementation –Independent strategy –Cooperative strategy Computational results Concluding remarks

September 2002 Parallel GRASP with PR for the 2-path network design problem 3/37 AIRO’ path network design problem Graph G = (V,E) V: node set E: edge set weights w e associated with each edge e  E k-path between nodes s,t  V: sequence of at most k edges connecting s and t D: set of demands (origin-destination pairs)

September 2002 Parallel GRASP with PR for the 2-path network design problem 4/37 AIRO’ path network design problem 2-path network design problem (2PNDP): Find a minimum weighted subset of edges E’  E containing a 2-path in G between the extremities of every origin-destination pair in D Applications: design of communication networks, in which paths with few edges are sought to enforce high reliability and small delays

September 2002 Parallel GRASP with PR for the 2-path network design problem 5/37 AIRO’ path network design problem Dahl & Johannessen (2000): –Decision version of 2PNDP is NP- complete. –Approximate algorithm –Exact cutting plane algorithm Balakrishnan & Altinkemer (1992): –Integer programming formulation for kPNDP –See also LeBlanc, Chifflet & Mahey (1999). Generalizations: k-hop minimum spanning tree, k-hop minimum Steiner tree

September 2002 Parallel GRASP with PR for the 2-path network design problem 6/37 AIRO’2002 GRASP with path-relinking GRASP: –Multistart metaheuristic: Feo & Resende (1989) Path-relinking: –Intensification strategy: Glover (1996) Repeat for Max_Iterations: –Construct a greedy randomized solution –Use local search to improve the constructed solution –Apply path-relinking to further improve the solution –Update the pool of elite solutions –Update the best solution found

September 2002 Parallel GRASP with PR for the 2-path network design problem 7/37 AIRO’2002 GRASP with path-relinking GRASP –Construction phase 1.Set the modified weights equal to the original weights. 2.Randomly select an origin-destination pair (a,b)  D. 3.Compute a shortest 2-path between a and b using the modified weights. 4.Set to 0 the modified weights of the edges in this path. 5.Remove (a,b) from D. 6.If D is empty stop, otherwise go back to step 2.

September 2002 Parallel GRASP with PR for the 2-path network design problem 8/37 AIRO’2002 GRASP with path-relinking GRASP –Local search phase 1.Generate a circular random permutation of the pairs in D. 2.Select the next origin-destination pair (a,b)  D. 3.Tentatively replace the shortest 2-path between a and b: Weights of edges used by other 2-paths are temporarilly set to 0. Compute a new shortest 2-path between a and b. Update the current solution if it is improved by the new 2-path. Restore all original edge weights. 4.If |D| paths have been investigated without improvement stop, otherwise go back to step 2.

September 2002 Parallel GRASP with PR for the 2-path network design problem 9/37 AIRO’2002 GRASP with path-relinking Path-relinking: introduced in the context of tabu search by Glover (1996) –Intensification strategy using set of elite solutions Consists in exploring trajectories that connect high quality solutions. initial solution guiding solution path in the neighborhood of solutions

September 2002 Parallel GRASP with PR for the 2-path network design problem 10/37 AIRO’2002 GRASP with path-relinking Path is generated by selecting moves that introduce in the initial solution attributes of the guiding solution. At each step, all moves that incorporate attributes of the guiding solution are evaluated and the best move is selected: initial solution guiding solution

September 2002 Parallel GRASP with PR for the 2-path network design problem 11/37 AIRO’2002 Elite solutions x and y  (x,y): symmetric difference between x and y while ( |  (x,y)| > 0 ) { evaluate moves corresponding in  (x,y) make best move update  (x,y) } GRASP with path-relinking

September 2002 Parallel GRASP with PR for the 2-path network design problem 12/37 AIRO’2002 GRASP with path-relinking Maintain an elite set of solutions found during GRASP iterations. After each GRASP iteration (construction and local search): –Select an elite solution at random: guiding solution. –Use GRASP solution as initial solution. –Perform path-relinking between these two solutions.

September 2002 Parallel GRASP with PR for the 2-path network design problem 13/37 AIRO’2002 GRASP with path-relinking Successful applications: –Prize-collecting Steiner tree problem: Canuto, Resende & Ribeiro (2001) –Minimum Steiner tree problem: Ribeiro, Uchoa & Werneck (2002) (e.g., best known results for open problems in series dv640 of the SteinLib) –Three-index assignment problem: Aiex et al. (2000) –Capacitated minimum spanning tree: Souza, Duhamel & Ribeiro (2002) (e.g., best known results for largest problems with 160 nodes)

September 2002 Parallel GRASP with PR for the 2-path network design problem 14/37 AIRO’2002 GRASP with path-relinking P is a set of elite solutions. Each iteration of first |P| GRASP iterations adds one solution to P (if different from others). After that: solution x is promoted to P if: –x is better than best solution in P. –x is not better than best solution in P, but is better than worst and is sufficiently different from all solutions in P.

September 2002 Parallel GRASP with PR for the 2-path network design problem 15/37 AIRO’2002

September 2002 Parallel GRASP with PR for the 2-path network design problem 16/37 AIRO’2002 Parallel implementation Main interest of parallel implementations of metaheuristics: robustness Cung, Martins, Ribeiro & Roucairol (2001) Multiple-walk independent-thread strategy: –p processors available –Iterations evenly distributed over the p processors –Each processor keeps a copy of the algorithm and data –The processor acting as the master (data, seeds, iterations) also performs GRASP iterations –Each processor performs Max_Iterations/p iterations

September 2002 Parallel GRASP with PR for the 2-path network design problem 17/37 AIRO’2002 Parallel implementation: independent seed(1)seed(2)seed(3)seed(4)seed(p-1) Best solution is sent to the master p-1 Elite p seed(p)

September 2002 Parallel GRASP with PR for the 2-path network design problem 18/37 AIRO’2002 Parallel implementation Multiple-walk cooperative-thread strategy: –p processors available –Iterations evenly distributed over p-1 processors –Each processor keeps a copy of the algorithm and data –One processor acts as the master (data, seeds, iterations) and controls the pool of elite solutions –Each slave processor performs Max_Iterations/(p-1) iterations

September 2002 Parallel GRASP with PR for the 2-path network design problem 19/37 AIRO’2002 Parallel implementation: cooperative 2 Elite 1 p 3 Elite solutions are stored in a centralized pool Master Slave

September 2002 Parallel GRASP with PR for the 2-path network design problem 20/37 AIRO’2002 Computational results Parallel GRASP heuristic: –Implementation in C –MPI LAM for communication –Linux cluster with 32 Pentium II-400 processors Largest instances: –Larger instances solved with the GRASP heuristic: |V|= 400, |E|= 79800, |D|= 4000 (previously: |V|= 120, |E|= 7140, |D|= 60)

September 2002 Parallel GRASP with PR for the 2-path network design problem 21/37 AIRO’2002 Computational results Effectiveness: –100 small instances with 70 nodes generated as in Dahl and Johannessen (2000) for comparison purposes. –Statistical test t for unpaired observations –Parallel GRASP finds better solutions with 40% of confidence. Parall el GRAS P Sample A D&J (2000 ) Sample B Size10030 Mean443.7 (- 2.2%) Std. dev

September 2002 Parallel GRASP with PR for the 2-path network design problem 22/37 AIRO’2002 Variants of GRASP with path- relinking: –GRASP: pure GRASP –G+PR(B): GRASP with backward PR –G+PR(F): GRASP with forward PR –G+PR(BF): GRASP with two-way PR T: elite solution S: local search Other strategies: –Truncated path-relinking –Do not apply PR at every iteration (frequency) Variants of GRASP with path- relinking S T T S S T S T

September 2002 Parallel GRASP with PR for the 2-path network design problem 23/37 AIRO’2002 Variants of GRASP with path- relinking Select an instance and a target value. For each variant of GRASP with path- relinking: –Perform 200 runs using different seeds. –Stop when a solution value at least as good as the target is found. –For each run, measure the time-to- target-value. –Plot the probabilities of finding a solution at least as good as the target value within some computation time.

September 2002 Parallel GRASP with PR for the 2-path network design problem 24/37 AIRO’2002 Variants of GRASP with path- relinking Each variant: 200 runs for one instance of 2PNDP

September 2002 Parallel GRASP with PR for the 2-path network design problem 25/37 AIRO’2002 More recently: –G+PR(m): mixed back and forward strategy T: elite solution S: local search –Path-relinking with local search Variants of GRASP with path- relinking T S

September 2002 Parallel GRASP with PR for the 2-path network design problem 26/37 AIRO’2002 Variants of GRASP with path- relinking Each variant: 200 runs for one instance of 2PNDP Probabilit y Time (seconds)

September 2002 Parallel GRASP with PR for the 2-path network design problem 27/37 AIRO’2002 Variants of GRASP with path- relinking Same computation time: probability of finding a solution at least as good as the target value increases from GRASP  G+PR(F)  G+PR(B)  G+PR(BF) P(h,t) = probability that variant h finds a solution as good as the target value in time no greater than t –P(GRASP,10s) = 2% P(G+PR(F),10s) = 56% P(G+PR(B),10s) = 75% P(G+PR(BF),10s) = 84% Effectiveness of path-relinking to improve and speedup the pure GRASP Strategies using the backwards component are systematically better

September 2002 Parallel GRASP with PR for the 2-path network design problem 28/37 AIRO’2002 Independent strategy: speedups Linear speedups: |V|= 400, 3200 iterations, G+PR(BF)

September 2002 Parallel GRASP with PR for the 2-path network design problem 29/37 AIRO’2002 Cooperative vs. independent strategy Solution quality Same instance: 15 runs with different seeds, 3200 iterations The pool is poorer when fewer GRASP iterations are performed Proc s. bestavg.bestavg Independent Cooperative

September 2002 Parallel GRASP with PR for the 2-path network design problem 30/37 AIRO’2002 Cooperative vs. independent strategy Procs.Indep. Coop

September 2002 Parallel GRASP with PR for the 2-path network design problem 31/37 AIRO’2002 Cooperative vs. independent strategy Select an instance and a target value. For each strategy: –Perform 100 runs using different seeds. –Stop when a solution value at least as good as the target is found. –For each run, measure the time-to-target- value. –Plot the probabilities of finding a solution at least as good as the target value within some computation time.

September 2002 Parallel GRASP with PR for the 2-path network design problem 32/37 AIRO’2002 Probability Cooperative vs. independent strategy 2 processors Cooperative Independent Time to target value (seconds)

September 2002 Parallel GRASP with PR for the 2-path network design problem 33/37 AIRO’2002 Probability Cooperative vs. independent strategy 4 processors Cooperative Independent Time to target value (seconds)

September 2002 Parallel GRASP with PR for the 2-path network design problem 34/37 AIRO’2002 Probability Cooperative vs. independent strategy 8 processors Cooperative Independent Time to target value (seconds)

September 2002 Parallel GRASP with PR for the 2-path network design problem 35/37 AIRO’2002 Cooperative vs. independent strategy Recall that when p processors are used: –All of them perform GRASP iterations in the independent strategy –Only p-1 processors perform GRASP iterations in the cooperative strategy Cooperative strategy improves w.r.t. the independent strategy when the number of processors increases. Cooperative strategy is already faster for p  4 processors.

September 2002 Parallel GRASP with PR for the 2-path network design problem 36/37 AIRO’2002 Concluding remarks New heuristic for the 2-path network design problem. Effectiveness of the new heuristic: –Larger problems solved. –New heuristic finds better solutions. –Domination is stronger for harder or larger instances. Path-relinking adds memory and intensification mechanisms to GRASP, systematically contributing to improve solution quality (some implementation strategies appear to be more effective than others). Linear speedups with the parallel implementation. Robust cooperative strategy is faster and better.

September 2002 Parallel GRASP with PR for the 2-path network design problem 37/37 AIRO’2002 Slides and publications Slides of this talk can be downloaded from: rio/~celso/talks Paper about the parallel GRASP heuristic for the 2-path network design problem available at: rio.br/~celso/publicacoes Isabel Rosseti