pydmoo 0.1.1__tar.gz → 0.1.2__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.
Files changed (136) hide show
  1. {pydmoo-0.1.1 → pydmoo-0.1.2}/PKG-INFO +1 -1
  2. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/base/core/genetic.py +2 -2
  3. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/base/dmoo/dmoead.py +8 -5
  4. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/base/dmoo/dmoeadde.py +8 -5
  5. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/base/dmoo/dnsga2.py +8 -5
  6. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/base/moo/moead.py +2 -1
  7. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/classic/moead_ae.py +2 -2
  8. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/classic/moead_pps.py +2 -2
  9. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/classic/moeadde_ae.py +2 -2
  10. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/classic/moeadde_pps.py +2 -2
  11. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/classic/nsga2_ae.py +2 -2
  12. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/classic/nsga2_pps.py +2 -2
  13. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/moead_imkt.py +2 -1
  14. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/moead_imkt_igp.py +2 -1
  15. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/moead_imkt_lstm.py +2 -1
  16. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/moead_imkt_n.py +2 -1
  17. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/moead_imkt_n_igp.py +2 -1
  18. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/moead_imkt_n_lstm.py +2 -1
  19. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/moead_ktmm.py +2 -1
  20. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/moeadde_imkt.py +2 -1
  21. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/moeadde_imkt_clstm.py +2 -1
  22. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/moeadde_imkt_igp.py +2 -1
  23. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/moeadde_imkt_lstm.py +2 -1
  24. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/moeadde_imkt_n.py +2 -1
  25. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/moeadde_imkt_n_clstm.py +2 -1
  26. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/moeadde_imkt_n_igp.py +2 -1
  27. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/moeadde_imkt_n_lstm.py +2 -1
  28. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/moeadde_ktmm.py +2 -1
  29. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/nsga2_imkt.py +2 -1
  30. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/nsga2_imkt_clstm.py +2 -1
  31. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/nsga2_imkt_igp.py +2 -1
  32. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/nsga2_imkt_lstm.py +2 -1
  33. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/nsga2_imkt_n.py +2 -1
  34. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/nsga2_imkt_n_clstm.py +2 -1
  35. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/nsga2_imkt_n_igp.py +2 -1
  36. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/nsga2_imkt_n_lstm.py +2 -1
  37. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/nsga2_ktmm.py +2 -1
  38. {pydmoo-0.1.1 → pydmoo-0.1.2}/pyproject.toml +1 -1
  39. {pydmoo-0.1.1 → pydmoo-0.1.2}/uv.lock +1 -1
  40. {pydmoo-0.1.1 → pydmoo-0.1.2}/.gitattributes +0 -0
  41. {pydmoo-0.1.1 → pydmoo-0.1.2}/.github/workflows/docs.yml +0 -0
  42. {pydmoo-0.1.1 → pydmoo-0.1.2}/.github/workflows/publish.yml +0 -0
  43. {pydmoo-0.1.1 → pydmoo-0.1.2}/.github/workflows/release.yml +0 -0
  44. {pydmoo-0.1.1 → pydmoo-0.1.2}/.gitignore +0 -0
  45. {pydmoo-0.1.1 → pydmoo-0.1.2}/.python-version +0 -0
  46. {pydmoo-0.1.1 → pydmoo-0.1.2}/CODE_OF_CONDUCT.md +0 -0
  47. {pydmoo-0.1.1 → pydmoo-0.1.2}/LICENSE +0 -0
  48. {pydmoo-0.1.1 → pydmoo-0.1.2}/README.md +0 -0
  49. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/dev-guide/bug-report.md +0 -0
  50. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/dev-guide/index.md +0 -0
  51. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/dev-guide/pull-request.md +0 -0
  52. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PF/GTS1.png +0 -0
  53. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PF/GTS10.png +0 -0
  54. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PF/GTS11.png +0 -0
  55. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PF/GTS2.png +0 -0
  56. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PF/GTS3.png +0 -0
  57. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PF/GTS4.png +0 -0
  58. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PF/GTS5.png +0 -0
  59. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PF/GTS6.png +0 -0
  60. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PF/GTS7.png +0 -0
  61. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PF/GTS8.png +0 -0
  62. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PF/GTS9.png +0 -0
  63. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PS/GTS1.png +0 -0
  64. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PS/GTS10.png +0 -0
  65. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PS/GTS11.png +0 -0
  66. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PS/GTS2.png +0 -0
  67. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PS/GTS3.png +0 -0
  68. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PS/GTS4.png +0 -0
  69. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PS/GTS5.png +0 -0
  70. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PS/GTS6.png +0 -0
  71. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PS/GTS7.png +0 -0
  72. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PS/GTS8.png +0 -0
  73. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/figs/PS/GTS9.png +0 -0
  74. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/getting-started.md +0 -0
  75. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/index.md +0 -0
  76. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/reference/algorithms/diversity-based.md +0 -0
  77. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/reference/algorithms/index.md +0 -0
  78. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/reference/algorithms/knowledge-based.md +0 -0
  79. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/reference/algorithms/memory-based.md +0 -0
  80. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/reference/algorithms/multi-population-based.md +0 -0
  81. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/reference/algorithms/prediction-based.md +0 -0
  82. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/reference/applications/index.md +0 -0
  83. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/reference/index.md +0 -0
  84. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/reference/metrics/index.md +0 -0
  85. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/reference/problems/benchmarks.md +0 -0
  86. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/reference/problems/index.md +0 -0
  87. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/requirements.txt +0 -0
  88. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/user-guide/algorithms/algorithms.classic.nsga2_ae.md +0 -0
  89. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/user-guide/algorithms/algorithms.classic.nsga2_pps.md +0 -0
  90. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/user-guide/algorithms/algorithms.modern.nsga2_imkt.md +0 -0
  91. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/user-guide/algorithms/algorithms.modern.nsga2_imkt_clstm.md +0 -0
  92. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/user-guide/algorithms/algorithms.modern.nsga2_imkt_lstm.md +0 -0
  93. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/user-guide/algorithms.md +0 -0
  94. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/user-guide/index.md +0 -0
  95. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/user-guide/problems/problems.dyn.md +0 -0
  96. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/user-guide/problems/problems.dynamic.gts.md +0 -0
  97. {pydmoo-0.1.1 → pydmoo-0.1.2}/docs/user-guide/problems.md +0 -0
  98. {pydmoo-0.1.1 → pydmoo-0.1.2}/mkdocs.yml +0 -0
  99. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/__init__.py +0 -0
  100. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/__init__.py +0 -0
  101. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/base/__init__.py +0 -0
  102. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/base/core/__init__.py +0 -0
  103. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/base/core/algorithm.py +0 -0
  104. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/base/dmoo/__init__.py +0 -0
  105. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/base/dmoo/dmopso.py +0 -0
  106. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/base/moo/__init__.py +0 -0
  107. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/base/moo/moeadde.py +0 -0
  108. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/base/moo/mopso.py +0 -0
  109. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/base/moo/nsga2.py +0 -0
  110. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/classic/__init__.py +0 -0
  111. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/modern/__init__.py +0 -0
  112. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/utils/__init__.py +0 -0
  113. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/algorithms/utils/utils.py +0 -0
  114. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/core/__init__.py +0 -0
  115. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/core/ar_model.py +0 -0
  116. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/core/bounds.py +0 -0
  117. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/core/distance.py +0 -0
  118. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/core/inverse.py +0 -0
  119. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/core/lstm/__init__.py +0 -0
  120. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/core/lstm/base.py +0 -0
  121. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/core/lstm/lstm.py +0 -0
  122. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/core/manifold.py +0 -0
  123. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/core/predictions.py +0 -0
  124. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/core/sample_gaussian.py +0 -0
  125. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/core/sample_uniform.py +0 -0
  126. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/core/transfer.py +0 -0
  127. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/problems/__init__.py +0 -0
  128. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/problems/dyn.py +0 -0
  129. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/problems/dynamic/__init__.py +0 -0
  130. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/problems/dynamic/cec2015.py +0 -0
  131. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/problems/dynamic/df.py +0 -0
  132. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/problems/dynamic/gts.py +0 -0
  133. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/problems/real_world/__init__.py +0 -0
  134. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/problems/real_world/dsrp.py +0 -0
  135. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo/problems/real_world/dwbdp.py +0 -0
  136. {pydmoo-0.1.1 → pydmoo-0.1.2}/pydmoo.sublime-project +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pydmoo
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Dynamic Multi-Objective Optimization in Python (pydmoo).
5
5
  Project-URL: Homepage, https://github.com/dynoptimization/pydmoo
