Repository navigation
π Overview
This repository presents an implementation of a Genetic Algorithm (GA)-based approach for solving the Cutting and Packing Problem. The goal is to optimize object placement within a constrained space, reducing material waste while maximizing efficiency. This algorithm is particularly useful in manufacturing, logistics, and material utilization applications where efficient space management is crucial.
βοΈ Features
β
Implements Genetic Algorithm (GA) for solving the cutting and packing problem
β
Supports object rotation (90-degree adjustments) to improve placement efficiency
β
Utilizes roulette wheel selection, single-point crossover, and mutation for solution refinement
β
Provides visualization tools for analyzing placements and results
β
Achieves 30-50% waste reduction compared to random placement methods
β
Includes a configurable structure to test various object arrangements
π Repository Contents
β’ cizim.py / cizim2.py β Visualization tools for placement analysis
β’ prg1.py - prg5.py β Core GA implementation and optimization functions
β’ rulet.py β Roulette selection mechanism for GA
β’ bilgi.txt β Input data and configuration parameters
β’ README.md β Documentation and usage instructions
π₯ Installation & Usage
To use this project, clone the repository and run the main script:
git clone https://github.com/bturkoglu/placement-problem-with-genetic-algorithm.git
cd placement-problem-with-genetic-algorithm
python cizim2.py
Modify the configuration parameters in bilgi.txt to test different object arrangements.
π Experimental Results
The algorithm was tested on multiple object configurations, demonstrating:
β 30-50% reduction in material waste compared to random placement
β Improved adaptability over traditional greedy heuristic methods
β Optimized space utilization with evolutionary computation techniques
π Citation & Reference
This research has been submitted to ICATCES 2025 Conference. The abstract can be accessed here:
π [ICATCES 2025 Abstract](Abstract Link - After Acceptance)
For academic citation, please use the following format:
B. TΓΌrkoΔlu, βA Genetic Algorithm-Based Approach to the Cutting and Packing Problem,β ICATCES 2025, Karabuk, Turkey.
π License
This project is released under the MIT License. You are free to use, modify, and distribute the code with proper attribution.
π Full Implementation & Documentation
π GitHub Repository