rzshrote / pybrops

Python Breeding Optimizer and Simulator: A Python library for simulating and optimizing breeding pipelines.
https://rzshrote.github.io/pybrops/
MIT License
2 stars 1 forks source link

Create a unified method/architecture of handling optimization constraints #72

Closed rzshrote closed 1 year ago

rzshrote commented 1 year ago

Currently, constraint handling in the selection protocol classes is nascent. One can apply a penalty function, but this is not very elegant. Consider a change in architecture for the selection protocol class family and/or the optimization algorithm class family.

rzshrote commented 1 year ago

Latest update to this is to use the PyMOO package to handle constraints. Constraints are stored in a Problem object.