0 Weight Annealing Heuristics for Solving Bin Packing Problems Kok-Hua Loh University of Maryland Bruce Golden University of Maryland Edward Wasil American.

Slides:



Advertisements
Similar presentations
Decision Support Andry Pinto Hugo Alves Inês Domingues Luís Rocha Susana Cruz.
Advertisements

Algorithm Design Methods (I) Fall 2003 CSE, POSTECH.
1 An Adaptive GA for Multi Objective Flexible Manufacturing Systems A. Younes, H. Ghenniwa, S. Areibi uoguelph.ca.
Variable Neighborhood Search for Bin Packing Problem Borislav Nikolić, Hazem Ismail Abdel Aziz Ali, Kostiantyn Berezovskyi, Ricardo Garibay Martinez, Muhammad.
Neural and Evolutionary Computing - Lecture 4 1 Random Search Algorithms. Simulated Annealing Motivation Simple Random Search Algorithms Simulated Annealing.
Multi-Objective Optimization NP-Hard Conflicting objectives – Flow shop with both minimum makespan and tardiness objective – TSP problem with minimum distance,
1 Advancing Supercomputer Performance Through Interconnection Topology Synthesis Yi Zhu, Michael Taylor, Scott B. Baden and Chung-Kuan Cheng Department.
S. J. Shyu Chap. 1 Introduction 1 The Design and Analysis of Algorithms Chapter 1 Introduction S. J. Shyu.
Vehicle Routing & Scheduling: Part 1
PCPs and Inapproximability Introduction. My T. Thai 2 Why Approximation Algorithms  Problems that we cannot find an optimal solution.
CPSC 335 Computer Science University of Calgary Canada.
FEUP | PDEEC | Decision Support January 3 rd, 2011 Metaheuristics: GRASP Group 1: Clara Gouveia Daniel Oliveira Fabrício Sperandio Filipe Sousa [Presenter]
1 Nurse scheduling with tabu search and strategic oscillation Jia-Xian Zhu.
Task Assignment and Transaction Clustering Heuristics.
Structure and Phase Transition Phenomena in the VTC Problem C. P. Gomes, H. Kautz, B. Selman R. Bejar, and I. Vetsikas IISI Cornell University University.
EAs for Combinatorial Optimization Problems BLG 602E.
2-Layer Crossing Minimisation Johan van Rooij. Overview Problem definitions NP-Hardness proof Heuristics & Performance Practical Computation One layer:
Processing Rate Optimization by Sequential System Floorplanning Jia Wang 1, Ping-Chih Wu 2, and Hai Zhou 1 1 Electrical Engineering & Computer Science.
A hybrid heuristic for an inventory routing problem C.Archetti, L.Bertazzi, M.G. Speranza University of Brescia, Italy A.Hertz Ecole Polytechnique and.
Scatter search for project scheduling with resource availability cost Jia-Xian Zhu.
A tale of 2-dimensional (Guillotine) bin packing Nikhil Bansal (IBM) Andrea Lodi (Univ. of Bologna, Italy) Maxim Sviridenko (IBM)
Ant Colony Optimization: an introduction
A solution clustering based guidance mechanism for parallel cooperative metaheuristic Jianyong Jin Molde University College, Specialized University in.
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
Escaping local optimas Accept nonimproving neighbors – Tabu search and simulated annealing Iterating with different initial solutions – Multistart local.
 Optimal Packing of High- Precision Rectangles By Eric Huang & Richard E. Korf 25 th AAAI Conference, 2011 Florida Institute of Technology CSE 5694 Robotics.