6
6
  Project-URL: Repository, https://github.com/dynoptimization/pydmoo
@@ -92,7 +92,7 @@ class GeneticAlgorithm(Algorithm):
92
92
  random_state=self.random_state, algorithm=self, **kwargs)
93
93
 
94
94
  def _infill(self):
95
- # Added by DynOpt on Dec 21, 2025
95
+ # Added by DynOpt Team on Dec 21, 2025
96
96
  pop = self._infill_static_dynamic()
97
97
 
98
98
  # do the mating using the current population
@@ -110,7 +110,7 @@ class GeneticAlgorithm(Algorithm):
110
110
 
111
111
  return off
112
112
 
113
- # Added by DynOpt on Dec 21, 2025
113
+ # Added by DynOpt Team on Dec 21, 2025
114
114
  def _infill_static_dynamic(self):
115
115
  pop = self.pop
116
116
 
@@ -52,7 +52,7 @@ class DMOEAD(MOEAD):
52
52
 
53
53
  start_time = time.time()
54
54
 
55
- pop = self._response_change()
55
+ pop = self._response_mechanism()
56
56
 
57
57
  # reevaluate because we know there was a change
58
58
  self.evaluator.eval(self.problem, pop)
@@ -69,8 +69,9 @@ class DMOEAD(MOEAD):
69
69
 
