-2

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?

1 Answers1

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