dasvision0212 / 3D-Bin-Packing-Problem-with-BRKGA

An implementation ofr Biased Random Key Genetic Algorithmn for 3D Bin Packing Problem.
MIT License
56 stars 21 forks source link

ValueError: not enough values to unpack (expected 3, got 2) #4

Open taha7ussein007 opened 2 years ago

taha7ussein007 commented 2 years ago

I've an issue in the model.py --Select elite group --> 382 elites, non_elites, elite_fitness_list = self.partition(population, fitness_list) --Biased Mating & Crossover I've already fixed this issue's lines [(https://github.com/dasvision0212/3D-Bin-Packing-Problem-with-BRKGA/issues/3)]

My problem solved by adjusting the return self.partition function because we commented the third returned value so we may ignore elite_fitness_list or we may keep it as is in the function's return.