-
So I have tried following the getting started guide, to solve problems. I have some solvable problems that works fine whenever I use the pyperplan engine but when I switch to fast-downward the problems becomes unsolvable for some reason. I have tried running the fast-downward planner outside of the unified-planning library on the problems and it works fine then. I'm pretty sure the engine is installed correctly, at least the credits show up when running the planner. def check_if_solvable(problem: Problem):
with OneshotPlanner(name='fast-downward') as planner:
result = planner.solve(problem)
if result.status == up.engines.PlanGenerationResultStatus.SOLVED_SATISFICING:
# print("Pyperplan returned: %s" % result1.plan)
return True
else:
print("No plan found.")
return False |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
Hi @Drejer1 , can you provide some (or all) the problem examples? It really helps debugging 😃 In general, add all the code you can. Thank you very much! |
Beta Was this translation helpful? Give feedback.
-
Could you give the full print of |
Beta Was this translation helpful? Give feedback.
Thanks for the heads up @Framba-Luca, I didn't see this before. This issue might be related to a bug in building the wheels for windows and was fixed in version 0.3.1 of up-fast-downward. @Drejer1, can you please install that version and try it?
pip install up-fast-downward==0.3.1