Skip to main content

Module auction

Module auction 

Source
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§

BundleBid
One agent’s bid on a bundle of tasks: the bundle, built in its best order, and its value.

Functions§

bundle_bids
The limit most valuable bundles of at most max_size tasks out of 0..tasks, as bids of agent, most valuable first.
combinatorial
The combinatorial auction of tasks 0..tasks among agents: each agent bids on its bids_per_agent most valuable bundles of at most capacity tasks (see bundle_bids), and winner_determination picks the winners.
sequential
Auctions the tasks one at a time, in the order order lists them, among agents that hold at most capacity tasks 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 agents agents they make up.