What do you call a set which accepts multiples of the same element, even in fractional amount? Is there even an established for this?
Example from a video game about production chains:
For a carpenter to run at full capacity, you need: 1 carpenter 1 sawyer 0.5 woodcutter 0.25 forestry
And knowing the fractional amount is important to know for example that you can build only 1 forestry to feed 4 carpenters.
There is the "multiset", but definitions I've read all say elements must have an integer count. I've search for keywords like "multiset fractional amounts", "multiset fractional multiplicity", but didn't find anything 😕.
There is the "knapsack" that turned out on occasion, but the problem's definitions also say the elements must have an integer count?
Am I just approaching this the wrong way??
(I'm a 1st year undergrad student in a computer science/programming degree)