Skip to content

use first fit, branch and bound, random best fit to solve bin packing problem

License

Notifications You must be signed in to change notification settings

bennynil/SImpleBinPackingSolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

binPackingSolver

How This Works: Sort the Boxes:
Arrange the boxes in non-decreasing order of their size.
Apply First Fit Algorithm:
Use the First Fit heuristic to place each box into the bin where it fits. This heuristic quickly generates an initial feasible packing solution by trying to minimize wasted space in each bin.

Refine with Branch and Bound: Improve the solution from Step 2 by employing a Branch and Bound method that explores different boxes the box fit in. This step aims to optimize the packing further by considering various choices of the boxes being cut. Additional Features: Cutting Stock Problem: The program can also be adapted to solve cutting stock problems. Random Fit Option:
Multiple solvers can run concurrently with random box orders to explore different potential solutions and find the best one. Limitations:
The program can only handle box placements and does not support spherical objects. The quality of the result is assessed based on space utilization rather than the value of the items.
app can be found in app folder, use the exe file in it.
test file in folder cutboxtest.

About

use first fit, branch and bound, random best fit to solve bin packing problem

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published