Closed meeheal closed 3 years ago
It looks like package sarsop produces the error. The error message does not look very helpful...
Do you have the latest version of pomdp and sarsop?
I get the following:
> library(pomdp)
> data(Tiger)
> solve_POMDP(Tiger)
Solved POMDP model: Tiger Problem
solution method: grid
horizon: Inf
converged: TRUE
total expected reward (for start probabilities): 1.933439
> solve_SARSOP(Tiger)
Solved POMDP model: Tiger Problem
solution method: sarsop
horizon: Inf
converged: TRUE
total expected reward (for start probabilities): 1.933005
My version of 'pomdp' is 0.99.3, and my version of 'sarsop' is 0.6.9.
I'm using RStudio. I did an "update" of all packages that RStudio said would require an update.
Same errors are occurring. I even tried this to directly use 'sarsop'
write_POMDP(Tiger, "tigerpomdp") pomdpsol(paste(getwd(), "tigerpomdp", sep = "/")) Error in processx::run(path, strsplit(args, " ")[[1]], spinner = spinner, : System command 'pomdpsol.exe' failed, exit status: -1073741515, stderr empty Type .Last.error.trace to see where the error occurred
Do you recommend I try contacting the 'sarsop' authors, Carl Boettiger?
Hi Michael,
I did contact Carl and they could not replicate the issue either. I was able to resolve the issue. There was a problem with a dll file; this would be only applicable for windows users after some updates were applied. The problem was that C++ redistributable was not ready to implement the call from the sarsop pomdpsol function.
Again, thanks for your help. Have a great day.
Hi Michael,
I've been using this package for a while now, and recently became interested in trying solve_SARSOP instead of solve_POMDP, but the commands data("Tiger")
I tried that and get this: Stack trace:
throw(new_process_error(res, call = sys.call(), echo = echo, ...
x System command 'pomdpsol.exe' failed, exit status: -1073741515, stderr empty
Is this something you've come across in your development? Any help would be appreciated.
Regards.