70
70
  return pop
71
71
 
72
- def _response_change(self):
73
- pass
72
+ def _response_mechanism(self):
73
+ """Response mechanism."""
74
+ raise NotImplementedError
74
75
 
75
76
 
76
77
  class DMOEADA(DMOEAD):
@@ -86,7 +87,8 @@ class DMOEADA(DMOEAD):
86
87
 
87
88
  self.perc_diversity = perc_diversity
88
89
 
89
- def _response_change(self):
90
+ def _response_mechanism(self):
91
+ """Response mechanism."""
90
92
  pop = self.pop
91
93
  X = pop.get("X")
92
94
 
@@ -115,7 +117,8 @@ class DMOEADB(DMOEAD):
115
117
 
116
118
  self.perc_diversity = perc_diversity
117
119
 
118
- def _response_change(self):
120
+ def _response_mechanism(self):
121
+ """Response mechanism."""
119
122
  pop = self.pop
120
123
  X = pop.get("X")
121
124
 
@@ -52,7 +52,7 @@ class DMOEADDE(MOEADDE):
52
52
 
53
53
  start_time = time.time()
54
54
 
55
- pop = self._response_change()
55
+ pop = self._response_mechanism()
56
56
 
57
57
  # reevaluate because we know there was a change
58
58
  self.evaluator.eval(self.problem, pop)
@@ -69,8 +69,9 @@ class DMOEADDE(MOEADDE):
69
69
 
70
70
  return pop
71
71
 
72
- def _response_change(self):
73
- pass
72
+ def _response_mechanism(self):
73
+ """Response mechanism."""
74
+ raise NotImplementedError
74
75
 
75
76
 
76
77
  class DMOEADDEA(DMOEADDE):
@@ -86,7 +87,8 @@ class DMOEADDEA(DMOEADDE):
86
87
 
87
88
  self.perc_diversity = perc_diversity
