heidmic / suprb

GNU General Public License v3.0
6 stars 4 forks source link

Parallelize fitness calculation in GA #164

Open RomanSraj opened 2 months ago

heidmic commented 2 months ago

https://github.com/heidmic/suprb/blob/fed97ff19062ba91443f445707587bde906e95a3/suprb/optimizer/solution/base.py#L140

this should be the most efficient place to start. Theoretically, we could also do the other operators in parallel but this should be by far the operation that takes the most compute. It would also improve parallelisation on the other optimizers as it is GA independent