Considering
You have a very large number of possible tasks, each of which requires the use of a certain subset of possible resources from a large number of possible resources.
Each task has related resources:
Task 1
Task 2
Task 3
And you have a set of resources available:
Resources
Problem
Choose a subset of the tasks, any of which can be performed more than once, which makes the "best use" of all available resources. In this case, perhaps we will choose "Task 2" and "Task 3", since it will leave us only 1 remaining gold. We cannot complete task 1 because we do not have silver.
Questions
This seems like some kind of optimization problem, but I'm not sure if this problem will be βtriggeredβ. Is there any bizarre name for this that I could find to help me find possible solutions? Are there simple algorithms that solve this problem? Is it solvable in a reasonable amount of time? Are there any good heuristic approaches?
Notes
- The task, as shown, means that the resources can be weighted in different ways (that is, worse if you leave 1 gold than with 1 bronze), but this is not necessarily a problem. The solution should not take this into account, but it would be an interesting extension.
- Tasks and resources do not have to be integer values, but I'm not sure if this will make a big difference.
optimization algorithm
aardvarkk
source share