Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

How to incorporate constraints into the algorithm? #5

Open
ricardogffcouto opened this issue Jan 25, 2020 · 1 comment
Open

How to incorporate constraints into the algorithm? #5

ricardogffcouto opened this issue Jan 25, 2020 · 1 comment

Comments

@ricardogffcouto
Copy link

ricardogffcouto commented Jan 25, 2020

Hello!

Can you point me to the right direction on how to incorporate constraints into the algorithm? Specifically, each bin has a maximum weight, and the algorithm should pack the items taking into account that maximum weight.

@solomon-b
Copy link
Owner

Hi. Its been a while since I have worked on this code base. I suspect there is a way to modify the algorithms to take a predicate function (or list of predicate functions) to represent constraints on the bins. I'll need to review the implementation and think about how this could work, then I'll either attempt an implementation or create a Help Wanted issue depending on the scope of changes required.

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

No branches or pull requests

2 participants