Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
Multi-agent

task-allocation

Decentralized multi-agent task allocation: consensus-based bundle algorithm (CBBA) and auctions that converge to conflict-free assignments over delayed, intermittent communication

cargo add task-allocation

Who it is for

  • Robot and rover teams, drone swarms and multi-agent simulations that split tasks without a central planner, over links that drop and delay messages. CBBA settles on a conflict-free assignment from whatever each agent hears, and the seeded network simulator tests that before deployment.
  • Games and simulations that hand out jobs to workers, units or NPCs, where a job's value depends on what the agent already holds. Integer scores and the seeded simulator keep runs deterministic.
  • Researchers comparing allocation algorithms: CBBA, auctions and sequential greedy run on the same valuations, next to an exhaustive optimum for small instances.
  • For plain one-to-one assignment with all state in one process, the Hungarian algorithm (for example kuhn_munkres in the pathfinding crate) is enough. Timing constraints between agents fit temporal-control, shared resource budgets resource-timeline, and travel costs can come from heuristic-search or sampling-planning.

Algorithms 5

  • Combinatorial auction Winner determination

    Agents bid on whole bundles, and the auctioneer picks at most one bundle per agent with no task in two, maximizing the total by exact winner determination.

    combinatorialwinner_determination

  • Each agent builds a bundle greedily from marginal gains and merges its neighbours' winner tables by the published conflict rules, over delayed, lossy and changing links; bundle replanning frees blocked slots.

    cbba::Agent

  • CBBA for tasks that need or exclude each other, with pessimistic and optimistic bidding and timing limits between coupled starts on timed routes.

    ccbba::AgentConstraints

  • Sequential greedy assignment Greedy task allocation

    With every valuation known, repeatedly gives the most valuable remaining task to the agent that values it most; a reference for the decentralized algorithms and a centralized fallback.

    sequential_greedy

  • An auctioneer offers tasks one at a time in a fixed order; each agent bids its marginal gain given what it already won, and the highest bid wins.

    sequential