1 Star 0 Fork 0

dl-study/Container-Loading-Problem

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT
# A hybrid multi-objective genetic algorithm for the container loading problem This repository showcases a unique approach to solving the container loading problem, a challenge commonly faced in industries related to shipping and storage. Here, we aim to pack a container as efficiently as possible, focusing on fitting the most boxes, maximizing the space used, and ensuring the packed items' total value is as high as possible. We use a diploid chromosome structure to better organize and decide on the arrangement and orientation of boxes. This method is enhanced by a tweaked version of an existing packing algorithm, known as DBLF, which helps us place boxes in the most effective way. By combining advanced genetic algorithms with a refined packing technique, we tackle the complex issue of packing boxes into a single container, striving for optimal space usage and value maximization. *For a detailed description of the methods and background have a look at the project [report](https://github.com/Nivedha-Ramesh/Container-Loading-Problem/blob/master/Report.pdf).* **Getting Started** To get started with this project, clone this repository to your local machine. Ensure you have Python installed on your system. This project is tested with Python 3.7+. You can check your Python version by running: ```bash python --version ``` Install the required Python packages: ```bash pip install -r requirements.txt ``` **Creating a New Dataset** ```bash cd path/to/your/project ``` ```bash python create_dataset.py ``` **Running the Algorithm** To run the packing algorithm with the provided dataset (input.json), execute the main.py script: ```bash python main.py ``` The script will proceed to execute the packing algorithm, saving the visualizations as below. 3D Visualization of the True Solution ![True Solution](https://github.com/Nivedha-Ramesh/Container-Loading-Problem/blob/master/Figures/True%20Solution.png) 3D Projection of one of the Rank1 Solutions ![Rank 1 solution](https://github.com/Nivedha-Ramesh/Container-Loading-Problem/blob/master/Figures/Rank1%20Solution.png) Variation of Average Fitness Values over Generations ![Fitness Variation](https://github.com/Nivedha-Ramesh/Container-Loading-Problem/blob/master/Figures/Fitness%20Variation.png) Visualization of the Pareto Front ![Pareto Front](https://github.com/Nivedha-Ramesh/Container-Loading-Problem/blob/master/Figures/Pareto.png) **Contributing** Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**. **License** Distributed under the MIT License. **Contact** Nivedha Ramesh - [nivedharamesh9351@gmail.com](mailto:youremail@nivedharamesh9351@gmail.com)

简介

暂无描述 展开 收起
Python
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dl-study/Container-Loading-Problem.git
git@gitee.com:dl-study/Container-Loading-Problem.git
dl-study
Container-Loading-Problem
Container-Loading-Problem
master

搜索帮助