You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File c:\Users\g7morsj22l\Documents\02_Code_Repos\3d-bpp\src\baseline.py:174, in baseline(superitems_pool, pallet_dims, tlim, num_workers)
172 layer_pool = layers.LayerPool(superitems_pool, pallet_dims)
173 for l in range(max_layers):
--> 174 if sol[f"o_{l}"] > 0:
175 superitems_in_layer = [s for s in range(n_superitems) if sol[f"z_{s}_{l}"] == 1]
176 layer = utils.build_layer_from_model_output(
177 superitems_pool, superitems_in_layer, sol, pallet_dims
The text was updated successfully, but these errors were encountered:
I also encountered this problem, which should be related to the parameters of the CpSolver parameters. The 20-second time might be too short. When I set 'tlim' to None, the program ran for more than 40 minutes without producing any results. However, after commenting out lines 130,131, 132 in baseline.py, I reran the program, and it completed in 2 minutes and produced the results.
got a Keyerror when using the baseline algorithm
The text was updated successfully, but these errors were encountered: