Open harriv opened 6 years ago
Hi
Packing is a np-hard problem so the algorithms used are heuristic, this means that they usually won't find the optimal solution.
But you can improve your solution in two ways:
SkylineMwfWm algorithm seems to solve at least this problem ok.
Hi,
I tried to pack 2 by 3 rectangles to bin sized 4 by 6. If I enable rotation, I get 3 packed rectangles instead 4:
With rotation disabled I get 4 packed rectangles as expected.
I'm running with default settings:
packer = newPacker(rotation=False)
How to fix this?