The solver is run using python3 solveAll.py
found in the /AutomatedSolver/ directory.
Before running this file several requirements are needed:
- LAPKT - the Lightweight Autonomous Planning Toolkit, found here: http://lapkt.org/index.php?title=Main_Page
- download this toolkit
- follow the instructions to install the toolkit and build the planners, specifically the at_bfs planner
- (optional) DUAL_BFWS - this is a second planner that was used for some of the solutions, it can be downloaded here: https://ipc2018-classical.bitbucket.io/
- DIRECTORIES - the program expects several directories to also exist, modify these variables in solveAll.py to point at the appropriate Directories
- INPUT_DIRECTORY - this is where the input file are, modify the file path within solveAll.py to the location of this Directory
- NORMALIZED_INPUT_DIRECTORY - this an intermediary directory used to hold modified versions of the input problems
- PDDL_INPUT_DIRECTORY - this an intermediary directory used to hold modified input files that the PDDL planner can solve
- PDDL_OUTPUT_DIRECTORY - this an intermediary directory used to hold the PDDL planner solutions
- PDDL_NORMALIZED_OUTPUT_DIRECTORY - this an intermediary directory used to hold the PDDL planner solutions that have been modified to recover the lowercase characters within the variables
- OUTPUT_DIRECTORY - this is the output directory which holds the final output files
- PLANNER - the PDDL planner used to solve the problem
- PDDL_PLANNER - point this to the at_bfs or bfws files installed in step 1 and 2
- FILES - the program expects several files and programs to also exist, make sure these variables in solveAll.py to point at the appropriate files / programs
- inputToInvariant.py - found in /Parser/
- outputParser.py - found in /Parser/
- outputToNorm.py - found in /Parser/
- problemParser.py - found in /Parser/
Once you have done this the OUPUT directory will hold the solutions to the problems
https://bitbucket.org/ipc2018-classical/team20/src/master/