Hi all,
I am stuck in a bin packing problem.
Basically, I have different sizes of items with different weights. I am trying to put those items into the bins with a maximum number of full and empty bins and minimum number of half-filled bins.
I try to use hybrid grouping genetic algorithm instead of traditional one. So in this case, representation is designed with bins, not individual items so each gene in a chromosome represents a single bin(group of items).
I am thinking about combining genetic algorithm with this bin packing technique. However, I am not very familiar with VBA. I have attached my .xls file which contains the current code I use for genetic algorithm part.
So could anyone shed a light on how and where should I add the bin packing code into it?
I'd really appreciate any help from you.
I am stuck in a bin packing problem.
Basically, I have different sizes of items with different weights. I am trying to put those items into the bins with a maximum number of full and empty bins and minimum number of half-filled bins.
I try to use hybrid grouping genetic algorithm instead of traditional one. So in this case, representation is designed with bins, not individual items so each gene in a chromosome represents a single bin(group of items).
I am thinking about combining genetic algorithm with this bin packing technique. However, I am not very familiar with VBA. I have attached my .xls file which contains the current code I use for genetic algorithm part.
So could anyone shed a light on how and where should I add the bin packing code into it?
I'd really appreciate any help from you.