|
POMDP Solver
|
This is a script developed to automate the calculation of a policy satisfying a property for a given pomdp model. More...
Classes | |
| class | PMC |
| Class to explire and export a pMC model. More... | |
| class | POMDP |
| Class to build and explore a POMDP model. More... | |
Functions | |
| def | solve_pomdp (model, properties, memory_size=2, drn_export_file="temp.drn", export_instatiated_model=False) |
| Function to automate the calculation of a policy for a pomdp model using Storm and Gurobi. More... | |
This is a script developed to automate the calculation of a policy satisfying a property for a given pomdp model.
This script contains the solve_pomdp function for an automated way to calculate a policy. The script also contains the POMDP and PMC classes that provide functionalities to explore the POMDP and pMC models respectively.
This script requires the following tools: Storm, Stormpy, Carl, Pycarl, Gurobi
This script uses the solve_nominal_pomdp script provided by Nils Jansen (n.jansen@science.ru.nl) and Marnix Suilen (marnix.suilen@ru.nl) of the Radboud Univeristy.
Created by Anass Fakir (a.fakir@student.ru.nl).
| def pomdp_solver.solve_pomdp | ( | model, | |
| properties, | |||
memory_size = 2, |
|||
drn_export_file = "temp.drn", |
|||
export_instatiated_model = False |
|||
| ) |
Function to automate the calculation of a policy for a pomdp model using Storm and Gurobi.
| model | Path to a pomdp model |
| properties | String of a property that the calculated policy must satisfy. |
| memory_size | Integer for the memory size that is unfolded in the pomdp model. |
| drn_export_file | File to which the pMC model will be written in the DRN format. |
| export_instantiated_model | Boolean to indicate whether to export the instantiated pMC model. |