getDecisionVariablesOfItemForMultipool function

(Internal) Make decision variables for selecting an item

(Internal) Make decision variables for selecting an item

getDecisionVariablesOfItemForMultipool is an internal function for making decision variables for selecting a single item, for the purpose of multiple-pool assembly.

getDecisionVariablesOfItemForMultipool(item_idx, nv_per_bin, n_bins)

Arguments

  • item_idx: the target item index.
  • nv_per_bin: the number of decision variables in the pool if this was a regular ATA.
  • n_bins: the number of pools being modeled.

Returns

getDecisionVariablesOfItemForMultipool returns a vector of indices.

  • Maintainer: Seung W. Choi
  • License: GPL (>= 2)
  • Last published: 2024-08-22