Chapter 12 Coping with the Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
Solving the Concave Cost Supply Scheduling Problem Xia Wang, Univ. of Maryland Bruce Golden, Univ. of Maryland Edward Wasil, American Univ. Presented at.
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
17 th International Teletraffic Congress Topological design of telecommunication networks Michał Pióro a,b, Alpar Jüttner c, Janos Harmatos c, Áron Szentesi.
Global Optimization The Problem minimize f(x) subject to g i (x)>b i i=1,…,m h j (x)=c j j=1,…,n When x is discrete we call this combinatorial optimization.
Packing Rectangles into Bins Nikhil Bansal (CMU) Joint with Maxim Sviridenko (IBM)
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
Sports Scheduling Written by Kelly Easton, George Nemhauser, Michael Trick Presented by Matthew Lai.
Dept. of Electrical and Computer Engineering The University of Texas at Austin E-Beam Lothography Stencil Planning and Optimization wit Overlapped Characters.
Thursday, May 9 Heuristic Search: methods for solving difficult optimization problems Handouts: Lecture Notes See the introduction to the paper.
The Colorful Traveling Salesman Problem Yupei Xiong, Goldman, Sachs & Co. Bruce Golden, University of Maryland Edward Wasil, American University Presented.
Solving the Maximum Cardinality Bin Packing Problem with a Weight Annealing-Based Algorithm Kok-Hua Loh University of Maryland Bruce Golden University.
A Computational Study of Three Demon Algorithm Variants for Solving the TSP Bala Chandran, University of Maryland Bruce Golden, University of Maryland.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
CAS 721 Course Project Implementing Branch and Bound, and Tabu search for combinatorial computing problem By Ho Fai Ko ( )
The Generalized Traveling Salesman Problem: A New Genetic Algorithm Approach by John Silberholz, University of Maryland Bruce Golden, University of Maryland.
Quality of LP-based Approximations for Highly Combinatorial Problems Lucian Leahu and Carla Gomes Computer Science Department Cornell University.
1 Solving the Open Vehicle Routing Problem: New Heuristic and Test Problems Feiyue Li Bruce Golden Edward Wasil INFORMS San Francisco November 2005.
Practical Message-passing Framework for Large-scale Combinatorial Optimization Inho Cho, Soya Park, Sejun Park, Dongsu Han, and Jinwoo Shin KAIST 2015.
The bin packing problem. For n objects with sizes s 1, …, s n where 0 < s i ≤1, find the smallest number of bins with capacity one, such that n objects.
Different Local Search Algorithms in STAGE for Solving Bin Packing Problem Gholamreza Haffari Sharif University of Technology
Hub Location–Allocation in Intermodal Logistic Networks Hüseyin Utku KIYMAZ.
Introducation Defu Zhang Tel: ppt download :
Multi-Objective Optimization for Topology Control in Hybrid FSO/RF Networks Jaime Llorca December 8, 2004.
The Minimum Label Spanning Tree Problem: Illustrating the Utility of Genetic Algorithms Yupei Xiong, Univ. of Maryland Bruce Golden, Univ. of Maryland.
Classification Track Assignment in Rail Hump Yard Haodong Li a and Mingzhou Jin b a Beijing Jiaotong University b The University of Tennessee November.
Double Fuzzy Stopping Rule for a hybrid metaheuristic for the Strip Packing Problem Jesús David Beltrán, José Eduardo Calderón, Ignacio José García del.
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.
HM 2004 – ECAI 2004VNS/GRASP for SPP 1 GRASP/VNS hybrid for the Strip Packing Problem Jesús David Beltrán, José Eduardo Calderón, Rayco Jorge Cabrera,
Journal of Computational and Applied Mathematics Volume 253, 1 December 2013, Pages 14–25 Reporter : Zong-Dian Lee A hybrid quantum inspired harmony search.
Heuristic Optimization Methods
Algorithm Design Methods
Local Container Truck Routing Problem with its Operational Flexibility Kyungsoo Jeong, Ph.D. Candidate University of California, Irvine Local container.
Chart Packing Heuristic
Subject Name: Operation Research Subject Code: 10CS661 Prepared By:Mrs
Study Guide for ES205 Yu-Chi Ho Jonathan T. Lee Nov. 7, 2000
Haim Kaplan and Uri Zwick
Optimization with Meta-Heuristics
Multi-Objective Optimization
Generating and Solving Very Large-Scale Vehicle Routing Problems
Algorithm Design Methods
Algorithm Design Methods
Presentation transcript:

0 Weight Annealing Heuristics for Solving Bin Packing Problems Kok-Hua Loh University of Maryland Bruce Golden University of Maryland Edward Wasil American University INFORMS Annual Meeting October 5, 2006

1 Outline of Presentation  Introduction  Concept of Weight Annealing  One-Dimensional Bin Packing Problem  Two-Dimensional Bin Packing Problem  Conclusions

2 Weight Annealing Concept  Assigning different weights to different parts of a combinatorial problem to guide computational effort to poorly solved regions.  Ninio and Schneider (2005)  Elidan et al. (2002)  Allowing both uphill and downhill moves to escape from a poor local optimum.  Tracking changes in the objective function value, as well as how well every region is being solved.  Applied to the Traveling Salesman Problem. (Ninio and Schneider 2005)  Weight annealing led to mostly better results than simulated annealing.

