Closed cypark0411 closed 4 years ago
Your codes are very helpful to solve my projects.
While I applied your code, I found a typo that you might know already.
Typo part: de.py -> class DE -> def solve
'return' might be changed as follows:
Original code: return self.denormalize(P[idx].reshape(-1, 1)), fitness[idx]
Fixed: return self.denormalize(P[idx].reshape(1, -1)), fitness[idx]
Fixed in v1.1.0. Thanks!
Your codes are very helpful to solve my projects.
While I applied your code, I found a typo that you might know already.
Typo part: de.py -> class DE -> def solve
'return' might be changed as follows:
Original code: return self.denormalize(P[idx].reshape(-1, 1)), fitness[idx]
Fixed: return self.denormalize(P[idx].reshape(1, -1)), fitness[idx]