Constraining nuclear weak interactions in astrophysics and new many-core algorithms for neuroevolution