88
89
 
89
- def _response_change(self):
90
+ def _response_mechanism(self):
91
+ """Response mechanism."""
90
92
  pop = self.pop
91
93
  X = pop.get("X")
92
94
 
@@ -115,7 +117,8 @@ class DMOEADDEB(DMOEADDE):
115
117
 
116
118
  self.perc_diversity = perc_diversity
117
119
 
118
- def _response_change(self):
120
+ def _response_mechanism(self):
121
+ """Response mechanism."""
119
122
  pop = self.pop
120
123
  X = pop.get("X")
121
124
 
@@ -59,7 +59,7 @@ class DNSGA2(NSGA2):
59
59
 
60
60
  start_time = time.time()
61
61
 
62
- pop = self._response_change()
62
+ pop = self._response_mechanism()
63
63
 
64
64
  # reevaluate because we know there was a change
65
65
  self.evaluator.eval(self.problem, pop)
@@ -75,8 +75,9 @@ class DNSGA2(NSGA2):
75
75
 
76
76
  return pop
77
77
 
78
- def _response_change(self):
79
- pass
78
+ def _response_mechanism(self):
79
+ """Response mechanism."""
80
+ raise NotImplementedError
80
81
 
81
82
 
82
83
  class DNSGA2A(DNSGA2):
@@ -92,7 +93,8 @@ class DNSGA2A(DNSGA2):
92
93
 
93
94
  self.perc_diversity = perc_diversity
94
95
 
95
- def _response_change(self):
96
+ def _response_mechanism(self):
97
+ """Response mechanism."""
96
98
  pop = self.pop
97
99
  X = pop.get("X")
98
100
 
@@ -121,7 +123,8 @@ class DNSGA2B(DNSGA2):
121
123
 
122
124
  self.perc_diversity = perc_diversity
123
125
 
124
- def _response_change(self):
126
+ def _response_mechanism(self):
127
+ """Response mechanism."""
125
128
  pop = self.pop
126
129
  X = pop.get("X")
127
130
 
@@ -105,6 +105,7 @@ class MOEAD(LoopwiseAlgorithm, GeneticAlgorithm):
105
105
  self.ideal = np.min(self.pop.get("F"), axis=0)
106
106
 
107
107
  def _next(self):
108
+ # Added by DynOpt Team on Dec 21, 2025
108
109
  pop = self._next_static_dynamic()
109
110
 
110
111
  # iterate for each member of the population in random order
@@ -124,7 +125,7 @@ class MOEAD(LoopwiseAlgorithm, GeneticAlgorithm):
124
125
  # now actually do the replacement of the individual is better
125
126
  self._replace(k, off)
126
127
 
127
- # Added by DynOpt on Dec 21, 2025
128
+ # Added by DynOpt Team on Dec 21, 2025
128
129
  def _next_static_dynamic(self):
129
130
  pop = self.pop
130
131
 
@@ -21,8 +21,8 @@ class MOEADAE(DMOEAD):
21
21
 
22
22
  super().__init__(**kwargs)
23
23
 
24
- def _response_change(self):
25
- """Response."""
24
+ def _response_mechanism(self):
25
+ """Response mechanism."""
26
26
  pop = self.pop
27
27
  X = pop.get("X")
28
28
 
@@ -25,8 +25,8 @@ class MOEADPPS(DMOEAD):
25
25
  self.p = 3 # the order of the AR model
26
26
  self.M = 23 # the length of history mean point series
27
27
 
28
- def _response_change(self):
29
- """Response."""
28
+ def _response_mechanism(self):
29
+ """Response mechanism."""
30
30
  pop = self.pop
31
31
  X = pop.get("X")
32
32
 
@@ -21,8 +21,8 @@ class MOEADDEAE(DMOEADDE):
21
21
 
22
22
  super().__init__(**kwargs)
23
23
 
24
- def _response_change(self):
25
- """Response."""
24
+ def _response_mechanism(self):
25
+ """Response mechanism."""
26
26
  pop = self.pop
