Skip to content

Conversation

@SchwartzCode
Copy link
Contributor

@SchwartzCode SchwartzCode commented Dec 29, 2025

Reference issue

What does this implement/fix?

This pull request implements Conflict Based Search as outlined in this paper: https://cdn.aaai.org/ojs/8140/8140-13-11667-1-2-20201228.pdf

This is a MAPF algorithm (multi-agent path finding) that breaks the search into two levels. The upper level searches for a series of constraints on the agents that leads to a valid solution, and the lower level search finds paths for single agents given the constraints provided by the upper level search. The pseudo-code in the paper is a good reference for understanding the algorithm itself:

image

Additional information

PR into PythonRoboticsGifs here: AtsushiSakai/PythonRoboticsGifs#14

CheckList

  • Did you add an unittest for your new example or defect fix?
  • Did you add documents for your new example?
  • All CIs are green? (You can check it after submitting)

@SchwartzCode SchwartzCode force-pushed the jbs/conflict_based_search branch from fffc61c to 3ffd2ff Compare December 29, 2025 17:19
@SchwartzCode SchwartzCode changed the title DRAFT: Conflict Based Search minor: Conflict Based Search Dec 29, 2025

This algorithm can also solve some cases that a priority based planner cannot, such as the below example where one robot must move out of the way of another robot's path. Without cooperation across agent paths, this case cannot be solved.

TODO: image waiting on this PR: https://github.com/AtsushiSakai/PythonRoboticsGifs/pull/14
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will update when this PR merges: AtsushiSakai/PythonRoboticsGifs#14

@SchwartzCode SchwartzCode changed the title minor: Conflict Based Search feat: Conflict Based Search Dec 29, 2025
@SchwartzCode SchwartzCode marked this pull request as ready for review December 31, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant