cleebp / binpack

A genetic algorithm solution to the 2D bin packing problem.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Genetic Algorithm for the 2D Bin Packing Problem

doi

For every set of bin packing data there exists a unique ordering which produces the optimal solution when run through the first fit algorithm. The problem lies in finding this ordering, especially on large data sets. To try and solve this, this project is a genetic algorithm solution that attempts to find as close an optimal ordering as possible.

How to Run

Download the source files, compile the file Driver.java (javac Driver.java), then run the Driver file (java Driver). It will then ask you for numerous directions to run the program. Have fun!

How to Cite

Feel free to use this repo for academic purposes, but please cite as such:

Brian Clee. (2013). A Genetic Algorithm for the 2D Bin Packing Problem. Zenodo. 10.5281/zenodo.50229

or in BibTeX:

@misc{clee_2013,
  author       = {Brian Clee},
  title        = {A Genetic Algorithm for the 2D Bin Packing Problem},
  month        = mar,
  year         = 2013,
  doi          = {10.5281/zenodo.50229},
  url          = {http://dx.doi.org/10.5281/zenodo.50229}
}

About

A genetic algorithm solution to the 2D bin packing problem.

License:MIT License


Languages

Language:Java 100.0%