Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More emphasis on box emptyWeight #607

Open
mathielen opened this issue Apr 9, 2024 · 1 comment
Open

More emphasis on box emptyWeight #607

mathielen opened this issue Apr 9, 2024 · 1 comment

Comments

@mathielen
Copy link

Hi Doug,

First, thank you for this really nice library! Love it.

I'm not sure if I got everything correctly but from as far as I can see it is not possible to stop the packer from putting everything in one box.
Now with a scenario where we can either use multiple cardboard boxes or just one big wood pallet (which is quite heavy) the packer would always choose the pallet. That could be a problem.
I did not find a solution in the library as it would always try to find a single box for everything.

Solution for me right now is to try different box sets. Like, first try with all the cardboard boxes and then if that doesnt make sense (whatever that means) try to also use pallets.

I thought maybe there is a better solution to this problem?

If not, it is what it is. Thank you!

@dvdoug
Copy link
Owner

dvdoug commented Apr 10, 2024

Hi @mathielen

"Usually" it is cheaper to send a single box than multiple boxes, so that is what is optimised for by default.

Have you tried using https://boxpacker.io/en/stable/all-permutations.html ? It will be slower, but you can then sort the results by whatever criteria you need

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants