Find the pomdp-solve executable
to solve Partially Observable Decision Processes (POMDPs) (Kaelbling et al, 1998)
installed by the pomdpSolve package.
Details
This package only provides a direct interface to the executable.
A more convenient and powerful interface is provided by the function
pomdp::solve_POMDP() in package pomdp.
The executable of pomdp-solve in this direct interface needs to be called with
system2() and runs in a separate process. This way, a failure in the solver will not compromise the
R session. pomdp-solve creates files with the value function and
the policy graph (see read_write).
References
Kaelbling, L.P., Littman, M.L., Cassandra, A.R. (1998). Planning and acting in partially observable stochastic domains. Artificial Intelligence. 101 (1–2): 99-134. doi:10.1016/S0004-3702(98)00023-X
Anthony R. Cassandra, pomdp-solve documentation, https://www.pomdp.org/code/
Anthony R. Cassandra, pomdp-solve source code GitHub repository, https://github.com/cassandra/pomdp-solve
Examples
# find the location of the pomdp-solve executable
find_pomdp_solve()
#> [1] "/home/runner/work/_temp/Library/pomdpSolve/bin//pomdp-solve"
# get pomdp-solve options
system2(find_pomdp_solve(), args = "-h")
# an example of how to solve a simple POMDP can be found in the man page
# for read_write.