Expand description
Auction baselines: sequential single-item auctions and combinatorial auctions.
Both have an auctioneer: one process that collects every bid and announces the winners. They need fewer rounds of communication than consensus, but a single point that every agent must reach. Use them for comparison, or as a fallback when a central station is available.
sequential(): tasks go up for auction one at a time, in a fixed order. Every agent bids its marginal gain on the current task, given what it already won, and the highest bid wins. Cheap, but the order matters: a task auctioned early can go to an agent that would have been more useful elsewhere.combinatorial(): every agent bids on whole bundles, and the auctioneer picks at most one bundle per agent, with no task in two of them, maximizing the total (winner_determination). Agents can express that tasks are worth more together, at the price of a search that grows with the number of bids.
Structs§
- Bundle
Bid - One agent’s bid on a bundle of tasks: the bundle, built in its best order, and its value.
Functions§
- bundle_
bids - The
limitmost valuable bundles of at mostmax_sizetasks out of0..tasks, as bids ofagent, most valuable first. - combinatorial
- The combinatorial auction of tasks
0..tasksamongagents: each agent bids on itsbids_per_agentmost valuable bundles of at mostcapacitytasks (seebundle_bids), andwinner_determinationpicks the winners. - sequential
- Auctions the tasks one at a time, in the order
orderlists them, amongagentsthat hold at mostcapacitytasks each. - winner_
determination - The winning bids: at most one per agent, no task in two of them, with the highest total
value; returned as the assignment of
agentsagents they make up.