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
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