Vector Type Allocator Element



The Allocator element doesn't support non-scalar data types. This means you have to create multiple Allocator elements for each item of an array input, which can be very time consuming if there are many items in the array. This model uses a Script element to perform the same functionality of an Allocator element except that it works with a Vector data type inputs for the "Amount" input and each of the Allocator's demands and priorities. The output of the "Vector Allocator" script is a matrix with rows corresponding to the items of the vector inputs and columns corresponding to the number of demands, including the remainder.


Making Better Decisions In An Uncertain World