3 One-Dimensional Bin Packing Problem  Pack a set of N = {1, 2, …, n} items, each with size t i, i=1, 2,…, n, into identical bins, each with capacity C.  Minimize the number of bins without violating the capacity constraints.  Large literature on solving this NP-hard problem.

4 Outline of Weight Annealing Algorithm  Construct an initial solution using first-fit decreasing.  Compute and assign weights to items to distort sizes according to the packing solutions of individual bins.  Perform local search by swapping items between all pairs of bins.  Carry out re-weighting based on the result of the previous optimization run.  Reduce weight distortion according to a cooling schedule.

5 Neighborhood Search for Bin Packing Problem  From a current solution, obtain the next solution by swapping items between bins with the following objective function (suggested by Fleszar and Hindi 2002)

6 Neighborhood Search for Bin Packing Problem  Swap schemes  Swap items between two bins.  Carry out Swap (1,0), Swap (1,1), Swap (1,2), Swap (2,2) for all pairs of bins.  Analogous to 2-Opt and 3-Opt.  Swap (1,0) (suggested by Fleszar and Hindi 2002)  Need to evaluate only the change in the objective function value. Bin α Bin β

7 Neighborhood Search for Bin Packing Problem  Swap (1,1)  Swap (1,2) (f = 162) ( f new = 164) (f = 162) ( f new = 164)

8 Weight Annealing for Bin Packing Problem  Weight of item i w i = 1 + K r i  An item in a not-so-well-packed bin, with large r i, will have its size distorted by a large amount.  No size distortions for items in fully packed bins.  K controls the size distortion, given a fixed r i.

9 Weight Annealing for Bin Packing Problem  Weight annealing allows downhill moves in a maximization problem.  Example C = 200, K= 0.5,  Transformed space - uphill move  Original space - downhill move Transformed space f = Original space f = Transformed space f new = Original space f new = 63125

10 Solution Procedures (1BP)  BISON (Scholl, Klein, and Jürgens 1997)  Hybrid method combining tabu search and branch-and-bound  New branch schemes  MTPCS (Schwerin and Wäscher 1999)  Bounding procedures based on a cutting stock problem (CS)  Integrating the lower bound into Martello and Toth procedure (MTP)  PMBS' +VNS (Fleszar and Hindi 2002)  Minimum bin slack heuristic  Variable neighborhood search  HI_BP (Alvim, Ribeiro, Glover, and Aloise 2004)  Sophisticated hybrid improvement heuristic  Tabu search to move items between bins  WA1BP  Weight annealing heuristic that creates dimension distortions to different parts of the search space during the local search.

11 Computational Results (1BP)  Benchmark problems  Five sets of test problems Uniform U120, U205, U500, U1000 Triplet T60, T120, T249, T501 Set Set1, Set2, Set3 Was Was1, Was2 Gau Gau1  A total of 1587 problem instances

12 Computational Results (1BP)  Weight annealing performed slightly better than HI_BP.  Generated more optimal solutions to the Gau set (17 versus 14).  Weight annealing performed much better than BISON, PMBS' +VNS, and MTPCS.  Generated more optimal solutions to Set benchmark problems. Weigh annealing found optimal solutions to all 1210 instances. BISON, PMBS' +VNS and MTPCS fell short (by 37, 40, and 94 instances).  Was faster than BISON and MTPCS (0.18s versus 31.5s s).  Overall Performance of the weight annealing algorithm  Found 1582 optimal solutions to 1587 problem instances.  Found three new optimal solutions to the Gau set.  Took 0.16s on average to solve an instance.

13 Two-Dimensional Bin Packing Problems Problem statement  Allocate, without overlapping, n rectangular items to identical rectangular bins.  Pack items such that the edges of bins and items are parallel to each other.  Minimize the total number of rectangular bins (NP-hard). Classifications  Guillotine Cutting  2BP|O|G Fixed Orientation (O), Guillotine Cutting (G)  2BP|R|G Allowable 90° Rotation (R), Guillotine Cutting (G)  Free Cutting  2BP|O|F Fixed Orientation (O), Free Cutting (F)  2BP|R|F Allowable 90° Rotation (R), Free Cutting (F)

