splitSolutionToBins
is an internal function for converting a paritioning problem solution to indices.
splitSolutionToBins(solution, n_bins, ni_per_bin, nv_per_bin)
splitSolutionToBins
returns a partition-wise list containing item/set indices.
the solution vector from the solver.
the number of bins (i.e., partitions)
the number of decision variables for items in each bin. This is the number of items in the pool.
the number of decision variables for items+sets in each bin. This is the number of items in the pool plus the number of sets. The deviation variable is not counted here.