esa / pygmo2

A Python platform to perform parallel computations of optimisation tasks (global and local) via the asynchronous generalized island model.
https://esa.github.io/pygmo2/
Mozilla Public License 2.0
442 stars 56 forks source link

Expose crossover and mutation C++ operators in Python #43

Closed MLopez-Ibanez closed 4 years ago

MLopez-Ibanez commented 4 years ago

Would it be possible to expose the various crossover and mutation operators in Python:

Crossover: four different crossover schemes are provided:single, exponential, binomial, sbx. Mutation: three different mutations schemes are provided: uniform, gaussian and polynomial.

https://esa.github.io/pygmo2/algorithms.html?highlight=sbx

We would like to reuse them to implement our own UDAs.

bluescarni commented 4 years ago

I have partially replied to this in esa/pagmo2#419. Before being able to expose the operators, we need to implement them on the C++ side.

MLopez-Ibanez commented 4 years ago

I have partially replied to this in esa/pagmo2#419. Before being able to expose the operators, we need to implement them on the C++ side.

Just a note that they are now implemented on the C++ side, so this could move forward.

MLopez-Ibanez commented 4 years ago

Hi,

What is stopping this to be merged and closed?

darioizzo commented 4 years ago

I assume you refer to the PR #51. The review from @bluescarni needs to be implemented. See the PR.

bluescarni commented 4 years ago

51 has been merged, I will go ahead and close this report.