14 Two-Dimensional Bin Packing Problems (2BP|O|G) Hybrid first-fit algorithm  Phase One (one-dimensional horizontal level packing)  Arrange the items in the order of non-increasing height.  Pack the items from left to right into levels, each level i with the same width W.  Pack an item (left justified) on the first level that can accommodate it; start a new level if no level can accommodate it.  Phase Two (one-dimensional vertical bin packing)  Arrange the levels in the order of non-increasing height h i ; this is the height of the first item on the left.  Solve one-dimensional bin packing problems, each item i with size h i, and bin size H.

15 Two-Dimensional Bin Packing Problems (2BP|O|G) An example of hybrid first-fit

16 Two-Dimensional Bin Packing Problems (2BP|O|G)  Weakness of hybrid first-fit

17 Weight Annealing Algorithm (2BP|O|G)  Phase One (one-dimensional horizontal level packing)  Construct an initial solution. Arrange the items in the order of non-increasing height. Introduce randomness in the insertion order to generate different starting solutions, if necessary.  Swap items between levels to minimize the number of levels. Objective function

18 Weight Annealing Algorithm (2BP|O|G)  Phase Two (one-dimensional vertical bin packing)  Construct initial solution with first-fit decreasing using level height h i as item sizes and bin height H.  Swap levels between bins to minimize the number of bins. Objective function

19 Weight Annealing Algorithm (2BP|O|G)  Phase Three  Filling unused space in each level.

20 Weight Annealing Algorithm (2BP|O|G)  Phase Three  Filling unused space at the top of each bin.

21 Weight Annealing Algorithm (2BP|O|G)  Weight assignments  Phase One  Phase Two  Phase Three

22 Weight Annealing Algorithm (2BP|R|G)  Example: Weight Annealing allows downhill move in the maximization problem.  Transformed space - uphill move  Original space - downhill move

23 Weight Annealing Algorithm (2BP|R|G)  Rotating an item through 90° to achieve a better packing solution.

24 Weight Annealing Algorithm (2BP|R|G)  Rotate an item through 90° and move it to another bin.

25 Weight Annealing Algorithm (2BP|O|F)  Alternate direction algorithm  Arrange items in the order of non-increasing height.  Packing items left to right.  Packing items right to left.

26 Weight Annealing Algorithm (2BP|O|F)  Moving an item from one bin to another and repacking.

27 Weight Annealing Algorithm (2BP|O|F)  Post-optimization processing

28 Weight Annealing Algorithm (2BP|R|F)  Rotate an item through 90° to occupy dead space in another bin.

29 Solution Procedures (2BP)  Exact algorithm by Martello and Vigo (1998) for 2BP|O|F  Tabu search by Lodi, Martello and Toth (1999) for 2BP|O|G, 2BP|R|G, 2BP|O|F, 2BP|R|F  Guided local search by Faroe, Pisinger, and Zachariasen (2003) for 2BP|O|F  Constructive algorithm (HBP) by Boschetti and Mingozzi (2003) for 2BP|O|F  Set covering heuristic by Monaci and Toth (2006) for 2BP|O|F

30 Computational Results of Weight Annealing (2BP)  Benchmark problems  300 problem instances of Berkey and Wang (1987)  200 problem instances of Martello and Toth (1998)  Comparing computational results (2BP|O|F) is not a straight- forward task.  Tabu search results Average ratios (TS solution value/ lower bound) over 10 instances are reported. Lower bounds not given in the papers.  Computational results and lower bounds quoted in journals were inconsistent.  Guided local search results did not include the running times.

31 Computational Results for 2BP|O|F ProceduresTotal Number of BinsTotal Running Time(s) Tabu Search Guided Local Search7302- Exact Algorithm Constructive Algorithm (HBP) Set Covering Heuristic Weight Annealing  The results of weight annealing and set covering heuristic are comparable.  The total number of bins are about 1.1 % above the best lower bound (7173 bins).  Both use fewer number of bins, and are faster than the other procedures.  Results for the 500 problem instances (summary measures).

32 Computational Results of Weight Annealing (2BP) 2BP VariantsTotal Number of BinsTotal Running Time (sec) 2BP|O|F BP|R|F BP|O|G BP|R|G  Results for the 500 problem instances (summary measures).

33 Conclusions  The application of weight annealing to bin packing problems is new.  One-dimensional bin packing problem  Two-dimensional bin packing problem (four versions)  Weight annealing algorithms produce high-quality solutions.  Weight annealing algorithms are fast and competitive.  Easy to understand  Simple to code  Small number of parameters