Expand description
Centralized reference allocations, computed with full knowledge of every agent’s valuation.
These are not decentralized: one process sees every valuation. They serve as references for the decentralized algorithms, and as fallbacks when a central planner is available.
sequential_greedyrepeatedly gives the single most valuable remaining task to the agent that values it most. When the valuations are submodular set functions (the order of tasks does not matter and gains diminish), the property tests check that it scores at least half the optimum without capacity limits, and at least a third with them, the bounds known for greedy over one and two matroids.optimalfinds the best assignment by exhaustive search, for small instances.
Both maximize the same objective, Assignment::value: the sum, over agents, of the
marginal gains recorded while each bundle was built.
Constants§
- MAX_
OPTIMAL_ TASKS - The most tasks
optimalaccepts.
Functions§
- optimal
- The assignment of tasks
0..taskstoagents, each holding at mostcapacitytasks, with the highestAssignment::value. - sequential_
greedy - The sequential greedy assignment of tasks
0..taskstoagents, each holding at mostcapacitytasks.