splitSolutionToBins {TestDesign} | R Documentation |
(Internal) Convert a partitioning problem solution to indices
Description
splitSolutionToBins
is an internal function for converting a paritioning problem solution to indices.
Usage
splitSolutionToBins(solution, n_bins, ni_per_bin, nv_per_bin)
Arguments
solution |
the solution vector from the solver. |
n_bins |
the number of bins (i.e., partitions) |
ni_per_bin |
the number of decision variables for items in each bin. This is the number of items in the pool. |
nv_per_bin |
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. |
Value
splitSolutionToBins
returns a partition-wise list containing item/set indices.
[Package TestDesign version 1.7.0 Index]