Giter VIP home page Giter VIP logo

pomdp-solve's Introduction

pomdp-solve

Software for performing value iteration on partially observable Markov decision processes (POMDPs).

Table of Contents

About

This is a POMDP solver that implements a number of different algorithms. Most of these are variations of exact solutions, though there is also support for aproximate finite grid solving.

More information and documentation can be found on the POMDP Org Site.

Getting Started

If you just want to compile and verify you can run the code, first build the executable with:

./configure
make

To verify it builds and you are able to run it:

./src/pomdp-solve -pomdp examples/pomdp-files/tiger.95.POMDP

After a few hundred iterations, it should converge and produce a final answer consisting of nine alpha vectors. e.g.,

...
Epoch: 475...9 vectors in 0.00 secs. (1.33 total) (err=2.89e-11)
Epoch: 476...9 vectors in 0.00 secs. (1.33 total) (err=2.75e-11)
Epoch: 477...9 vectors in 0.00 secs. (1.33 total) (err=2.61e-11)
++++++++++++++++++++++++++++++++++++++++
Solution found.  See file:
	examples/pomdp-files/tiger.95-950858.alpha
	examples/pomdp-files/tiger.95-950858.pg
++++++++++++++++++++++++++++++++++++++++
User time = 0 hrs., 0 mins, 1.31 secs. (= 1.31 secs)
System time = 0 hrs., 0 mins, 0.02 secs. (= 0.02 secs)
Total execution time = 0 hrs., 0 mins, 1.33 secs. (= 1.33 secs)

Contents

  • ChangeLog : Changes to the code since version 4.0

  • ./src : The main source directory for the pomdp-solve program.

  • ./doc : This directory has some useful documentation such as file formats, command line arguments, etc. Start with the index.html file to see the various documents.

  • ./src/mdp : This directory contains the code for a library of low-level POMDP manipulation routines, including parsing files and the internal representation used by the program. Only look at the stuff in this directory if you want to muck around with the file format and/or the internal representation.

  • ./src/lp_solve : This directory contains the code for a public domain linear programming solver. It is included it in this distribution because some minor changes were needed to integrate it with the pomdp-solve code. If the commerical program CPLEX does not exist, this is what is used to solve the linear programs required.

  • ./testing : This directory has some test cases used by the auto-test executable. It contains some POMDP files as well as some finite and infinite horizon value functions and policy graphs.

Related Sites

  • The POMDP Home Page has much more information about POMDPs and this code.
  • An R interface to this program is available in the package pomdp.
  • There is a Python/Cython framework at pomdp_py.

License

This software is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0). See the LICENSE file for details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.