pyfemtet 0.6.1__py3-none-any.whl → 0.6.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.
Potentially problematic release.
This version of pyfemtet might be problematic. Click here for more details.
- pyfemtet/__init__.py +1 -1
- pyfemtet/opt/_femopt.py +4 -4
- pyfemtet/opt/optimizer/_base.py +1 -1
- {pyfemtet-0.6.1.dist-info → pyfemtet-0.6.2.dist-info}/METADATA +1 -1
- {pyfemtet-0.6.1.dist-info → pyfemtet-0.6.2.dist-info}/RECORD +8 -8
- {pyfemtet-0.6.1.dist-info → pyfemtet-0.6.2.dist-info}/LICENSE +0 -0
- {pyfemtet-0.6.1.dist-info → pyfemtet-0.6.2.dist-info}/WHEEL +0 -0
- {pyfemtet-0.6.1.dist-info → pyfemtet-0.6.2.dist-info}/entry_points.txt +0 -0
pyfemtet/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.6.
|
|
1
|
+
__version__ = "0.6.2"
|
pyfemtet/opt/_femopt.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# built-in
|
|
2
2
|
import inspect
|
|
3
3
|
import warnings
|
|
4
|
-
from typing import Optional, Any, Callable, List
|
|
4
|
+
from typing import Optional, Any, Callable, List, Sequence, SupportsFloat
|
|
5
5
|
import os
|
|
6
6
|
import datetime
|
|
7
7
|
from time import time, sleep
|
|
@@ -365,10 +365,10 @@ class FEMOpt:
|
|
|
365
365
|
|
|
366
366
|
def add_objectives(
|
|
367
367
|
self,
|
|
368
|
-
fun: Callable[[Any],
|
|
368
|
+
fun: Callable[[Any], Sequence[SupportsFloat]],
|
|
369
369
|
n_return: int,
|
|
370
|
-
names: str or
|
|
371
|
-
directions: str or
|
|
370
|
+
names: str or Sequence[str] or None = None,
|
|
371
|
+
directions: str or Sequence[str] or None = None,
|
|
372
372
|
args: tuple or None = None,
|
|
373
373
|
kwargs: dict or None = None,
|
|
374
374
|
):
|
pyfemtet/opt/optimizer/_base.py
CHANGED
|
@@ -129,7 +129,7 @@ class AbstractOptimizer(ABC):
|
|
|
129
129
|
self.fem_class = None
|
|
130
130
|
self.fem_kwargs = dict()
|
|
131
131
|
self.variables: ExpressionEvaluator = ExpressionEvaluator()
|
|
132
|
-
self.objectives: dict[str,
|
|
132
|
+
self.objectives: dict[str, Objective] = dict()
|
|
133
133
|
self.constraints: dict[str, Constraint] = dict()
|
|
134
134
|
self.entire_status = None # actor
|
|
135
135
|
self.history = None # actor
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
pyfemtet/__init__.py,sha256=
|
|
1
|
+
pyfemtet/__init__.py,sha256=d7NGuoje3vHyudKIFR_PmfKozIOKDFvAhGx0QXiyuMw,21
|
|
2
2
|
pyfemtet/_message/1. make_pot.bat,sha256=oS38xYsaUnQAuKwUR8hZJFgt3AKBU993fWFDSg2ROz4,570
|
|
3
3
|
pyfemtet/_message/2. make_mo.bat,sha256=nqUi3Cze7JGKkYItlch8ZG2gSbRNZiS2ltuCS7DbmG8,154
|
|
4
4
|
pyfemtet/_message/__init__.py,sha256=gE1-XX_PzHj9BbhqPaK5VcIHuv6_Tec5qlPMC3IRiBg,100
|
|
@@ -13,7 +13,7 @@ pyfemtet/dispatch_extensions/_impl.py,sha256=HU7rKRAzEe5yYukWrKtdi1aIbUas_kLyaa_
|
|
|
13
13
|
pyfemtet/logger/__init__.py,sha256=DZNTD9BboiFU9LOiyPKi_Y6gWAga5f1lWkVoq7LV_y0,71
|
|
14
14
|
pyfemtet/logger/_impl.py,sha256=ZN5Rj3kb9UEGFt5KSLlzwfrLF_SAoOxgPBkadwh2Y8w,2825
|
|
15
15
|
pyfemtet/opt/__init__.py,sha256=wRR8LbEhb5I6MUgmnCgjB6-tqHlOVxDIo7yPkq0QbBs,758
|
|
16
|
-
pyfemtet/opt/_femopt.py,sha256=
|
|
16
|
+
pyfemtet/opt/_femopt.py,sha256=v9qnH9e99nSFhxOwgkf45_i4f84SyV5ExfNr9fFgl6k,36666
|
|
17
17
|
pyfemtet/opt/_femopt_core.py,sha256=Sn13SI1r5OvSu6C9XjkqTrFz2IgO_vMszIAgA-gx-TU,34348
|
|
18
18
|
pyfemtet/opt/_test_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
19
|
pyfemtet/opt/_test_utils/control_femtet.py,sha256=Oy2MmNS-LhUXF9rKLa8AXAfJhppIQI8Nha8LmEZflmk,1169
|
|
@@ -28,7 +28,7 @@ pyfemtet/opt/interface/_femtet_with_nx/_interface.py,sha256=BXWdzIFcId1EovpbRD5D
|
|
|
28
28
|
pyfemtet/opt/interface/_femtet_with_nx/update_model.py,sha256=P7VH0i_o-X9OUe6AGaLF1fACPeHNrMjcrOBCA3MMrI4,3092
|
|
29
29
|
pyfemtet/opt/interface/_femtet_with_sldworks.py,sha256=NeNw1sqAL_kOrmrrcljrPwi_hBSA-LRU9MOqI_pjQXs,6836
|
|
30
30
|
pyfemtet/opt/optimizer/__init__.py,sha256=Ia6viowECkG0IFXtFef0tJ4jDKsoDzJLqMJ9xLFH2LQ,543
|
|
31
|
-
pyfemtet/opt/optimizer/_base.py,sha256=-
|
|
31
|
+
pyfemtet/opt/optimizer/_base.py,sha256=-vfJ42GzofjVOB9-Cpf7J5fnuQ6fjZsAgozkMf1Ba6s,12147
|
|
32
32
|
pyfemtet/opt/optimizer/_optuna/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
33
33
|
pyfemtet/opt/optimizer/_optuna/_botorch_patch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
34
34
|
pyfemtet/opt/optimizer/_optuna/_botorch_patch/enable_nonlinear_constraint.py,sha256=2hUP2c8mokkRaSQ8nXxgCCmz8e0JKvEz8R2qIGnTGm0,8863
|
|
@@ -112,8 +112,8 @@ pyfemtet/opt/visualization/result_viewer/.gitignore,sha256=ryvb4aqbbsHireHWlPQfx
|
|
|
112
112
|
pyfemtet/opt/visualization/result_viewer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
113
113
|
pyfemtet/opt/visualization/result_viewer/application.py,sha256=WcHBx_J5eNLKSaprpk9BGifwhO04oN8FiNGYTWorrXA,1691
|
|
114
114
|
pyfemtet/opt/visualization/result_viewer/pages.py,sha256=laEAKHAtdshCAHxgXo-zMNg3RP6lCxfszO3XwLnF1dU,32156
|
|
115
|
-
pyfemtet-0.6.
|
|
116
|
-
pyfemtet-0.6.
|
|
117
|
-
pyfemtet-0.6.
|
|
118
|
-
pyfemtet-0.6.
|
|
119
|
-
pyfemtet-0.6.
|
|
115
|
+
pyfemtet-0.6.2.dist-info/LICENSE,sha256=sVQBhyoglGJUu65-BP3iR6ujORI6YgEU2Qm-V4fGlOA,1485
|
|
116
|
+
pyfemtet-0.6.2.dist-info/METADATA,sha256=e2iOiF_a7eF57VrVUBinZJQszajDEKS6RTzf0FNDJi0,3287
|
|
117
|
+
pyfemtet-0.6.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
118
|
+
pyfemtet-0.6.2.dist-info/entry_points.txt,sha256=ZfYqRaoiPtuWqFi2_msccyrVF0LurMn-IHlYamAegZo,104
|
|
119
|
+
pyfemtet-0.6.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|