task-allocation 0.1.2

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

All notable changes to this project are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this
project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.1.2]https://github.com/sunsided/task-allocation/compare/v0.1.1...v0.1.2 - 2026-11-23

### Added

- Add tasks to, retire tasks from, and remove agents from a running team
- Add a per-phase bundle budget, and reuse the simulator's buffers

### Changed

- Check bids and capacity after team changes, and count plans safely
- Reject budgets that a replan outruns, and release without allocating

## [0.1.1]https://github.com/sunsided/task-allocation/compare/v0.1.0...v0.1.1 - 2026-11-22

### Added

- Add a colony benchmark with allocation counts per round
- Add a colony-sim example, and keep the audience note short

### Changed

- Grow bundles in place without replanning, and test the phases directly
- Score insertions and merge messages without allocating
- Count round allocations in their own test, off the benchmark's clock

## [0.1.0] - 2026-11-23

### Added

- `Valuation` with `best_insertion`, `PathScore` and the `BestInsertion` adapter for
  path-dependent scores, and `check_diminishing` to test that marginal gains diminish.
- `Bundle`: greedy bundle construction from marginal gains, with release of a lost task and
  everything added after it.
- `Assignment`, and centralized references in `centralized`: the sequential greedy assignment
  and the exhaustive optimum for small instances.
- `cbba`: the consensus-based bundle algorithm, with logical clocks instead of synchronized
  timestamps, robust to delayed, lost, duplicated and reordered messages, and opt-in bundle
  replanning (`Replan`).
- `ccbba`: coupled-constraint CBBA for tasks that depend on or exclude each other, with
  optimistic and pessimistic bidding, and timing limits between their starts for agents on
  timed routes (`TimedAgent`).
- `sim`: a deterministic simulated network with seeded delays, losses, topologies and
  partitions, for any protocol implementing `Participant`.
- `auction`: sequential single-item auctions, and combinatorial auctions with exact winner
  determination.
- `route`: timed routes, a ready-made path score from travel times, service windows and
  finish-time rewards (`deadline`, `linear_decay`, `halving`).
- Examples pairing the allocation with temporal-control, resource-timeline, heuristic-search
  and sampling-planning.

[Unreleased]: https://github.com/sunsided/task-allocation/compare/v0.1.0...HEAD
[0.1.0]: https://github.com/sunsided/task-allocation/releases/tag/v0.1.0