I need to try several boundary constraint-handling methods in Differential Evolution, so I would like to know how to modify the original differential_evolution scipy algorith, is that possible?
Asked
Active
Viewed 69 times
-2
-
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – user11717481 Sep 20 '22 at 23:22
1 Answers
0
scipy.optimize.differential_evolution
already has simple box-bounds, as well as NonlinearConstraint
and LinearConstraint
. The latter two use the Lampinen approach.
If you wish to experiment with other constraint mechanisms you will probably have to modify the scipy
source code directly.

Andrew Nelson
- 460
- 3
- 11