RobertTLange / evosax

Evolution Strategies in JAX 🦎
Apache License 2.0
475 stars 44 forks source link

[Question] Optimizing binary array #66

Open astanziola opened 6 months ago

astanziola commented 6 months ago

First of all, thanks for the amazing library 😄

What's the best way to used it to optimize a binary array? The simplest way I can think about is still to optimize a continuous array, clipped between 0 and 1, and apply tresholding in the fitness function, but perhaps there's a way to directly use boolean arrays?

Thanks!