PythonRobotics icon indicating copy to clipboard operation
PythonRobotics copied to clipboard

Proposal: Sequential Single-Item (SSI) auction for multi-robot task allocation

Open vishwagw opened this issue 1 month ago • 2 comments

Hi! I'd like to propose a new example in Mission Planning: multi-robot task allocation with a Sequential Single-Item auction.

Problem: a team of robots (e.g. drones) must visit a set of targets. Which robot should visit which target, and in what order? PythonRobotics has single-robot planners and multi-robot path planning (TimeBasedPathPlanning), but nothing yet for deciding who does which task.

Algorithm: each round, every robot bids on every unassigned target, and the single lowest bid wins. A bid is the cost of inserting the target into the robot's current route at its best position. The bidding rule sets the team objective:

  • MiniSum: bid the marginal cost → minimizes total distance
  • MiniMax: bid the new route cost → minimizes the longest route (completion time)

It's simple, easy to explain, and widely used in multi-robot systems. It could also run distributed, with each robot computing its own bids.

References

  • Lagoudakis et al., "Auction-Based Multi-Robot Routing", RSS 2005. https://www.roboticsproceedings.org/rss01/p45.pdf
  • Koenig et al., "The Power of Sequential Single-Item Auctions for Agent Coordination", AAAI 2006

Planned implementation

  • MissionPlanning/SequentialSingleItemAuction/sequential_single_item_auction.py, using only existing requirements
  • Travel costs are A* path lengths, reusing PathPlanning/AStar, so allocations respect obstacles
  • A matplotlib animation showing the routes growing round by round, for MiniSum and then MiniMax on the same map
  • Unit tests, plus a docs page under Mission Planning with the math and a comparison to the Hungarian algorithm and combinatorial auctions

I have a working version ready. Would you be interested in a PR?

vishwagw avatar Oct 10 '26 12:10 vishwagw

Thanks @johonnaeleen26, good suggestion. Since the grid is static during allocation, I'll precompute the costs once before the auction loop. Two notes:

  • Bids after the first round start from the robot's last assigned target, so the table needs target-to-target costs as well as robot-start-to-target costs.
  • Rather than one A* call per pair, I'll run one Dijkstra flood fill per source (each robot start and each target), which gives distances to every cell in a single pass: N+M searches instead of (N+M)×M A* calls.

I'll keep the A* call for drawing the final paths of the assigned routes.

vishwagw avatar Oct 16 '26 02:10 vishwagw

For best-position insertion, make sure to compute the marginal delta cost using `cost(A, C) + cost

Runogrin avatar Oct 18 '26 16:10 Runogrin