I am getting a runtime recursion error when solving (fmap) a simple multi-agent problem which uses fluents of IntType.
I will include below a simplified version of the program which cases the same error, a print out of the program to be solved, and the python runtime error message.
Any help would be much appreciated - and apologies in advance if I am doing something obviously wrong (I am fairly new to the unified-planning library)
File "/home/andy/Documents/code/python/play/task-and-motion-planning/env/lib/python3.12/site-packages/unified_planning/model/multi_agent/ma_problem.py", line 342, in kind
self._update_problem_kind_fluent(fluent)
File "/home/andy/Documents/code/python/play/task-and-motion-planning/env/lib/python3.12/site-packages/unified_planning/model/multi_agent/ma_problem.py", line 396, in _update_problem_kind_fluent
self.kind.set_fluents_type("INT_FLUENTS")
^^^^^^^^^
File "/home/andy/Documents/code/python/play/task-and-motion-planning/env/lib/python3.12/site-packages/unified_planning/model/multi_agent/ma_problem.py", line 342, in kind
self._update_problem_kind_fluent(fluent)
File "/home/andy/Documents/code/python/play/task-and-motion-planning/env/lib/python3.12/site-packages/unified_planning/model/multi_agent/ma_problem.py", line 396, in _update_problem_kind_fluent
self.kind.set_fluents_type("INT_FLUENTS")
^^^^^^^^^
File "/home/andy/Documents/code/python/play/task-and-motion-planning/env/lib/python3.12/site-packages/unified_planning/model/multi_agent/ma_problem.py", line 342, in kind
self._update_problem_kind_fluent(fluent)
File "/home/andy/Documents/code/python/play/task-and-motion-planning/env/lib/python3.12/site-packages/unified_planning/model/multi_agent/ma_problem.py", line 396, in _update_problem_kind_fluent
self.kind.set_fluents_type("INT_FLUENTS")
^^^^^^^^^
File "/home/andy/Documents/code/python/play/task-and-motion-planning/env/lib/python3.12/site-packages/unified_planning/model/multi_agent/ma_problem.py", line 342, in kind
self._update_problem_kind_fluent(fluent)
File "/home/andy/Documents/code/python/play/task-and-motion-planning/env/lib/python3.12/site-packages/unified_planning/model/multi_agent/ma_problem.py", line 384, in _update_problem_kind_fluent
self._update_problem_kind_type(fluent.type)
^^^^^^^^^^^
RecursionError: maximum recursion depth exceeded
Hi,
I am getting a runtime recursion error when solving (fmap) a simple multi-agent problem which uses fluents of IntType.
I will include below a simplified version of the program which cases the same error, a print out of the program to be solved, and the python runtime error message.
Any help would be much appreciated - and apologies in advance if I am doing something obviously wrong (I am fairly new to the unified-planning library)
Thanks
Example program:
Printed problem:
Error message: