Hi,
I have been trying to run the SARSOP solver on an example problem. When I go back to the Tiger example, there are two issues I run into. The first is that I can't seem to run the Tiger.ipynb notebook. I suspect this may be a julia version issue. I am using v0.6, and it seems the notebook was generated with 0.5.1. The error I get is below.
The second issue I get is that the SARSOP solver does not seem to require the same implementation as what I see in the Tiger example. When I try to run SARSOP, it throws an error because obs_index is not implemented. It looks to me like SARSOP was updated since the Tiger example was written. This function will not be very difficult to implement, but I want to make sure I am using this correctly.
Generating a pomdpx file: model.pomdpx
could not spawn `/Users/jacquesdechalendar/.julia/v0.6/SARSOP/deps/appl-0.96/src/pomdpsol model.pomdpx --output out.policy`: no such file or directory (ENOENT)
Stacktrace:
[1] _jl_spawn(::String, ::Array{String,1}, ::Ptr{Void}, ::Base.Process, ::RawFD, ::RawFD, ::RawFD) at ./process.jl:360
[2] #373 at ./process.jl:512 [inlined]
[3] setup_stdio(::Base.##373#374{Cmd}, ::Tuple{RawFD,RawFD,RawFD}) at ./process.jl:499
[4] #spawn#372(::Nullable{Base.ProcessChain}, ::Function, ::Cmd, ::Tuple{RawFD,RawFD,RawFD}) at ./process.jl:511
[5] run(::Cmd) at ./process.jl:650
[6] #solve#5(::Bool, ::String, ::Function, ::SARSOP.SARSOPSolver, ::TigerPOMDP, ::SARSOP.POMDPPolicy) at /Users/jacquesdechalendar/.julia/v0.6/SARSOP/src/solver.jl:99
[7] solve(::SARSOP.SARSOPSolver, ::TigerPOMDP) at /Users/jacquesdechalendar/.julia/v0.6/SARSOP/src/solver.jl:94
[8] include_string(::String, ::String) at ./loading.jl:515
The second issue I get is that the SARSOP solver does not seem to require the same implementation as what I see in the Tiger example. When I try to run SARSOP, it throws an error because obs_index is not implemented. It looks to me like SARSOP was updated since the Tiger example was written. This function will not be very difficult to implement, but I want to make sure I am using this correctly.
As a quick followup, I noticed that the SARSOP build was failing. Is this causing the error I am seeing?If I understand the error correctly, it is happening on line 99 of solver.jl: run(`$EXEC_POMDP_SOL $(pomdp_file.filename) --output $(policy.filename)`)EXEC_POMDP_SOL seems to point to "/Users/jacquesdechalendar/.julia/v0.6/SARSOP/deps/appl-0.96/src/pomdpsol" on my computer, but that file does not exist..