mdpsolver 0.9.3__tar.gz → 0.9.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mdpsolver-0.9.3/src/mdpsolver.egg-info → mdpsolver-0.9.5}/PKG-INFO +11 -9
- {mdpsolver-0.9.3 → mdpsolver-0.9.5}/README.md +10 -8
- {mdpsolver-0.9.3 → mdpsolver-0.9.5}/pyproject.toml +1 -1
- {mdpsolver-0.9.3 → mdpsolver-0.9.5}/src/mdpsolver/model.py +4 -2
- mdpsolver-0.9.5/src/mdpsolver/problems/__pycache__/cbmaux.cpython-310.pyc +0 -0
- mdpsolver-0.9.5/src/mdpsolver/problems/__pycache__/tbmaux.cpython-310.pyc +0 -0
- mdpsolver-0.9.5/src/mdpsolver/solvermodule.cp310-win_amd64.pyd +0 -0
- mdpsolver-0.9.5/src/mdpsolver/solvermodule.cp311-win_amd64.pyd +0 -0
- mdpsolver-0.9.5/src/mdpsolver/solvermodule.cp312-win_amd64.pyd +0 -0
- mdpsolver-0.9.5/src/mdpsolver/solvermodule.cpython-310-x86_64-linux-gnu.so +0 -0
- {mdpsolver-0.9.3 → mdpsolver-0.9.5/src/mdpsolver.egg-info}/PKG-INFO +11 -9
- {mdpsolver-0.9.3 → mdpsolver-0.9.5}/src/mdpsolver.egg-info/SOURCES.txt +3 -1
- mdpsolver-0.9.3/src/mdpsolver/solvermodule.cp310-win_amd64.pyd +0 -0
- mdpsolver-0.9.3/src/mdpsolver/solvermodule.cp311-win_amd64.pyd +0 -0
- mdpsolver-0.9.3/src/mdpsolver/solvermodule.cp312-win_amd64.pyd +0 -0
- mdpsolver-0.9.3/src/mdpsolver/solvermodule.cpython-310-x86_64-linux-gnu.so +0 -0
- {mdpsolver-0.9.3 → mdpsolver-0.9.5}/LICENSE +0 -0
- {mdpsolver-0.9.3 → mdpsolver-0.9.5}/MANIFEST.in +0 -0
- {mdpsolver-0.9.3 → mdpsolver-0.9.5}/setup.cfg +0 -0
- {mdpsolver-0.9.3 → mdpsolver-0.9.5}/src/mdpsolver/__init__.py +0 -0
- {mdpsolver-0.9.3 → mdpsolver-0.9.5}/src/mdpsolver/problems/cbmaux.py +0 -0
- {mdpsolver-0.9.3 → mdpsolver-0.9.5}/src/mdpsolver/problems/tbmaux.py +0 -0
- {mdpsolver-0.9.3 → mdpsolver-0.9.5}/src/mdpsolver.egg-info/dependency_links.txt +0 -0
- {mdpsolver-0.9.3 → mdpsolver-0.9.5}/src/mdpsolver.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mdpsolver
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.5
|
|
4
4
|
Summary: A fast solver for Markov Decision Processes
|
|
5
5
|
Author-email: Anders Reenberg Andersen <andersra@live.dk>, Jesper Fink Andersen <jfan@dtu.dk>
|
|
6
6
|
Project-URL: Homepage, https://github.com/areenberg/MDPSolver
|
|
@@ -13,17 +13,19 @@ Requires-Python: >=3.10
|
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
15
|
|
|
16
|
-
#
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
# MDPSolver
|
|
17
|
+
|
|
18
|
+
<img src="https://github.com/areenberg/MDPSolver/blob/anders_development/Images/MDPSolver_logo_3.png" alt="Logo" width="180">
|
|
19
|
+
|
|
20
|
+
MDPSolver is a Python package for Markov Decision Processes (MDPs) with discounted rewards and infinite-horizon.
|
|
19
21
|
|
|
20
22
|
## Features
|
|
21
23
|
|
|
22
|
-
* Fast solver
|
|
23
|
-
* Available on PyPI.
|
|
24
|
+
* Fast solver: Our C++-based solver is substantially faster than other MDP packages available for Python. See details in the documentation.
|
|
24
25
|
* Three optimization algorithms: *Value iteration*, *Policy iteration*, and *Modified policy iteration*.
|
|
25
|
-
* Three value-update methods: *Standard*, *Gauss–Seidel*, *Successive over-relaxation*.
|
|
26
|
-
*
|
|
26
|
+
* Three value-update methods: *Standard*, *Gauss–Seidel*, *Successive over-relaxation*.
|
|
27
|
+
* Supports sparse matrices.
|
|
28
|
+
* Employs parallel computing.
|
|
27
29
|
|
|
28
30
|
# Quick start guide
|
|
29
31
|
|
|
@@ -140,7 +142,7 @@ mdl.mdp(discount=0.8,
|
|
|
140
142
|
|
|
141
143
|
# Documentation
|
|
142
144
|
|
|
143
|
-
|
|
145
|
+
The documentation can be found in the wiki for MDPSolver (https://github.com/areenberg/MDPSolver/wiki).
|
|
144
146
|
|
|
145
147
|
# How to cite
|
|
146
148
|
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
# MDPSolver
|
|
2
|
+
|
|
3
|
+
<img src="https://github.com/areenberg/MDPSolver/blob/anders_development/Images/MDPSolver_logo_3.png" alt="Logo" width="180">
|
|
4
|
+
|
|
5
|
+
MDPSolver is a Python package for Markov Decision Processes (MDPs) with discounted rewards and infinite-horizon.
|
|
4
6
|
|
|
5
7
|
## Features
|
|
6
8
|
|
|
7
|
-
* Fast solver
|
|
8
|
-
* Available on PyPI.
|
|
9
|
+
* Fast solver: Our C++-based solver is substantially faster than other MDP packages available for Python. See details in the documentation.
|
|
9
10
|
* Three optimization algorithms: *Value iteration*, *Policy iteration*, and *Modified policy iteration*.
|
|
10
|
-
* Three value-update methods: *Standard*, *Gauss–Seidel*, *Successive over-relaxation*.
|
|
11
|
-
*
|
|
11
|
+
* Three value-update methods: *Standard*, *Gauss–Seidel*, *Successive over-relaxation*.
|
|
12
|
+
* Supports sparse matrices.
|
|
13
|
+
* Employs parallel computing.
|
|
12
14
|
|
|
13
15
|
# Quick start guide
|
|
14
16
|
|
|
@@ -125,7 +127,7 @@ mdl.mdp(discount=0.8,
|
|
|
125
127
|
|
|
126
128
|
# Documentation
|
|
127
129
|
|
|
128
|
-
|
|
130
|
+
The documentation can be found in the wiki for MDPSolver (https://github.com/areenberg/MDPSolver/wiki).
|
|
129
131
|
|
|
130
132
|
# How to cite
|
|
131
133
|
|
|
@@ -23,7 +23,8 @@ class model:
|
|
|
23
23
|
initValueVector=list(),
|
|
24
24
|
verbose=False,
|
|
25
25
|
postProcessing=True,
|
|
26
|
-
makeFinalCheck=True
|
|
26
|
+
makeFinalCheck=True,
|
|
27
|
+
parallel=True):
|
|
27
28
|
#solves the problem employing the specified algorithm
|
|
28
29
|
self.mdl.solve(algorithm=algorithm,
|
|
29
30
|
tolerance=tolerance,
|
|
@@ -34,7 +35,8 @@ class model:
|
|
|
34
35
|
initValueVector=initValueVector,
|
|
35
36
|
verbose=verbose,
|
|
36
37
|
postProcessing=postProcessing,
|
|
37
|
-
makeFinalCheck=makeFinalCheck
|
|
38
|
+
makeFinalCheck=makeFinalCheck,
|
|
39
|
+
parallel=parallel)
|
|
38
40
|
|
|
39
41
|
def getRuntime(self):
|
|
40
42
|
#returns the runtime in milliseconds
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mdpsolver
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.5
|
|
4
4
|
Summary: A fast solver for Markov Decision Processes
|
|
5
5
|
Author-email: Anders Reenberg Andersen <andersra@live.dk>, Jesper Fink Andersen <jfan@dtu.dk>
|
|
6
6
|
Project-URL: Homepage, https://github.com/areenberg/MDPSolver
|
|
@@ -13,17 +13,19 @@ Requires-Python: >=3.10
|
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
15
|
|
|
16
|
-
#
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
# MDPSolver
|
|
17
|
+
|
|
18
|
+
<img src="https://github.com/areenberg/MDPSolver/blob/anders_development/Images/MDPSolver_logo_3.png" alt="Logo" width="180">
|
|
19
|
+
|
|
20
|
+
MDPSolver is a Python package for Markov Decision Processes (MDPs) with discounted rewards and infinite-horizon.
|
|
19
21
|
|
|
20
22
|
## Features
|
|
21
23
|
|
|
22
|
-
* Fast solver
|
|
23
|
-
* Available on PyPI.
|
|
24
|
+
* Fast solver: Our C++-based solver is substantially faster than other MDP packages available for Python. See details in the documentation.
|
|
24
25
|
* Three optimization algorithms: *Value iteration*, *Policy iteration*, and *Modified policy iteration*.
|
|
25
|
-
* Three value-update methods: *Standard*, *Gauss–Seidel*, *Successive over-relaxation*.
|
|
26
|
-
*
|
|
26
|
+
* Three value-update methods: *Standard*, *Gauss–Seidel*, *Successive over-relaxation*.
|
|
27
|
+
* Supports sparse matrices.
|
|
28
|
+
* Employs parallel computing.
|
|
27
29
|
|
|
28
30
|
# Quick start guide
|
|
29
31
|
|
|
@@ -140,7 +142,7 @@ mdl.mdp(discount=0.8,
|
|
|
140
142
|
|
|
141
143
|
# Documentation
|
|
142
144
|
|
|
143
|
-
|
|
145
|
+
The documentation can be found in the wiki for MDPSolver (https://github.com/areenberg/MDPSolver/wiki).
|
|
144
146
|
|
|
145
147
|
# How to cite
|
|
146
148
|
|
|
@@ -13,4 +13,6 @@ src/mdpsolver.egg-info/SOURCES.txt
|
|
|
13
13
|
src/mdpsolver.egg-info/dependency_links.txt
|
|
14
14
|
src/mdpsolver.egg-info/top_level.txt
|
|
15
15
|
src/mdpsolver/problems/cbmaux.py
|
|
16
|
-
src/mdpsolver/problems/tbmaux.py
|
|
16
|
+
src/mdpsolver/problems/tbmaux.py
|
|
17
|
+
src/mdpsolver/problems/__pycache__/cbmaux.cpython-310.pyc
|
|
18
|
+
src/mdpsolver/problems/__pycache__/tbmaux.cpython-310.pyc
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|