mdpsolver 0.10.0__tar.gz → 0.10.1__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.10.0 → mdpsolver-0.10.1}/PKG-INFO +1 -1
- {mdpsolver-0.10.0 → mdpsolver-0.10.1}/pyproject.toml +1 -1
- {mdpsolver-0.10.0 → mdpsolver-0.10.1}/tests/test1.py +4 -4
- {mdpsolver-0.10.0 → mdpsolver-0.10.1}/tests/test1_pip.py +4 -4
- {mdpsolver-0.10.0 → mdpsolver-0.10.1}/LICENSE +0 -0
- {mdpsolver-0.10.0 → mdpsolver-0.10.1}/MANIFEST.in +0 -0
- {mdpsolver-0.10.0 → mdpsolver-0.10.1}/README.md +0 -0
- {mdpsolver-0.10.0 → mdpsolver-0.10.1}/src/mdpsolver/__init__.py +0 -0
- {mdpsolver-0.10.0 → mdpsolver-0.10.1}/src/mdpsolver/model.py +0 -0
- {mdpsolver-0.10.0 → mdpsolver-0.10.1}/tests/example_model.py +0 -0
- {mdpsolver-0.10.0 → mdpsolver-0.10.1}/tests/rewards_example2.csv +0 -0
- {mdpsolver-0.10.0 → mdpsolver-0.10.1}/tests/test2.py +0 -0
- {mdpsolver-0.10.0 → mdpsolver-0.10.1}/tests/test2_pip.py +0 -0
- {mdpsolver-0.10.0 → mdpsolver-0.10.1}/tests/transitions_example2.csv +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: mdpsolver
|
|
3
|
-
Version: 0.10.
|
|
3
|
+
Version: 0.10.1
|
|
4
4
|
Summary: A fast solver for Markov Decision Processes
|
|
5
5
|
Author-Email: Anders Reenberg Andersen <andersra@live.dk>, Jesper Fink Andersen <jesperfinkandersen@gmail.com>
|
|
6
6
|
Classifier: Development Status :: 4 - Beta
|
|
@@ -15,7 +15,7 @@ CMAKE_BUILD_TYPE = "Release"
|
|
|
15
15
|
|
|
16
16
|
[project]
|
|
17
17
|
name = "mdpsolver"
|
|
18
|
-
version = "0.10.
|
|
18
|
+
version = "0.10.1"
|
|
19
19
|
authors = [
|
|
20
20
|
{ name="Anders Reenberg Andersen", email="andersra@live.dk" },
|
|
21
21
|
{ name="Jesper Fink Andersen", email="jesperfinkandersen@gmail.com" },
|
|
@@ -120,7 +120,7 @@ if not np.array_equal(np.array(mdl1a.getPolicy()), np.array([1, 1, 0])):
|
|
|
120
120
|
sys.exit("Model 1a failed!")
|
|
121
121
|
if not np.array_equal(
|
|
122
122
|
np.round(np.array(mdl1a.getValueVector()), 3),
|
|
123
|
-
np.round(np.array([
|
|
123
|
+
np.round(np.array([367.6724223596708, 381.67249768303293, 470.67273547568027]), 3),
|
|
124
124
|
):
|
|
125
125
|
sys.exit("Model 1a failed!")
|
|
126
126
|
|
|
@@ -138,7 +138,7 @@ if not np.array_equal(np.array(mdl2a.getPolicy()), np.array([1, 1, 0])):
|
|
|
138
138
|
sys.exit("Model 2a failed!")
|
|
139
139
|
if not np.array_equal(
|
|
140
140
|
np.round(np.array(mdl2a.getValueVector()), 3),
|
|
141
|
-
np.round(np.array([
|
|
141
|
+
np.round(np.array([367.6724223596708, 381.67249768303293, 470.67273547568027]), 3),
|
|
142
142
|
):
|
|
143
143
|
sys.exit("Model 2a failed!")
|
|
144
144
|
|
|
@@ -168,7 +168,7 @@ if not np.array_equal(np.array(mdl1b.getPolicy()), np.array([1, 1, 0])):
|
|
|
168
168
|
sys.exit("Model 1b failed!")
|
|
169
169
|
if not np.array_equal(
|
|
170
170
|
np.round(np.array(mdl1b.getValueVector()), 3),
|
|
171
|
-
np.round(np.array([
|
|
171
|
+
np.round(np.array([367.6724223596708, 381.67249768303293, 470.67273547568027]), 3),
|
|
172
172
|
):
|
|
173
173
|
sys.exit("Model 1b failed!")
|
|
174
174
|
|
|
@@ -186,7 +186,7 @@ if not np.array_equal(np.array(mdl2b.getPolicy()), np.array([1, 1, 0])):
|
|
|
186
186
|
sys.exit("Model 2b failed!")
|
|
187
187
|
if not np.array_equal(
|
|
188
188
|
np.round(np.array(mdl2b.getValueVector()), 3),
|
|
189
|
-
np.round(np.array([
|
|
189
|
+
np.round(np.array([367.6724223596708, 381.67249768303293, 470.67273547568027]), 3),
|
|
190
190
|
):
|
|
191
191
|
sys.exit("Model 2b failed!")
|
|
192
192
|
|
|
@@ -116,7 +116,7 @@ if not np.array_equal(np.array(mdl1a.getPolicy()), np.array([1, 1, 0])):
|
|
|
116
116
|
sys.exit("Model 1a failed!")
|
|
117
117
|
if not np.array_equal(
|
|
118
118
|
np.round(np.array(mdl1a.getValueVector()), 3),
|
|
119
|
-
np.round(np.array([
|
|
119
|
+
np.round(np.array([367.6724223596708, 381.67249768303293, 470.67273547568027]), 3),
|
|
120
120
|
):
|
|
121
121
|
sys.exit("Model 1a failed!")
|
|
122
122
|
|
|
@@ -134,7 +134,7 @@ if not np.array_equal(np.array(mdl2a.getPolicy()), np.array([1, 1, 0])):
|
|
|
134
134
|
sys.exit("Model 2a failed!")
|
|
135
135
|
if not np.array_equal(
|
|
136
136
|
np.round(np.array(mdl2a.getValueVector()), 3),
|
|
137
|
-
np.round(np.array([
|
|
137
|
+
np.round(np.array([367.6724223596708, 381.67249768303293, 470.67273547568027]), 3),
|
|
138
138
|
):
|
|
139
139
|
sys.exit("Model 2a failed!")
|
|
140
140
|
|
|
@@ -164,7 +164,7 @@ if not np.array_equal(np.array(mdl1b.getPolicy()), np.array([1, 1, 0])):
|
|
|
164
164
|
sys.exit("Model 1b failed!")
|
|
165
165
|
if not np.array_equal(
|
|
166
166
|
np.round(np.array(mdl1b.getValueVector()), 3),
|
|
167
|
-
np.round(np.array([
|
|
167
|
+
np.round(np.array([367.6724223596708, 381.67249768303293, 470.67273547568027]), 3),
|
|
168
168
|
):
|
|
169
169
|
sys.exit("Model 1b failed!")
|
|
170
170
|
|
|
@@ -182,7 +182,7 @@ if not np.array_equal(np.array(mdl2b.getPolicy()), np.array([1, 1, 0])):
|
|
|
182
182
|
sys.exit("Model 2b failed!")
|
|
183
183
|
if not np.array_equal(
|
|
184
184
|
np.round(np.array(mdl2b.getValueVector()), 3),
|
|
185
|
-
np.round(np.array([
|
|
185
|
+
np.round(np.array([367.6724223596708, 381.67249768303293, 470.67273547568027]), 3),
|
|
186
186
|
):
|
|
187
187
|
sys.exit("Model 2b failed!")
|
|
188
188
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|