A GAN-based genetic algorithm for solving the 3D bin packing problem

Boliang Zhang,Yu Yao,H. K. Kan,Wuman Luo
DOI: https://doi.org/10.1038/s41598-024-56699-7
IF: 4.6
2024-04-03
Scientific Reports
Abstract:The 3D bin packing problem is a challenging combinatorial optimization problem with numerous real-world applications. In this paper, we present a novel approach for solving this problem by integrating a generative adversarial network (GAN) with a genetic algorithm (GA). Our proposed GAN-based GA utilizes the GAN to generate high-quality solutions and improve the exploration and exploitation capabilities of the GA. We evaluate the performance of the proposed algorithm on a set of benchmark instances and compare it with two existing algorithms. The simulation studies demonstrate that our proposed algorithm outperforms both existing algorithms in terms of the number of used bins while achieving comparable computation times. Our proposed algorithm also performs well in terms of solution quality and runtime on instances of different sizes and shapes. We conduct sensitivity analysis and parameter tuning simulations to determine the optimal values for the key parameters of the proposed algorithm. Our results indicate that the proposed algorithm is robust and effective in solving the 3D bin packing problem. The proposed GAN-based GA algorithm and its modifications can be applied to other optimization problems. Our research contributes to the development of efficient and effective algorithms for solving complex optimization problems, particularly in the context of logistics and manufacturing. In summary, the proposed algorithm represents a promising solution to the challenging 3D bin packing problem and has the potential to advance the state-of-the-art in combinatorial optimization.
multidisciplinary sciences
What problem does this paper attempt to address?
The problem that this paper attempts to address is the 3D Bin Packing Problem. This is a classic optimization problem with widespread applications in logistics and manufacturing. Specifically, given a set of 3D items and a set of 3D containers of the same size, the goal is to pack these items into as few containers as possible while satisfying certain constraints. The main constraints include: 1. Each item can only be packed into one container. 2. The total volume of all items in each container cannot exceed the volume of the container. 3. The orientation of the items is fixed and cannot be rotated or flipped. This problem has been proven to be NP-hard, meaning it is computationally very difficult, especially when dealing with large-scale instances. Existing optimization algorithms such as Genetic Algorithm (GA), Simulated Annealing, Ant Colony Optimization, and Particle Swarm Optimization, although performing well in some cases, still have some limitations, such as low solution quality, slow convergence speed, or poor scalability. To address these issues, this paper proposes a new method that combines Generative Adversarial Networks (GAN) and Genetic Algorithm (GA). This method aims to utilize GAN to generate high-quality solutions and enhance the exploration and exploitation capabilities of GA, thereby solving the 3D Bin Packing Problem more effectively. Experimental validation shows that this method performs excellently on multiple benchmark instances, not only using fewer containers but also achieving comparable computation time to existing methods.