27
27
  X = pop.get("X")
28
28
 
@@ -25,8 +25,8 @@ class MOEADDEPPS(DMOEADDE):
25
25
  self.p = 3 # the order of the AR model
26
26
  self.M = 23 # the length of history mean point series
27
27
 
28
- def _response_change(self):
29
- """Response."""
28
+ def _response_mechanism(self):
29
+ """Response mechanism."""
30
30
  pop = self.pop
31
31
  X = pop.get("X")
32
32
 
@@ -20,8 +20,8 @@ class NSGA2AE(DNSGA2):
20
20
 
21
21
  super().__init__(**kwargs)
22
22
 
23
- def _response_change(self):
24
- """Response."""
23
+ def _response_mechanism(self):
24
+ """Response mechanism."""
25
25
  pop = self.pop
26
26
  X = pop.get("X")
27
27
 
@@ -25,8 +25,8 @@ class NSGA2PPS(DNSGA2):
25
25
  self.p = 3 # the order of the AR model
26
26
  self.M = 23 # the length of history mean point series
27
27
 
28
- def _response_change(self):
29
- """Response."""
28
+ def _response_mechanism(self):
29
+ """Response mechanism."""
30
30
  pop = self.pop
31
31
  X = pop.get("X")
32
32
 
@@ -19,7 +19,8 @@ class MOEADIMKT(MOEADKTMM):
19
19
  self.size_pool = 10
20
20
  self.denominator = 0.5
21
21
 
22
- def _response_change(self):
22
+ def _response_mechanism(self):
23
+ """Response mechanism."""
23
24
  pop = self.pop
24
25
  X = pop.get("X")
25
26
 
@@ -16,7 +16,8 @@ class MOEADIMKTIGP(MOEADIMKT):
16
16
  self.sigma_n = 0.01
17
17
  self.sigma_n_2 = self.sigma_n ** 2
18
18
 
19
- def _response_change(self):
19
+ def _response_mechanism(self):
20
+ """Response mechanism."""
20
21
  pop = self.pop
21
22
  X = pop.get("X")
22
23
 
@@ -42,7 +42,8 @@ class MOEADIMLSTM(MOEADIMKT):
42
42
  incremental_learning=self._incremental_learning,
43
43
  )
44
44
 
45
- def _response_change(self):
45
+ def _response_mechanism(self):
46
+ """Response mechanism."""
46
47
  pop = self.pop
47
48
  X = pop.get("X")
48
49
 
@@ -19,7 +19,8 @@ class MOEADIMKTN(MOEADIMKT):
19
19
  self.size_pool = 10
20
20
  self.denominator = 0.5
21
21
 
22
- def _response_change(self):
22
+ def _response_mechanism(self):
23
+ """Response mechanism."""
23
24
  pop = self.pop
24
25
  X = pop.get("X")
25
26
 
@@ -16,7 +16,8 @@ class MOEADIMKTNIGP(MOEADIMKTN):
16
16
  self.sigma_n = 0.01
17
17
  self.sigma_n_2 = self.sigma_n ** 2
18
18
 
19
- def _response_change(self):
19
+ def _response_mechanism(self):
20
+ """Response mechanism."""
20
21
  pop = self.pop
21
22
  X = pop.get("X")
22
23
 
@@ -43,7 +43,8 @@ class MOEADIMNLSTM(MOEADIMKTN):
43
43
  incremental_learning=self._incremental_learning,
44
44
  )
45
45
 
46
- def _response_change(self):
46
+ def _response_mechanism(self):
47
+ """Response mechanism."""
47
48
  pop = self.pop
48
49
  X = pop.get("X")
49
50
 
@@ -22,7 +22,8 @@ class MOEADKTMM(DMOEAD):
22
22
  self.size_pool = 14 # the size of knowledge pool
23
23
  self.denominator = 0.5
24
24
 
25
- def _response_change(self):
25
+ def _response_mechanism(self):
26
+ """Response mechanism."""
26
27
  pop = self.pop
