Skip to content

Dealing with costs on bins #3

@franclin

Description

@franclin

Is there a way to specify a cost factor of each bins so that some bins are preferred to others? For instance, going back to the example that you specified, let's say on the 4 bins, we assign as a parameter to the algorithm an array of costs [10,3,30,5].

The 2nd bin has the cheapest cost so it will be assigned items until it is filled then the last bin will be assigned items until it is filled.

Basically, the assignment of items to bins is done via a cost factor.
Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions