esa / pagmo2

A C++ platform to perform parallel computations of optimisation tasks (global and local) via the asynchronous generalized island model.
https://esa.github.io/pagmo2/
GNU General Public License v3.0
804 stars 159 forks source link

Bounds checking for initial population in optimizers evolve process #568

Open Dave-Poissant opened 4 months ago

Dave-Poissant commented 4 months ago

Bounds checking of initial population is important since a population might be set by the user, and not randomly generated between bounds. An example of problem that this could cause is described in this issue https://github.com/esa/pagmo2/issues/567 .

  1. Added bounds checking in most optimizers for initial population
  2. Added tests for most optimizers for bounds checking for initial population