owlplanner 2025.5.1__py3-none-any.whl → 2025.5.2__py3-none-any.whl
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.
- owlplanner/plan.py +6 -2
- owlplanner/version.py +1 -1
- {owlplanner-2025.5.1.dist-info → owlplanner-2025.5.2.dist-info}/METADATA +1 -1
- {owlplanner-2025.5.1.dist-info → owlplanner-2025.5.2.dist-info}/RECORD +6 -6
- {owlplanner-2025.5.1.dist-info → owlplanner-2025.5.2.dist-info}/WHEEL +0 -0
- {owlplanner-2025.5.1.dist-info → owlplanner-2025.5.2.dist-info}/licenses/LICENSE +0 -0
owlplanner/plan.py
CHANGED
|
@@ -1081,6 +1081,9 @@ class Plan(object):
|
|
|
1081
1081
|
spLo = 1 - self.lambdha
|
|
1082
1082
|
spHi = 1 + self.lambdha
|
|
1083
1083
|
|
|
1084
|
+
oppCostX = options.get("oppCostX", 0.)
|
|
1085
|
+
xnet = 1 - oppCostX/100.
|
|
1086
|
+
|
|
1084
1087
|
tau_ijn = np.zeros((Ni, Nj, Nn))
|
|
1085
1088
|
for i in range(Ni):
|
|
1086
1089
|
for j in range(Nj):
|
|
@@ -1277,7 +1280,7 @@ class Plan(object):
|
|
|
1277
1280
|
row.addElem(_q2(Cd, i, n, Ni, Nn), -fac1 * u.krond(j, 0) * Tau1_ijn[i, 0, n])
|
|
1278
1281
|
row.addElem(
|
|
1279
1282
|
_q2(Cx, i, n, Ni, Nn),
|
|
1280
|
-
-fac1 * (u.krond(j, 2) - u.krond(j, 1)) * Tau1_ijn[i, j, n],
|
|
1283
|
+
-fac1 * (xnet*u.krond(j, 2) - u.krond(j, 1)) * Tau1_ijn[i, j, n],
|
|
1281
1284
|
)
|
|
1282
1285
|
|
|
1283
1286
|
if Ni == 2 and n_d < Nn and i == i_s and n == n_d - 1:
|
|
@@ -1288,7 +1291,7 @@ class Plan(object):
|
|
|
1288
1291
|
row.addElem(_q2(Cd, i_d, n, Ni, Nn), -fac2 * u.krond(j, 0) * Tau1_ijn[i_d, 0, n])
|
|
1289
1292
|
row.addElem(
|
|
1290
1293
|
_q2(Cx, i_d, n, Ni, Nn),
|
|
1291
|
-
-fac2 * (u.krond(j, 2) - u.krond(j, 1)) * Tau1_ijn[i_d, j, n],
|
|
1294
|
+
-fac2 * (xnet*u.krond(j, 2) - u.krond(j, 1)) * Tau1_ijn[i_d, j, n],
|
|
1292
1295
|
)
|
|
1293
1296
|
A.addRow(row, rhs, rhs)
|
|
1294
1297
|
|
|
@@ -1655,6 +1658,7 @@ class Plan(object):
|
|
|
1655
1658
|
"startRothConversions",
|
|
1656
1659
|
"units",
|
|
1657
1660
|
"withMedicare",
|
|
1661
|
+
"oppCostX",
|
|
1658
1662
|
]
|
|
1659
1663
|
# We might modify options if required.
|
|
1660
1664
|
myoptions = dict(options)
|
owlplanner/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "2025.05.
|
|
1
|
+
__version__ = "2025.05.02"
|
|
@@ -2,16 +2,16 @@ owlplanner/__init__.py,sha256=QqrdT0Qks20osBTg7h0vJHAxpP9lL7DA99xb0nYbtw4,254
|
|
|
2
2
|
owlplanner/abcapi.py,sha256=Lt8OUgbrfOPzAw0HyxyT2wT-IXI3d9Zo26MwyqdX56Y,6617
|
|
3
3
|
owlplanner/config.py,sha256=F6GS3n02VeFX0GCVeM4J7Ra0in4N632W6TZIXk7Yj2w,12519
|
|
4
4
|
owlplanner/logging.py,sha256=tYMw04O-XYSzjTj36fmKJGLcE1VkK6k6oJNeqtKXzuc,2530
|
|
5
|
-
owlplanner/plan.py,sha256=
|
|
5
|
+
owlplanner/plan.py,sha256=MiKPvyLE6GQCIz4OgmsMCXsAJEEBfGOyjahGtHVvz9U,119073
|
|
6
6
|
owlplanner/progress.py,sha256=8jlCvvtgDI89zXVNMBg1-lnEyhpPvKQS2X5oAIpoOVQ,384
|
|
7
7
|
owlplanner/rates.py,sha256=gJaoe-gJqWCQV5qVLlHp-Yn9TSJs-PJzeTbOwMCbqWs,15682
|
|
8
8
|
owlplanner/tax2025.py,sha256=JDBtFFAf2bWtKUMuE3W5F0nBhYaKBjmdJj0iayM2iGA,7829
|
|
9
9
|
owlplanner/timelists.py,sha256=tYieZU67FT6TCcQQis36JaXGI7dT6NqD7RvdEjgJL4M,4026
|
|
10
10
|
owlplanner/utils.py,sha256=WpJgn79YZfH8UCkcmhd-AZlxlGuz1i1-UDBRXImsY6I,2485
|
|
11
|
-
owlplanner/version.py,sha256=
|
|
11
|
+
owlplanner/version.py,sha256=UedHid5K_TIr2csXNt34h9ScX8Qk40-BCQcUtqPIwG0,28
|
|
12
12
|
owlplanner/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
13
|
owlplanner/data/rates.csv,sha256=6fxg56BVVORrj9wJlUGFdGXKvOX5r7CSca8uhUbbuIU,3734
|
|
14
|
-
owlplanner-2025.5.
|
|
15
|
-
owlplanner-2025.5.
|
|
16
|
-
owlplanner-2025.5.
|
|
17
|
-
owlplanner-2025.5.
|
|
14
|
+
owlplanner-2025.5.2.dist-info/METADATA,sha256=WBjjlcC7pqqncmR2fN4oE6urUT6nLH042AwKwMix2oA,53926
|
|
15
|
+
owlplanner-2025.5.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
16
|
+
owlplanner-2025.5.2.dist-info/licenses/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
|
|
17
|
+
owlplanner-2025.5.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|