27
28
  X = pop.get("X")
28
29
 
@@ -19,7 +19,8 @@ class MOEADDEIMKT(MOEADDEKTMM):
19
19
  self.size_pool = 10
20
20
  self.denominator = 0.5
21
21
 
22
- def _response_change(self):
22
+ def _response_mechanism(self):
23
+ """Response mechanism."""
23
24
  pop = self.pop
24
25
  X = pop.get("X")
25
26
 
@@ -36,7 +36,8 @@ class MOEADDEIMcLSTM(MOEADDEIMKT):
36
36
  incremental_learning=self._incremental_learning,
37
37
  )
38
38
 
39
- def _response_change(self):
39
+ def _response_mechanism(self):
40
+ """Response mechanism."""
40
41
  pop = self.pop
41
42
  X = pop.get("X")
42
43
 
@@ -16,7 +16,8 @@ class MOEADDEIMKTIGP(MOEADDEIMKT):
16
16
  self.sigma_n = 0.01
17
17
  self.sigma_n_2 = self.sigma_n ** 2
18
18
 
19
- def _response_change(self):
19
+ def _response_mechanism(self):
20
+ """Response mechanism."""
20
21
  pop = self.pop
21
22
  X = pop.get("X")
22
23
 
@@ -42,7 +42,8 @@ class MOEADDEIMLSTM(MOEADDEIMKT):
42
42
  incremental_learning=self._incremental_learning,
43
43
  )
44
44
 
45
- def _response_change(self):
45
+ def _response_mechanism(self):
46
+ """Response mechanism."""
46
47
  pop = self.pop
47
48
  X = pop.get("X")
48
49
 
@@ -19,7 +19,8 @@ class MOEADDEIMKTN(MOEADDEIMKT):
19
19
  self.size_pool = 10
20
20
  self.denominator = 0.5
21
21
 
22
- def _response_change(self):
22
+ def _response_mechanism(self):
23
+ """Response mechanism."""
23
24
  pop = self.pop
24
25
  X = pop.get("X")
25
26
 
@@ -37,7 +37,8 @@ class MOEADDEIMNcLSTM(MOEADDEIMKTN):
37
37
  incremental_learning=self._incremental_learning,
38
38
  )
39
39
 
40
- def _response_change(self):
40
+ def _response_mechanism(self):
41
+ """Response mechanism."""
41
42
  pop = self.pop
42
43
  X = pop.get("X")
43
44
 
@@ -16,7 +16,8 @@ class MOEADDEIMKTNIGP(MOEADDEIMKTN):
16
16
  self.sigma_n = 0.01
17
17
  self.sigma_n_2 = self.sigma_n ** 2
18
18
 
19
- def _response_change(self):
19
+ def _response_mechanism(self):
20
+ """Response mechanism."""
20
21
  pop = self.pop
21
22
  X = pop.get("X")
22
23
 
@@ -43,7 +43,8 @@ class MOEADDEIMNLSTM(MOEADDEIMKTN):
43
43
  incremental_learning=self._incremental_learning,
44
44
  )
45
45
 
46
- def _response_change(self):
46
+ def _response_mechanism(self):
47
+ """Response mechanism."""
47
48
  pop = self.pop
48
49
  X = pop.get("X")
49
50
 
@@ -22,7 +22,8 @@ class MOEADDEKTMM(DMOEADDE):
22
22
  self.size_pool = 14 # the size of knowledge pool
23
23
  self.denominator = 0.5
24
24
 
25
- def _response_change(self):
25
+ def _response_mechanism(self):
26
+ """Response mechanism."""
26
27
  pop = self.pop
27
28
  X = pop.get("X")
28
29
 
@@ -19,7 +19,8 @@ class NSGA2IMKT(NSGA2KTMM):
19
19
  self.size_pool = 10
20
20
  self.denominator = 0.5
21
21
 
22
- def _response_change(self):
22
+ def _response_mechanism(self):
23
+ """Response mechanism."""
23
24
  """Inverse Modeling with Knowledge Transfer."""
