Upload
others
View
5
Download
0
Embed Size (px)
Citation preview
Tabu SearchANDRI I BERDNIKOV, HESAM SHAMS
INDUSTRIAL AND SYSTEMS ENGINEERING
UTK
Questions.1. What’s the general difference between heuristics
and metaheuristics?
2. Who is the creator of Tabu search algorithm?
3. VRP is a generalization of what other famous problem?
TABU SEARCH. BERDNIKOV, SHAMS. 2
Presenters
Andrii Berdnikov
Hesam Shams
Ph.D. aspirants at the ISE
TABU SEARCH. BERDNIKOV, SHAMS. 3
Andrii BerdnikovDrove to UT from Chicago in 2015, where I was working as Analytical Consultant (SAS based forecasting solutions).
TABU SEARCH. BERDNIKOV, SHAMS. 4
Andrii BerdnikovMS in Applied Mathematics (Interior Point Methods) from Georgia Southern.
MS in Pure Mathematics (Asymptotic Problems in Analytical Number Theory) from the Odessa Elie Metchnikoff University (among alumni George Gamov, Ivan Sechenov and the first rabbi appointed as a US Navy chaplain).
Research interests: Conic Optimization, Global Optimization.
Hobbies: swimming, water polo, history.
TABU SEARCH. BERDNIKOV, SHAMS. 5
Hesam ShamsStudying Ph.D. in Industrial EngineeringAdvisor: Sr. Shylo
Born and raised in Tehran, IranApplied Math B.Sc. Industrial Engineering M.Sc.
Research interests:Applied Optimization, Scheduling, Mathematical
Programming
Interests and Hobbies:Photography, Cooking, Movies, Music
TABU SEARCH. BERDNIKOV, SHAMS. 6
ContentsVRP History
Importance
Methods
Tabu search Local Search
Heuristics vs Metaheuristics
History
Memory
Guided Tabu Algorithm
Comparison
TABU SEARCH. BERDNIKOV, SHAMS. 7
VRP: History
G. B. Dantzig and J. H. Ramser
"The Truck Dispatching Problem", Management Science, 1959.
Their work was also presented at the Fifth World Petroleum Congress held in New York in 1959.
TABU SEARCH. BERDNIKOV, SHAMS. 8
VRP: History
G. B. Dantzig and J. H. Ramser
"The Truck Dispatching Problem", Management Science, 1959.
Their work was also presented at the Fifth World Petroleum Congress held in New York in 1959.
Goerge Dantzig was working for Rand Corporation
TABU SEARCH. BERDNIKOV, SHAMS. 9
VRP: History
John Hubert Ramser
Research and Development Department, the Atlantic Refining Company in Philadelphia (later ARCO).
TABU SEARCH. BERDNIKOV, SHAMS. 10
VRP: History
John Hubert Ramser
Research and Development Department, the Atlantic Refining Company in Philadelphia (later ARCO).
Published at least one more mathematical paper: "Theory of Thermal Diffusion under Linear Fluid Shear" in Journal of Industrial and Engineering Chemistry (1956).
TABU SEARCH. BERDNIKOV, SHAMS. 11
VRP: History
John Hubert Ramser
Research and Development Department, the Atlantic Refining Company in Philadelphia (later ARCO).
Published at least one more mathematical paper: "Theory of Thermal Diffusion under Linear Fluid Shear" in Journal of Industrial and Engineering Chemistry (1956).
One of the founders of SIAM. Was elected among SIAM’s first Council members, October 1952.
TABU SEARCH. BERDNIKOV, SHAMS. 12
VRP: Formulation
Classical VRP is defined on an undirected graph of n+1 vertices where vertex 0 is considered to be a depot, and the rest are destination points.
TABU SEARCH. BERDNIKOV, SHAMS. 13
VRP: Formulation
Classical VRP is defined on an undirected graph of n+1 vertices where vertex 0 is considered to be a depot, and the rest are destination points.
With each vertex it is associated and positive demand 𝑞𝑖. And with each edge 𝑖, 𝑗 a positive cost 𝑐𝑖.
min 𝑧 = 𝑐𝑖𝑗𝑥𝑖𝑗, s.t.
∀𝑖 ∈ 𝑉{0}: 𝑗∈𝑉{𝑖} 𝑥𝑖𝑗 = 1, 𝑗∈𝑉{𝑖} 𝑥𝑗𝑖 = 1
TABU SEARCH. BERDNIKOV, SHAMS. 14
VRP: Complexity
The uncapacitated VRP is equal to a multiple-salesman variant of the TSP.
TABU SEARCH. BERDNIKOV, SHAMS. 15
VRP: Complexity
The uncapacitated VRP is equal to a multiple-salesman variant of the TSP.
As most of the routing problems are extension of VRP they also belong to the class of strongly non-deterministic
polynomial time hard (NP-hard) combinatorial optimization problems.
TABU SEARCH. BERDNIKOV, SHAMS. 16
VRP: Variations of Classical problemCapacitated Vehicle Routing Problem (CVRP)
Vehicle Routing Problem with Time Windows (VRPTW)
Multiple Depot VRP
Split Delivery VRP
VRP with Pickup and Delivering
VRP with Backhauls
and many many others.
TABU SEARCH. BERDNIKOV, SHAMS. 17
VRP: Importance
Number of publications with regard to VRP. (From Ferucci[1]).
TABU SEARCH. BERDNIKOV, SHAMS. 18
Local Search
TABU SEARCH. BERDNIKOV, SHAMS. 19
Local SearchMove configurations by local moves
Works with complete assignments to the decision variables and modifying
It is not partial assignment and expanding
TABU SEARCH. BERDNIKOV, SHAMS. 20
Local SearchHow to work with local search?
Satisfaction problems Start with a feasible solution
Move in feasible region
Pure optimization problems Start with sub-optimal solution
Move in sub-optimal solutions
Constrained optimization problems
TABU SEARCH. BERDNIKOV, SHAMS. 21
Local MoveLocal movemany choices
assign a value to a decision variable
Select a movemany choices
max/min conflict
TABU SEARCH. BERDNIKOV, SHAMS. 22
NeighborhoodOptimizing a function
Local moves defines neighborhood
Local Search is a graph exploration
TABU SEARCH. BERDNIKOV, SHAMS. 23
SwapsNeighborhood◦ Swap two configurations
Search strategy◦ Find a configuration that appears in violations
◦ Swap the configuration with another configuration to minimize the number of violations
Why swap, not assignment◦ Automatically maintain the constraints
◦ Hard constraints
◦ Soft constraints
TABU SEARCH. BERDNIKOV, SHAMS. 24
Traveling Salesman Problem (2-OPT)
TABU SEARCH. BERDNIKOV, SHAMS. 25
Local SearchStates◦ Either solutions or configurations
Moving from state s to one of its neighbors◦ N(s): neighbors of s
Legal neighbors◦ Some of neighbors are legal, others are not
◦ L(N(s),s): set of legal functions
Select one legal neighbor◦ S(L(N(s),s),s): selection function
Objective function◦ Minimizing f(s)
TABU SEARCH. BERDNIKOV, SHAMS. 26
Graphical Illustration
s
N(s)
L(N(s))
S(L(N(s)))N(s)
L(N(s))
S(L(N(s)))
TABU SEARCH. BERDNIKOV, SHAMS. 27
Local MinimaA configuration c is a local minima with neighbors N
∀𝑛 ∈ 𝑁 𝑐 : 𝑓 𝑛 ≥ 𝑓 𝑐
No guarantees for global optimal◦ Escaping from local minima is a critical issue in local search
TABU SEARCH. BERDNIKOV, SHAMS. 28
Local Search
Hot Cold
TABU SEARCH. BERDNIKOV, SHAMS. 29
High Quality of Local Minima
TABU SEARCH. BERDNIKOV, SHAMS. 30
Heuristics vs Meta-HeuristicsHeuristics◦ Choose next neighbors
◦ Use local information (the configuration and its neighbors)
◦ Drive search to a local minimum
Meta-heuristics◦ Escaping from local minimum
◦ Drive search to the global minimum
◦ Include memory or learning
TABU SEARCH. BERDNIKOV, SHAMS. 31
Tabu Search
TABU SEARCH. BERDNIKOV, SHAMS. 32
Tabu Search
Tabu node : node that I already visited
TABU SEARCH. BERDNIKOV, SHAMS. 33
Tabu Search - Historyby Glover in 1986 and formalized in 1989
The word tabu comes from Polynesian culture◦ things that cannot be touched
Local search and Tabu list
Maintain the sequence of visited nodes
TABU SEARCH. BERDNIKOV, SHAMS. 34
VRP: MethodsVRP.
Classification of different solution methods for node-based routing problems (in accordance with Ferucci[1])
TABU SEARCH. BERDNIKOV, SHAMS. 35
VRP: MethodsG. Clarke (affiliated with Wholesale Cooperative Society of Manchester) and J. W. Wright (University of Manchester) introduced savings algorithm in a 1964 paper. It utilizes a greedy approach.
TABU SEARCH. BERDNIKOV, SHAMS. 36
VRP: Heuristic methodsSavings Algorithm.
Savings of merging two routes:
𝑆12 = 𝑐1𝐷 + 𝑐𝐷2 − 𝑐12
TABU SEARCH. BERDNIKOV, SHAMS. 37
VRP: Heuristic methodsSavings Algorithm (Parallel).
1. Compute the savings for pair of demand nodes.
2. Sort the savings in non-ascending (descending) order.
3. Starting at the top of the list, merge the two routes associated with the largest savings value.
4. Repeat step (3) until no additional savings can be achieved.
TABU SEARCH. BERDNIKOV, SHAMS. 38
VRP: Savings algorithm
TABU SEARCH. BERDNIKOV, SHAMS. 39
VRP: Heuristic methodsSweep Algorithm (planar graphs). Gillett and Miller (1974).
1. Set the Depot as a center of coordinates.
2. Construct a route counterclockwise until any of the constraints is violated.
3. Repeat step (2) until all nodes are covered.
4. (Second Phase). Optimize every route solving a TSP.
TABU SEARCH. BERDNIKOV, SHAMS. 40
VRP Heuristic: route-first-cluster-second
1. Construct a giant TSP route disregarding the constraints.
2. Split the cycle into feasible vehicle routes.
TABU SEARCH. BERDNIKOV, SHAMS. 41
VRP Heuristic: cluster-first-route-second
1. Split the graph into clusters each of which would satisfy the feasibility
constraints.
2. Optimize route on each cluster by solving a TSP.
TABU SEARCH. BERDNIKOV, SHAMS. 42
VRP: Metaheuristic methods
Higher level algorithms, more sophisticated.
Designed to escape locally optimal solutions
Many of them inspired by physical or biological phenomena.
TABU SEARCH. BERDNIKOV, SHAMS. 43
VRP: Simulated Annealing1. Given initial solution S, 𝑆∗ = 𝑆, 𝑇 = 𝑇𝑚𝑎𝑥.
2. 𝑆′ = 𝑅𝑎𝑛𝑑𝑜𝑚𝑇𝑟𝑎𝑛𝑠𝑓𝑜𝑟𝑚𝑎𝑡𝑖𝑜𝑛(𝑆∗)
3. If Δ𝑓 < 0 or 𝑝 Δ𝑓, 𝑇 = 𝑒Δ𝑓
𝑇 < 𝑟𝑎𝑛𝑑𝑜𝑚𝑃 then 𝑆 = 𝑆′
4. If 𝑆′ is better than 𝑆∗ then 𝑆∗ = 𝑆′.
5. If the exit criterion is not met then 𝑇 = 𝛼𝑇 and GOTO step 2.
6. Return 𝑆∗.
TABU SEARCH. BERDNIKOV, SHAMS. 44
VRP: Simulated AnnealingTypes of transformations to apply randomly. (According to Kokubugata, Kawashima [2008])
TABU SEARCH. BERDNIKOV, SHAMS. 45
Memory in Tabu SearchExpensive to maintain all visited nodes
Short-term memory◦ Only keep a small list of visited nodes (tabu list)
◦ increase or decrease it dynamically
Solution abstractions◦ Store transitions; not states
◦ weakness: cannot prevent cycling
◦ Strength: swap can produce multiple solutions in the tabu list
TABU SEARCH. BERDNIKOV, SHAMS. 46
Guided Tabu SearchHow to make it better?
Fixing Tabu list size in traditional Tabu
Even dynamic Tabu list methods store all components
Guided Tabu?◦ Store solutions in binary
◦ Each binary has a dynamic Tabu tenure list
◦ Updates dynamically the tenure size (depends on previous solutions)
◦ Tabu tenure values is approximated by Boltzmann distribution
TABU SEARCH. BERDNIKOV, SHAMS. 47
Applications of TabuGraph theory related problems (TSP, Assignment, Logistics, …)
Scheduling problems
Clustering
Discrete optimization problems
TABU SEARCH. BERDNIKOV, SHAMS. 48
Tabu in VRPGendreau et al. apply Tabu on VRP
Taillard apply a parallel iterative Tabu on VRP
Many researcher studied Tabu on different versions of VRP
Many researcher studied a hybrid of Tabu with other heuristics and meta-heuristics on VRP
TABU SEARCH. BERDNIKOV, SHAMS. 49
BenchmarkTaillard proposes 12 instances in his benchmark◦ from 75 to 385 customers
Best found solutions are still updating
TABU SEARCH. BERDNIKOV, SHAMS. 50
Comparison
TABU SEARCH. BERDNIKOV, SHAMS. 51
Open IssuesHow to improve storing history by components effectively?
How to abstract the Tabu tenure list?
How to improve the convergence to the global optimal?
TABU SEARCH. BERDNIKOV, SHAMS. 52
Thank You
TABU SEARCH. BERDNIKOV, SHAMS. 53
Questions.1. What’s the general difference between heuristics
and metaheuristics?
2. Who is the creator of Tabu search algorithm?
3. VRP is a generalization of what other famous problem?
TABU SEARCH. BERDNIKOV, SHAMS. 54
ReferencesGlover, Fred. "Tabu search—part I." ORSA Journal on computing 1, no. 3 (1989): 190-206.
Glover, Fred. "Tabu search—part II." ORSA Journal on computing 2, no. 1 (1990): 4-32.
Gendreau, Michel, Alain Hertz, and Gilbert Laporte. "A tabu search heuristic for the vehicle routing problem." Management science 40, no. 10 (1994): 1276-1290.
Glover, Fred. "Tabu search: A tutorial." Interfaces 20, no. 4 (1990): 74-94.
Osman, Ibrahim Hassan. "Metastrategy simulated annealing and tabu search algorithms for the vehicle routing problem." Annals of operations research 41, no. 4 (1993): 421-451.
Ferucci, Francesco, “Pro-active Dynamic Vehicle Routing”, Springer, Heidelberg, 2013.
Kokubugata, Hisafumi and Kawashima, Hironao. (2008). “Application of Simulated Annealing to Routing Problems in City Logistics”, Simulated Annealing, Cher Ming Tan (Ed.).
TABU SEARCH. BERDNIKOV, SHAMS. 55
ReferencesLaporte, Gilbert. "The vehicle routing problem: An overview of exact and approximate algorithms." European journal of operational research 59, no. 3 (1992): 345-358.
Van Laarhoven, Peter JM, and Emile HL Aarts. "Simulated annealing." In Simulated Annealing: Theory and Applications, pp. 7-15. Springer Netherlands, 1987.
Alfa, Attahiru Sule, Sundresh S. Heragu, and Mingyuan Chen. "A 3-opt based simulated annealing algorithm for vehicle routing problems." Computers & Industrial Engineering 21, no. 1-4 (1991): 635-639.
Montané, Fermín Alfredo Tang, and Roberto Diéguez Galvao. "A tabu search algorithm for the vehicle routing problem with simultaneous pick-up and delivery service." Computers & Operations Research 33, no. 3 (2006): 595-619.
Lourenço, Helena R., Olivier C. Martin, and Thomas Stützle. "Iterated local search." In Handbook of metaheuristics, pp. 320-353. Springer US, 2003.
TABU SEARCH. BERDNIKOV, SHAMS. 56