On the Computational Complexity of Multi- Agent Pathfinding on - - PowerPoint PPT Presentation

on the computational complexity of multi agent
SMART_READER_LITE
LIVE PREVIEW

On the Computational Complexity of Multi- Agent Pathfinding on - - PowerPoint PPT Presentation

On the Computational Complexity of Multi- Agent Pathfinding on Directed Graphs Albert-Ludwigs-Universitt Freiburg Bernhard Nebel University of Freiburg, Germany ICAPS 2020 Multi-Agent Path Finding Given : A set of agents A , an undirected,


slide-1
SLIDE 1

On the Computational Complexity of Multi- Agent Pathfinding on Directed Graphs

Albert-Ludwigs-Universität Freiburg

Bernhard Nebel

University of Freiburg, Germany ICAPS 2020

slide-2
SLIDE 2

Multi-Agent Path Finding

Given: A set of agents A, an undirected, simple graph G = (V,E), an initial state modelled by an injective function α0 : A → V and a goal state modelled by another injective function α∗ : A → V. Question: Can α0 be transformed into α∗ by movements

  • f single agents without collisions?

v1 v2 v3 v4 Can we find a plan to move the square agent S to v3 and the circle agent C to v2? Yes, we can!

ICAPS 2020 Bernhard Nebel – diMAPF 2 / 9

slide-3
SLIDE 3

Computational properties of MAPF

Deciding MAPF plan existence can be solved in O(n3) time and the plan length can be bounded by O(n3) movement actions (Kornhauser, Miller & Spirakis 84). Finding a shortest plan is NP-hard (Goldreich 84, Ratner & Warmuth 86). A number of variations of the problem (e.g. parallel movements) have been studied and a number of algorithms have been devised since then. Open problem since 1984: What is the computational complexity of MAPF on directed graphs (diMAPF)?

ICAPS 2020 Bernhard Nebel – diMAPF 3 / 9

slide-4
SLIDE 4

Special case of diMAPF

diMAPF solvability is a polynomial problem on strongly bi-connected directed graphs, provided there are at least 2 unoccupied nodes (Botea, Bonusi & Surynek 18, Botea, & Surynek 15). The authors plan to extend their analysis to other classes

  • f digraphs.

ICAPS 2020 Bernhard Nebel – diMAPF 4 / 9

slide-5
SLIDE 5

Complications with DAGs

In undirected graphs and strongly bi-connected graphs,

  • ne can sort of restore a partial state after some agents

have been moved to some other places. There are no dead ends for solvable instances. In DAGs you can easily fail! v1 v2 v3 v4 Order matters! You need to look into the future.

ICAPS 2020 Bernhard Nebel – diMAPF 5 / 9

slide-6
SLIDE 6

A lower bound for diMAPF

Theorem

diMAPF solvability is NP-hard.

Proof sketch.

Reduction from 3SAT. Example reduction for (x1 ∨x2 ∨¬x3)∧(¬x1 ∨ x2 ∨x3):

x1 v1:f1 x2 v2:f2 x3 v3:f3 f1 v4 f2 v5:f4 f3 v6:f5 c1 v7:f6 f4 v8 f5 v9 f6 v10 c2 v11 vF

1

vT

1

x′

1

vx1:x1 vF

2

vT

2

x′

2 vx2:x2

vF

3

vT

3

x′

3 vx3:x3

vx′

1:x′

1

vx′

2:x′

2

vx′

3:x′

3

vc1:c1 vc2:c2 sequencer clause evaluator collector

ICAPS 2020 Bernhard Nebel – diMAPF 6 / 9

slide-7
SLIDE 7

An upper bound for diMAPF

On DAGs, only polynomially many moves in each plan are possible, i.e., diMAPF on DAGs is NP-complete. On digraphs with cycles, however, one could generate exponentially many different configurations, so membership in NP is not obvious.

Theorem

diMAPF solvability on general directed graphs is in PSPACE.

Proof sketch.

diMAPF solvability can be understood as a special case of plan existence for propositional STRIPS.

ICAPS 2020 Bernhard Nebel – diMAPF 7 / 9

slide-8
SLIDE 8

A conditional upper bound for diMAPF

Cycles in digraphs are the culprits that stop us from proving membership in NP.

Hypothesis (Short solution hypothesis)

Solution length for diMAPF on strongly connected digraphs is polynomial.

Theorem

diMAPF solvability is NP-complete, provided the short solution hypothesis is true.

Proof sketch.

Each agent can only enter a strongly connected component

  • nce, and leave it once. So if there are short solutions for all

strongly connected components, there will be one for the

  • verall graph.

ICAPS 2020 Bernhard Nebel – diMAPF 8 / 9

slide-9
SLIDE 9

Conclusion

Identified problem that is open since more than 35 years (but did anybody notice that it was open?) Demonstrated that a Kornhauser-style algorithm for directed graphs is impossible. Results generalize to variations with parallel moves. Open problem: Is the short solution hypothesis true?

ICAPS 2020 Bernhard Nebel – diMAPF 9 / 9