24
25
  pop = self.pop
25
26
  X = pop.get("X")
@@ -36,7 +36,8 @@ class NSGA2IMcLSTM(NSGA2IMKT):
36
36
  incremental_learning=self._incremental_learning,
37
37
  )
38
38
 
39
- def _response_change(self):
39
+ def _response_mechanism(self):
40
+ """Response mechanism."""
40
41
  pop = self.pop
41
42
  X = pop.get("X")
42
43
 
@@ -16,7 +16,8 @@ class NSGA2IMKTIGP(NSGA2IMKT):
16
16
  self.sigma_n = 0.01
17
17
  self.sigma_n_2 = self.sigma_n ** 2
18
18
 
19
- def _response_change(self):
19
+ def _response_mechanism(self):
20
+ """Response mechanism."""
20
21
  pop = self.pop
21
22
  X = pop.get("X")
22
23
 
@@ -41,7 +41,8 @@ class NSGA2IMLSTM(NSGA2IMKT):
41
41
  incremental_learning=self._incremental_learning,
42
42
  )
43
43
 
44
- def _response_change(self):
44
+ def _response_mechanism(self):
45
+ """Response mechanism."""
45
46
  pop = self.pop
46
47
  X = pop.get("X")
47
48
 
@@ -19,7 +19,8 @@ class NSGA2IMKTN(NSGA2IMKT):
19
19
  self.size_pool = 10
20
20
  self.denominator = 0.5
21
21
 
22
- def _response_change(self):
22
+ def _response_mechanism(self):
23
+ """Response mechanism."""
23
24
  pop = self.pop
24
25
  X = pop.get("X")
25
26
 
@@ -37,7 +37,8 @@ class NSGA2IMNcLSTM(NSGA2IMKTN):
37
37
  incremental_learning=self._incremental_learning,
38
38
  )
39
39
 
40
- def _response_change(self):
40
+ def _response_mechanism(self):
41
+ """Response mechanism."""
41
42
  pop = self.pop
42
43
  X = pop.get("X")
43
44
 
@@ -16,7 +16,8 @@ class NSGA2IMKTNIGP(NSGA2IMKTN):
16
16
  self.sigma_n = 0.01
17
17
  self.sigma_n_2 = self.sigma_n ** 2
18
18
 
19
- def _response_change(self):
19
+ def _response_mechanism(self):
20
+ """Response mechanism."""
20
21
  pop = self.pop
21
22
  X = pop.get("X")
22
23
 
@@ -42,7 +42,8 @@ class NSGA2IMNLSTM(NSGA2IMKTN):
42
42
  incremental_learning=self._incremental_learning,
43
43
  )
44
44
 
45
- def _response_change(self):
45
+ def _response_mechanism(self):
46
+ """Response mechanism."""
46
47
  pop = self.pop
47
48
  X = pop.get("X")
48
49
 
@@ -22,7 +22,8 @@ class NSGA2KTMM(DNSGA2):
22
22
  self.size_pool = 14 # the size of knowledge pool
23
23
  self.denominator = 0.5
24
24
 
25
- def _response_change(self):
25
+ def _response_mechanism(self):
26
+ """Response mechanism."""
26
27
  pop = self.pop
27
28
  X = pop.get("X")
28
29
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pydmoo"
3
- version = "0.1.1"
3
+ version = "0.1.2"
4
4
  description = "Dynamic Multi-Objective Optimization in Python (pydmoo)."
5
5
  license = {text = "GPL-3.0-or-later"}
6
6
  license-files = ["LICENSE"]
@@ -1325,7 +1325,7 @@ wheels = [
1325
1325
 
1326
1326
  [[package]]
1327
1327
  name = "pydmoo"
1328
- version = "0.1.1"
1328
+ version = "0.1.2"
1329
1329
  source = { editable = "." }
1330
1330
  dependencies = [
1331
1331
  { name = "matplotlib" },
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
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
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
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes