getDecisionVariablesOfPoolForMultipool function

(Internal) Make decision variables for selecting a pool

(Internal) Make decision variables for selecting a pool

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

getDecisionVariablesOfPoolForMultipool(pool_idx, ni_per_bin, nv_per_bin)

Arguments

  • pool_idx: the target pool index.
  • ni_per_bin: the number of items in the pool.
  • nv_per_bin: the number of decision variables in the pool if this was a regular ATA.

Returns

getDecisionVariablesOfPoolForMultipool returns a vector of indices.

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

Downloads (last 30 days):